[Libreoffice-bugs] [Bug 132089] Some shortcuts doesn't work when changing keyboard layout to Arabic (or maybe other non-latin layouts) under plasma 5
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 10 23:09:59 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=132089
Jan-Marek Glogowski <glogow at fbihome.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTOURBUG
--- Comment #2 from Jan-Marek Glogowski <glogow at fbihome.de> ---
ِAFAIK this is a Qt bug, but with input method handling, I'm not 100% sure...
Originally I thought it was some problem in the key handling - we had a bunch
of bugs with "Old Hungarian" input, but it turns out Qt sends (wrongly?) an
inputMethodEvent for the Ctrl+b, instead of a key event.
Layout: ara
Ctrl
debug:23031:23031: QEvent::ShortcutOverride
debug:23031:23031: st press co 0 len 0
Ctrl+b
debug:23031:23031: inputMethodEvent 1 0
debug:23031:23031: st release co 513 len 1
debug:23031:23031: st release co 0 len 0
Layout: de
Ctrl
debug:23031:23031: QEvent::ShortcutOverride
debug:23031:23031: st press co 0 len 0
Ctrl+b
debug:23031:23031: QEvent::ShortcutOverride
debug:23031:23031: st press co 513 len 1
debug:23031:23031: st release co 513 len 1
debug:23031:23031: st release co 0 len 0
As you can see, there is not even a a key press event for Ctrl+b, but instead
you get a "commit string" of length 1 for "inputMethodEvent", which LO does
comply with by inserting the "ل", the same character when just pressing "b".
I get the same behavior in kate, where Ctrl+b normally adds a bookmark with
"de" layout and English UI, but inserts a "ل" with "ara" layout instead. Also
note, that gtk3 inserts a "ﻻ", if I press b. And I noticed a message in my
".xsession-errors", if I switch to the "ara" layout: qt.qpa.xkeyboard: no
keyboard layouts with latin keys present
I also tested the minimal Qt text editor
/usr/lib/x86_64-linux-gnu/qt5/examples/widgets/richtext/textedit/textedit in
WindowMaker, where I switched the layout between "de" and "ara" using
"setxkbmap -layout". Same behavior the LO. This really looks like a Qt bug.
--
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/20200910/8304f4c3/attachment.htm>
More information about the Libreoffice-bugs
mailing list