https://bugzilla.redhat.com/show_bug.cgi?id=1368757
Bug ID: 1368757 Summary: ibus: forward_key_event() seems to do nothing in Qt applications Product: Fedora Version: 24 Component: ibus-qt Assignee: tfujiwar@redhat.com Reporter: mfabian@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com, tfujiwar@redhat.com
If I try to type with ibus-typing-booster in Qt applications and commit a word by typing space, no space is inserted after the word. For example:
QT_IM_MODULE=ibus kate &
Select the English engine of ibus-typing-booster and type some word like "test", type space to commit. The word "test" is committed into kate, but no space appears after the word, the cursor is directly behind the word "test".
This is because this line
self.forward_key_event(key.val, key.code, key.state)
in hunspell_table.py from ibus-typing-booster does nothing anymore.
This line in context in the source code is here:
https://github.com/mike-fabian/ibus-typing-booster/blob/master/engine/hunspe...
(By the way, when trying “XMODIFIERS=@im=ibus QT_IM_MODULE=xim kate”, input does not work at all, so this cannot be used as a workaround).
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
Mike FABIAN mfabian@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mfabian@redhat.com
--- Comment #1 from Mike FABIAN mfabian@redhat.com --- (In reply to Mike FABIAN from comment #0)
(By the way, when trying “XMODIFIERS=@im=ibus QT_IM_MODULE=xim kate”, input does not work at all, so this cannot be used as a workaround).
Apparently Qt5 does not support XIM anymore:
http://lists.qt-project.org/pipermail/development/2013-January/009491.html
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
--- Comment #2 from Mike FABIAN mfabian@redhat.com --- forwardKeyEvent seems to be not implemented in Qt5:
http://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforminputcontexts/...
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
--- Comment #3 from Mike FABIAN mfabian@redhat.com --- A similar bug about another function which is not implemented in Qt5 was reported here:
https://bugreports.qt.io/browse/QTBUG-48412
“Qt5 IBus input context does not implement hide_preedit_text()”
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
--- Comment #4 from fujiwara tfujiwar@redhat.com --- Thanks for filing the bug but it's late. Now the git head is 5.8. Maybe the target is f26.
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
--- Comment #5 from fujiwara tfujiwar@redhat.com --- I investigated qt5-qtbase and I found 'ForwardKeyEvent' signal is defined correctly but the QT5 module cannot receive that signal in QIBusInputContextProxy::qt_static_metacall().
http://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforminputcontexts/...
I have no idea and will file a bug in upstream.
Also QT5 module does not have an API likes gdk_keyval_to_unicode(). XLookupString() will be used?
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- External Bug ID| |Qt Bug Tracker QTBUG-58220
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
--- Comment #6 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|24 |rawhide
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
Mike FABIAN mfabian@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pwu@redhat.com
--- Comment #8 from Mike FABIAN mfabian@redhat.com --- Peng Wu fixed this recently.
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jgrulich@redhat.com, | |jreznik@redhat.com, | |rdieter@gmail.com, | |than@redhat.com Component|ibus-qt |qt5-qtbase Assignee|tfujiwar@redhat.com |than@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|27 |rawhide
https://bugzilla.redhat.com/show_bug.cgi?id=1368757
Ngo Than than@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
i18n-bugs@lists.fedoraproject.org