Bug 150952 - Cursor movement across table column only "stops" once in an RTL column
Summary: Cursor movement across table column only "stops" once in an RTL column
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-UI
  Show dependency treegraph
 
Reported: 2022-09-14 09:59 UTC by Eyal Rozenberg
Modified: 2023-02-16 14:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Presentation for easily experiencing the bug (24.27 KB, application/vnd.oasis.opendocument.presentation)
2022-09-14 10:04 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-09-14 09:59:33 UTC
(This is the Impress equivalent of bug 32531)

When moving in the same direction across text in an LTR table, and passing via a single RTL column, the cursor will only pass one position in the RTL column - to the left of all of the text - and proceed to move to the next LTR column.

To reproduce:

1. Create a new impress presentation.
2. Be in an LTR slide.
3. Add a table with at least 3 columns (double-check they are LTR).
4. Choose a row and add some text to each column of that row (e.g. "hello").
5. Make the second leftmost colum RTL, e.g. by selecting the whole column and pressing the RTL paragraph button on the toolbar.
6. Place the cursor at the leftmost point in the leftmost column, in your chosen row with the text.
7. Repeatedly move the cursor to the right using the right arrow key.
8. Note the sequence of cursor positions.

Expected: The cursor traverses all points between characters in each of the columns as well as the left and right sides of the text in each column.


Actual: The cursor reaches the left side position in the RTL column as expected, then continues to the left side position on the next LTR column to its right. The rest of the traversal is as expected.
Comment 1 Eyal Rozenberg 2022-09-14 10:04:20 UTC
Created attachment 182436 [details]
Presentation for easily experiencing the bug

This presentation has a table with one RTL column, and text in every column. Move the cursor from the leftmost character rightwards to experience the bug.
Comment 2 Buovjaga 2023-02-14 18:56:23 UTC
I reproduce. I don't know about the meta bug, because this can be reproduced in a non-RTL UI (not having to use SAL_RTL_ENABLED=1).

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9ee1b714c13db308c199172ffa0199405ca3d9c3
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 14 February 2023
Comment 3 Buovjaga 2023-02-14 18:57:24 UTC
Seen in 3.5 as well, so probably inherited.
Comment 4 Eyal Rozenberg 2023-02-14 20:08:52 UTC
> I don't know about the meta bug, because this can be reproduced in a non-RTL UI 

Ok, switching to the more general meta-bug.