Bug 151336 - Wrong cursor placement when moving past LTR to RTL paragraph
Summary: Wrong cursor placement when moving past LTR to RTL paragraph
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords: needsDevEval
Depends on:
Blocks: RTL-UI
  Show dependency treegraph
 
Reported: 2022-10-04 15:22 UTC by Eyal Rozenberg
Modified: 2022-10-21 19:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Presentation for easy reproduction of the bug (14.21 KB, application/vnd.oasis.opendocument.presentation)
2022-10-04 15:24 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-10-04 15:22:41 UTC
Reproduction instruction:

1. Create a new Impress presentation
2. Add two paragraphs with text to the main textbox on the first slide (e.g. "LTR paragraph" and "RTL paragraph" respectively.
3. Switch the second paragraph's direction to RTL
4. Place cursor in the first paragraph, one character before the end.
5. Press the right arrow key.
6. Press the right arrow key.

Expected results: The cursor should be - logically and visually - at the start of the second paragraph (i.e. on the right edge of its single line). This is what happens in Writer.

Actual results: The cursor is on the left edge of the second paragraph's single line.
Comment 1 Eyal Rozenberg 2022-10-04 15:24:51 UTC
Created attachment 182828 [details]
Presentation for easy reproduction of the bug

In this presentation, just perform the cursor placement and movement from the first to the second paragraph.