Bug 164492 - Caret direction-indicator does not respect keyboard layout
Summary: Caret direction-indicator does not respect keyboard layout
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Text-Cursor RTL-UI
  Show dependency treegraph
 
Reported: 2024-12-27 20:30 UTC by Eyal Rozenberg
Modified: 2024-12-27 20:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Document with English & Arabic for moving the caret around (10.74 KB, application/vnd.oasis.opendocument.text)
2024-12-27 20:30 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2024-12-27 20:30:34 UTC
Created attachment 198297 [details]
Document with English & Arabic for moving the caret around

The caret in Libreoffice sometimes (but not always) presents with a direction indicator.

Now, suppose I:

1. Set the paragraph direction to LTR
2.  Type the text "abضcd" (i.e. type a, then b, then Arabic Dad ض, then c, then d)
3. Move back two characters, so that I am past the ض but before the c; the caret is now  to the left of the ض, and shows a direction indicator.
4. Switch the keyboard layout back and forth between an LTR layout and an RTL layout (e.g. English and Arabic)

Expected results:
The caret direction indicator switches back and forth from pointing left to pointing right (or from pointing left to not appearing, with the caret being straight and symmetric).

Actual results:
The caret direction indicator remains pointing due left regardless of the keyboard layout change.

The direction indicator should point in "the direction in which you're typing", which in our case is due left of the ض after step (3.), but changes back and forth in step (4.) .


The attached document has text from step (2.), both in the body and in a textbox.