[Libreoffice-bugs] [Bug 140251] Unable to insert character using Unicode code with Ctrl-Shift-U (kf5)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Feb 20 21:46:43 UTC 2021


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

Jan-Marek Glogowski <glogow at fbihome.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |enhancement

--- Comment #3 from Jan-Marek Glogowski <glogow at fbihome.de> ---
I'm not sure this is a good idea to be implemented in the VCL / qt5 backend.
You can install fcitx or ibus, which both support unicode input (fcitx via
Ctrl+Alt+Shift+u / configurable shortcut). Then it will work with all Qt
applications, not just LO.

The original bug for X11 was https://bz.apache.org/ooo/show_bug.cgi?id=48666.
That also explains, why I couldn't find any code for it in the Gtk backend:
it's handled toolkit internal. And it also explains, why that has presumably
worked with kde4: kde4 was just theming for X11 / gen.

If someone wants to implement this: the X11 code is
X11SalFrame::(begin|append|end)UnicodeSequence. The Qt5 key input code is
Qt5Widget::handleKeyEvent.

It's probably not even hard to do, but the keyboard and IM handling overlaps in
Qt, so it can become a bit tricky, especially with the existing shortcut
handling event filtering. So I won't mark this as an interesting EasyHack,
because there might be some unknown pitfalls.

-- 
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/20210220/f249ab85/attachment.htm>


More information about the Libreoffice-bugs mailing list