[Libreoffice-bugs] [Bug 144412] Qt5/KF5 flips writing direction on Ctrl+Shift+p

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 10 07:58:48 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=144412

--- Comment #5 from Michael Weghorn <m.weghorn at posteo.de> ---
FWIW, some notes on trying to understand what's happening (without saying
whether or not it should stay that way...):

The relevant code in SwEditWin::Command responsible for changing writing
direction was added in commit

commit cf308f6beb1ca7d7d5e209bfc25d3094a7acd836
Author: Oliver Specht <os at openoffice.org>
Date:   Wed Nov 27 08:12:37 2002 +0000

    #105224# support COMMAND_MODKEYCHANGE to change writing direction


Unfortunately, #105224# refers to the StarDivision bug tracker.

However, looking at that commit, it looks a bit like it may be supposed to be a
feature to switch to RTL by pressing Ctrl+Right_Shift and to LTR by pressing
Ctrl+Left_Shift, at least when no other keys are pressed in addition?

For gtk3, I actually only get the switch when not pressing another key in
addition (i.e. the Ctrl+Shift_Right+P case described here does not trigger the
change in writing direction), while it's different for kf5.

With the change from comment 2, switching between RTL and LTR also no longer
happens for kf5 when no other key is pressed in addition.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210910/b65c6d3e/attachment.htm>


More information about the Libreoffice-bugs mailing list