After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 438261 - Thai input does not work when NumLock/CapsLock is on
Thai input does not work when NumLock/CapsLock is on
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.10.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-05-14 07:51 UTC by Theppitak Karoonboonyanan
Modified: 2007-05-14 10:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Proposed patch (567 bytes, patch)
2007-05-14 07:54 UTC, Theppitak Karoonboonyanan
committed Details | Review

Description Theppitak Karoonboonyanan 2007-05-14 07:51:17 UTC
Under th_TH locale, where im-thai is active by default, GTK+ widgets reject all alphanumerical keys. This is caused by incomplete check of modifier keys, somehow missed in the initial checked-in patch.
Comment 1 Theppitak Karoonboonyanan 2007-05-14 07:54:08 UTC
Created attachment 88144 [details] [review]
Proposed patch

This patch adds mask bits for CapsLock and NumLock, so that the condition does not becomes true when any is on.
Comment 2 Behdad Esfahbod 2007-05-14 10:09:57 UTC
2007-05-14  Behdad Esfahbod  <behdad@gnome.org>

        * modules/input/gtkimcontextthai.c
        (gtk_im_context_thai_filter_keypress):
        Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)