[Libreoffice-bugs] [Bug 150800] Improve change of vertical scrollbar from left to right, if support for asian languages is not enabled

2022-09-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150800

--- Comment #8 from Hossein  ---
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150800] Improve change of vertical scrollbar from left to right, if support for asian languages is not enabled

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150800

--- Comment #7 from خالد حسني  ---
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150800] Improve change of vertical scrollbar from left to right, if support for asian languages is not enabled

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150800

--- Comment #6 from Heiko Tietze  ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150800] Improve change of vertical scrollbar from left to right, if support for asian languages is not enabled

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150800

Heiko Tietze  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda
   |.freedesktop.org|tion.org,
   ||mentoring@documentfoundatio
   ||n.org
   Keywords|needsUXEval |difficultyBeginner,
   ||easyHack, skillCpp, topicUI
 Status|NEEDINFO|NEW

--- Comment #5 from Heiko Tietze  ---
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150800] Improve change of vertical scrollbar from left to right, if support for asian languages is not enabled

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150800

--- Comment #4 from Regina Henschel  ---
Left-handed users may also be interested in having the scrollbar on the left
side. So not a pure language dependent problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150800] Improve change of vertical scrollbar from left to right, if support for asian languages is not enabled

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150800

Heiko Tietze  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1
 CC||hoss...@libreoffice.org,
   ||kha...@aliftype.com

--- Comment #3 from Heiko Tietze  ---
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150800] Improve change of vertical scrollbar from left to right, if support for asian languages is not enabled

2022-09-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150800

--- Comment #2 from Dieter  ---
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150800] Improve change of vertical scrollbar from left to right, if support for asian languages is not enabled

2022-09-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150800

Regina Henschel  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=44
   ||400
 CC||rb.hensc...@t-online.de

--- Comment #1 from Regina Henschel  ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150800] Improve change of vertical scrollbar from left to right, if support for asian languages is not enabled

2022-09-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150800

Dieter  changed:

   What|Removed |Added

 Blocks||105957
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org
   Keywords||needsUXEval
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=35
   ||825


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105957
[Bug 105957] [META] Scrollbar-related bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.