-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangul mode Numbers and some special keystrokes can not be input from the numeric pad. #2068
Comments
OK, I understand Backspace does not work with QT5 applications likes krita, kwrite. |
OK, seems the numpad behavior is different between QT and GTK. |
I use SHIFT + SPAPEBAR to change Korean English. |
I investigated this issue furthermore and seems just your qt5 qtbase is old. |
I am using UIM and Shift + Space translates "Hangul / English". |
This issue needs to be re-opened. This issue is not because of the lack of forward-key-event handling, but because of the side effect of that the forward-key-event implementation. Your patched code does not convert between ibus key codes and Qt key codes. Currently in Qt apps, UP/LEFT/DOWN/RIGHT arrow keys input "rqts". These are Japanese double width alphabets , which are ibus key codes interpreted as Qt key codes. |
For example in IBUS,
When these arrow key codes are used to make Qt key events without conversion, they become U+FF51 to U+FF54; "rqts". |
@changwoo I understand your comment last week. If none find any concerns on the patch, I will submit it in QT side soon. CC'ing @epico |
I think some code is from src/plugins/platforms/xcb/qxcbkeyboard.cpp . Is it possible to use QXcbKeyboard::keysymToQtKey method? Or ask Qt maintainer to allow ibus to access the above method? |
@epico Yes, I copied it and I don't think to use qxcbkeyboard.cpp at the moment. |
@fujiwarat Okay, I like to join the patch discussion. Nice to share the common code with QXcbKeyboard! :) |
@iyagicom If you could build qtbase, you could test my patch. Otherwise probably you need to wait for the new release since we make packages for Fedora only. |
I think binary search is better than linear search. And it looks like it does not handle XK_F1 ~ XK_F35. |
@choehwanjin Thank you for the review. |
The latest patch looks much better. |
qtbase 5.13 will be fixed. |
Good job. |
Please fill in the following items if you don't know the root cause.
Which distribution and version?: Ubuntu 18.04
(E.g. Fedora 27. Check /etc/fedora-release)
Which desktop environment and version?: ubuntu:GNOME , gnome-session (3.28.1-0ubuntu3) bionic; urgency=medium
(E.g. GNOME 3.24. Check $XDG_CURRENT_DESKTOP and your ISO image.)
Which session type?: X11 and Wayland
(X11 or Wayland. Check $XDG_SESSION_TYPE)
Which application and version?: Occurs in all programs.
(E.g. gedit 3.24, leafpad, kate, xterm)
IBus version?: IBus 1.5.17
(Run
ibus version
)Issue description:
Hangul mode Numbers are not written on the numeric pad.
Also the backspace bar will not work.
I can not tell if this is due to ibus or any other problem.
vokoscreen-2018-06-22_20-16-08.zip
The text was updated successfully, but these errors were encountered: