Steps: 1. Open writer with vertical scrollbar on the left 2. Tools -> Language Settings -> Languages -> Enable "Asian" in "Default Languages for Documents" -> Press O.K. 3. Tools -> LibreOffice Writer -> View -> activate vertical ruler and right aligned -> Presse O.K. => Scrollbar jumps to the left 4. Tools -> Language Settings -> Languages -> Disable "Asian" in "Default Languages for Documents" -> Press O.K. 5. View -> Rulers -> deselect vertical ruler Actual result: Vertical scrollbar is on the left and you find no option to change it to the left Expected result: Some option to change scrollbar to the right (without detour through language settings)
The scrollbar is at the opposite side of the ruler. So when you set the ruler to the right, the scrollbar will be left. In Writer it is possible to set the position of the ruler. That is in Tools > Options > Writer > View. A similar setting would be useful in Draw/Impress to. If this setting is indeed not enabled in all cases, that should be changed.
(In reply to Regina Henschel from comment #1) > If this setting is indeed not enabled in all cases, that should be > changed.. So solution would be: "Right-aligned" option schould always be visible. Perhaps we can rename it to "Right-aligned (Scrollbar left)" to indicate that it also affects scrollbar position. If that's not possible from UI-perspective, would be nice to add information to help page.
To rephrase the STR: The option "right-aligned" under Tools > Options > Writer > View is visible only when CJK/CTL are enabled under Language Settings, making it hard to find if users play around with these options. And you suggest to always show it, ideally with an improved label. There are good reasons to hide options depending on CJK/CTL. And alternatively we could just switch it off before hiding it. Or we bind the scrollbar position to the page style's text direction (and remove the option completely), which might OTOH lead to a jumping UI if the text switches from RTL to LTR on some PgS. Guess it's a rare thing. Khaled, Hossein: What do you think?
Left-handed users may also be interested in having the scrollbar on the left side. So not a pure language dependent problem.
(In reply to Regina Henschel from comment #4) > Left-handed users may also be interested in having the scrollbar on the left... Good point. So let's just have this option enabled all the time. And name it "Right-aligned (Scrollbar left)". Code pointer: The checkbox label is at sw/uiconfig/swriter/ui/viewoptionspage.ui accessed in sw/source/ui/config/optpage.cxx where if(!SvtCJKOptions::IsVerticalTextEnabled() ) m_xVRulerRightCBox->hide(); needs to be removed.
Ideally we split the scrollbar position from the ruler position with radio buttons Scrollbar position: (o) Opposite side to the ruler ( ) Always left ( ) Always right By doing so we can show the scrollbar left-hand for the lefties without the need to show a ruler. Drawback of this solution is that we potentially stack ruler and scrollbar.
(In reply to Heiko Tietze from comment #3) > To rephrase the STR: The option "right-aligned" under Tools > Options > > Writer > View is visible only when CJK/CTL are enabled under Language > Settings, making it hard to find if users play around with these options. > And you suggest to always show it, ideally with an improved label. > > There are good reasons to hide options depending on CJK/CTL. And > alternatively we could just switch it off before hiding it. Or we bind the > scrollbar position to the page style's text direction (and remove the option > completely), which might OTOH lead to a jumping UI if the text switches from > RTL to LTR on some PgS. Guess it's a rare thing. > > Khaled, Hossein: What do you think? The default should depend on the UI direction, not the document direction. In RTL UI most element positions are mirrored, and so should be the scrollbar. The CTL/Asian stuff should have no effect on this.
(In reply to خالد حسني from comment #7) > (In reply to Heiko Tietze from comment #3) > > To rephrase the STR: The option "right-aligned" under Tools > Options > > > Writer > View is visible only when CJK/CTL are enabled under Language > > Settings, making it hard to find if users play around with these options. > > And you suggest to always show it, ideally with an improved label. > > > > There are good reasons to hide options depending on CJK/CTL. And > > alternatively we could just switch it off before hiding it. Or we bind the > > scrollbar position to the page style's text direction (and remove the option > > completely), which might OTOH lead to a jumping UI if the text switches from > > RTL to LTR on some PgS. Guess it's a rare thing. > > > > Khaled, Hossein: What do you think? > > The default should depend on the UI direction, not the document direction. > In RTL UI most element positions are mirrored, and so should be the > scrollbar. The CTL/Asian stuff should have no effect on this. Yes. When using LibreOffice in RTL mode, I expect that the scrollbar goes to the opposite direction. export SAL_RTL_ENABLED=1 This is what is happening right now, and it is also what is done in MS Word. On the other hand, I think making this option always visible is useful. For example, I enabled this option, then disabled the Asian languages support. After that, the option was still active, but I had no way to understand and change this behavior. This is also the argument of the bug reporter to ask for making this option always visible, and I agree with him.