Created attachment 159174 [details] The cross-ref dialog with RTL content When you insert a cross-reference, a dialog comes up for selecting what you'll be referring to. I won't comment on the dialog's design in general, only about the list of items of the chosen category (headings, numbered paragraphs etc). This list is presented in plain text - which is ok, but it's directed LTR and aligned left-to-right. It is kept on a single line. What this means is, that instead of seeing the _beginning_ of the paragraph, or line, or heading, you see its _end_. To see the beginning you need to scroll to the right - but it's a different amount of scrolling for each item, because they're not all aligned at the beginning. That also means you don't see the number except on shorter paragraphs, and for the current item, which also appears at the bottom and is thankfully right-aligned if its in an RTL language. An example of this in the cross-reference selection dialog is attached. This is actually a really old issue, probably from before v5, and I'm pretty sure I saw it on Windows too. Right now I'm seeing it with v6.4.0.3 release on Devuan GNU/Linux.
*** Bug 131726 has been marked as a duplicate of this bug. ***
Eyal, perhaps you can add a documetn with RTL content. This would make it easier for me to verify the bug. Thanks.
Created attachment 160887 [details] ODT document for reproducing the bug As requested - here's a document with a long numbered paragraph. To reproduce the issue, try inserting a cross-reference to a numbered paragraph and have a look at the selection dialog. Only the end of the text of the first numbered paragraph will be visible.
I confirm it with Version: 7.0.0.0.alpha1+ (x64) Build ID: 99c337d1d3831ce9d2c7dc1cbff713f4ac49d6ac CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; Locale: en-GB (de_DE); UI: en-GB Calc: CL
The same is true for headings.
(In reply to Regina Henschel from comment #5) > The same is true for headings. Yes, everything is always aligned-left in the selection list. Go Caolán! :-)
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b1ea5cc2ee0b50651c7cac4d85a49a199693ed1c Related: tdf#131725 if SvTreeListBox RTL set, set scrollbars to match It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/cceeb407c61e9af14a300e8fcfaa57fd91ede49e Related: tdf#131725 match the basegfx translation to the mirror logic It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/66a71a288bea335cd5737710ee2f7e36ebd934a4 tdf#131725 use first page directionality for x-reference dialog TreeView It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
well, we can give this a try and see how it works out
VERIFIED with Version: 7.4.0.0.alpha1 (x64) / LibreOffice Community Build ID: b871abad383583f02eb49c7e49aeae01f6941072 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Caolán, thanks for fixing it!