Bug 148870 - Comments on RTL sheet are off the right edge of the screen
Summary: Comments on RTL sheet are off the right edge of the screen
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: RTL-CTL Calc-Comments
  Show dependency treegraph
Reported: 2022-04-30 22:24 UTC by greenblatt777
Modified: 2023-02-23 09:18 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

we see yellow comment window (14.38 KB, image/png)
2022-10-24 23:11 UTC, greenblatt777
here no yellow window appears (19.50 KB, image/png)
2022-10-24 23:12 UTC, greenblatt777

Note You need to log in before you can comment on or make changes to this bug.
Description greenblatt777 2022-04-30 22:24:08 UTC
To Reproduce:
1. Change Windows system language to Hebrew, so that Add Sheets creates RTL sheets.
2. File -> New -> Spreadsheet. Sheet will be RTL. Click plus sign at bottom to add sheet.
3. While still in Sheet2, select a cell.
4. Ctrl+Alt+C to add a comment.

Expected Behavior: Yellow pop-up window to add comment.
Actual Behavior:  Yellow pop-up window is off screen.

Only appears on second or higher sheet. Only appears on sheets that are created as RTL, not LTR sheets that are later changed to RTL.
Bug disappears when RTL sheet is changed to LTR, then back to RTL.
Comment 1 Eyal Rozenberg 2022-10-24 22:00:03 UTC
Can you attach a screenshot of this happening?
Comment 2 Eyal Rozenberg 2022-10-24 22:00:22 UTC
Also, which version of LibreOffice are you running?
Comment 3 greenblatt777 2022-10-24 23:11:07 UTC
Created attachment 183245 [details]
we see yellow comment window

this is regular behavior.
Comment 4 greenblatt777 2022-10-24 23:12:21 UTC
Created attachment 183246 [details]
here no yellow window appears

this is in second sheet, when sheet is right to left
Comment 5 greenblatt777 2022-10-24 23:24:22 UTC
I am using LO build 382eef1f22670f7f4118c8c2dd222ec7ad009daf Windows 10 x64. Bug is alive and well. No yellow comment window. I don't know why i said it was off screen - i just don't see it at all. 
To see the bug, make sure you set tools -> options -> language settings -> languages -> locale setting ->  עברית / Hebrew. Then restart LO to see sheet in RTL. Follow steps above - the bug only appears on second or higher sheet.
Could someone check Arabic? i can't because i'd get lost in the menus.
Comment 6 Buovjaga 2023-02-23 09:18:17 UTC
Step 1 can be Tools - Options - Language Settings - Languages - Locale setting: Hebrew

For me, the comment is invisible while writing, but does show when hovering over the indicator.

Same on Win and Linux. Tested with Linux all the way to 3.5.0.

As this does not require an RTL UI, I will change one of the meta bugs.

Arch Linux 64-bit, X11
Version: (X86_64) / LibreOffice Community
Build ID: e4fb37353e2f9f998c028319c5fa083bf3eaa4cc
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: he-IL (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 23 February 2023