Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor text editing UX #1

Open
endorh opened this issue Feb 3, 2023 · 1 comment
Open

Poor text editing UX #1

endorh opened this issue Feb 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working inactive This issue is not being actively worked on, comment to request attention or share insights

Comments

@endorh
Copy link
Owner

endorh commented Feb 3, 2023

Depending on the active theme, editing text in any text field may present the following problems:

  1. The caret becomes invisible at times. It's not certain which are the exact conditions to reproduce, but it's a frequent problem
  2. The font weight displaces hit calculations for mouse clicks, making selecting text/moving the caret with the mouse a challenge
  3. Some text fields, including the Algebra input fail to scroll horizontally to display the caret position if at the end of a long enough string (probably related to the calculation displacements caused by the font weight)
  4. Caret movement is unnatural:
    • Moving the caret with arrow keys without holding Shift moves the caret immediately relatively to its position (along with the anchor), instead of placing the caret (and the anchor) at the corresponding end of the selection
    • Word wrapping movements (holding Ctrl) sometimes behave undesirably

Issue (4) makes issue (1) more severe, and (2) makes the only workaround to (1) a wonky mess.

@endorh endorh added the bug Something isn't working label Feb 3, 2023
@endorh endorh self-assigned this Feb 3, 2023
@endorh
Copy link
Owner Author

endorh commented Feb 3, 2023

This probably requires making changes/reimplementing the text fields altogether.

However, from my memory, the implementation of the algebra input field is quite convoluted, and I cannot currently invest any time on this. Feel free to comment/react if this issue affects you, so I can give it some priority.

For now, the easiest workaround is using Shift + Arrow L/R to move the caret with selection in order to see the caret when it disappears.

@endorh endorh added the inactive This issue is not being actively worked on, comment to request attention or share insights label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working inactive This issue is not being actively worked on, comment to request attention or share insights
Projects
None yet
Development

No branches or pull requests

1 participant