Bug 167530 - Weird beginning-of-last-visible-column rendering with RTL locale
Summary: Weird beginning-of-last-visible-column rendering with RTL locale
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Borders RTL-UI
  Show dependency treegraph
 
Reported: 2025-07-16 20:11 UTC by Eyal Rozenberg
Modified: 2025-07-16 20:24 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Calc 26.2 before-and-after direction switch (139.14 KB, image/png)
2025-07-16 20:21 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-07-16 20:11:14 UTC
Reproduction instructions:

1. Make your display 1920x1080
2. Switch your LO UI locale to an RTL one, say Hebrew
3. Start LO Calc
4. Maximize the Window
5. Note the active cell coordinates (and maybe choose some cell to be active)
6. On the menus, choose דפים (i.e. Page), and toggle מימין לשמאל (i.e. Right-to-Left), to switch the sheet direction.
7. Set a cell on a different row and column to be the active cell

Expected result: 
At step (3.), the sheet should be LTR (otherwise change the default direction so that it is, and restart the procedure).
Before step (6.), there is a certain number of columns which are fully visible, and (at least on my system) no column which is partially-visible. After step (6.), even if some column becomes partially-visible, it should simply look like the column next to it - empty interior, no special patterns or coloring.

Actual result:
Step (3.) and before step (6.) - same as expected.
After step (6.), 
* a bit of an additional column is barely-visible, column W (this may or may not be a bug).
* The left edge of the visible part of the column W cell, on the row which had the active cell during the switch, has jagged blue coloring, reminiscent of the active cell border coloring - touching the scrollbar.
* Other cells in column W, but not all cells, have one or two black dots at the left edge of the cell, touchign the scrollbar - as though some content was being hidden by the scrollbar.

Will attach before-and-after screenshots.
Comment 1 Eyal Rozenberg 2025-07-16 20:21:15 UTC
Created attachment 201824 [details]
Calc 26.2 before-and-after direction switch

Seen with:

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7ef1c437f30b0869a5b9fa33809bac2c6665ace3
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: CL threaded
Comment 2 Eyal Rozenberg 2025-07-16 20:24:03 UTC
Step (6.) in comment #0 said the direction switch is on the Page menu; it's actually on the Sheet menu, sorry.