[Bug 164492] Caret direction-indicator does not respect keyboard layout
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 10 14:46:48 UTC 2025
https://bugs.documentfoundation.org/show_bug.cgi?id=164492
--- Comment #6 from Eyal Rozenberg <eyalroz1 at gmx.com> ---
(In reply to Mike Kaganski from comment #5)
> Keyboard layout does not define directly directionality of a character
> entered using it.
1. Not define completely, but define typically.
2. I didn't base my argument on the keyboard layout defining the direction.
Although... maybe I need to give some more though to what the caret direction
should reflect. Maybe it actually is a good idea for it to reflect the keyboard
layout typical-direction.
> Additionally, I do not see the direction-indicator as
> "what *will* appear", but rather "what *already is* the direction in the
> caret position".
The caret is not covering a character, so there isn't a direction in the caret
position - unless you mean the paragraph direction. But - we already have an
indicator for the paragraph direction. What's useful about the cursor direction
detection is that it can tell you position-specific things; or perhaps,
keyboard-layout-dependent things - stuff that you don't see by looking at the
paragraph itself.
(In reply to Heiko Tietze from comment #3)
> (In reply to Eyal Rozenberg from comment #2)
> > What matter is where, relative to the caret, the sequence of characters
> > would extend to.
> And that is exactly what we do.
In some cases (as you've demonstrated with the screencast); and in some cases,
we don't, as the reproduction instructions demonstrate.
But this aside, I may need to rethink things a bit, as I've written Mike above.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list