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 702843 - Cannot input characters via character pad
Cannot input characters via character pad
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Quartz
2.24.x
Other Mac OS
: Normal normal
: ---
Assigned To: gtk-quartz maintainers
gtk-bugs
Depends on: 694273
Blocks:
 
 
Reported: 2013-06-22 02:16 UTC by Takuro Ashie
Modified: 2013-12-18 05:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Takuro Ashie 2013-06-22 02:16:29 UTC
Steps to reproduce:

1. Enable imquartz (bug694273)
2. Enable "Kotoeri" input source from System preferences of Mac OS.
  "System Preferences" ->
  "Language and Text" ->
  "Input Sources" ->
  Check "Kotoeri"
3. run gtk-demo
4. Open "Entry" -> "Entry Buffer"
5. Launch "Kana Table" from input sources menu.
  Input source icon in notification area ->
  Input sources menu ->
  "Type Using Kana Table"
6. Click some buttons on Kana Table


Expected result:
Clicked characters are entered to GtkEntry

Actual result:
Characters aren't entered
Comment 1 Takuro Ashie 2013-06-22 02:18:14 UTC
gtk+3 has a same problem.
Comment 2 Takuro Ashie 2013-06-22 02:31:01 UTC
I confirmed that "GtkIMCocoa" which is another immodule for Mac OS X can input characters using Kana Table when I use it with gtk+-2.24.18.

https://github.com/ashie/gtkimcocoa

But when I use it with gtk+-2.24.19, sometime it can't input characters using KanaTable too because the code introduced at bug694273 prevent it (probably an other NSView steals first responder).
Comment 3 Takuro Ashie 2013-06-22 02:41:23 UTC
The reason why imquatz can't input characters by using character pad is that it doesn't emit  any signals like "preedit-changed" or "commit" signals on IM related callbacks os NSView. It emits these signals only on pressing keys (quartz_filter_keypress()).
Comment 4 Michael Natterer 2013-07-23 07:03:43 UTC
You seem to know pretty well what you are talking about :)
Do you plan to provide a patch?
Comment 5 Takuro Ashie 2013-07-24 01:16:15 UTC
(In reply to comment #4)
> Do you plan to provide a patch?

Yes, I'm planning to provide some patches for this bug, but not soon.
Because I'm now investigating other imquartz & GtkIMCocoa related bugs
(they are not filed yet).
Comment 6 Michael Natterer 2013-07-26 13:42:09 UTC
That's great news, even if it doesn't happen immediately :)

In the meantime, can I perhaps motivate you by reviewing some of your
patches? I only have the one in bug 702841 on my radar and I'm looking
into applying it. Are there any more I missed?
Comment 7 Takuro Ashie 2013-07-26 14:25:25 UTC
Thank you for tracking my reports :)

(In reply to comment #6)
> In the meantime, can I perhaps motivate you by reviewing some of your
> patches? I only have the one in bug 702841 on my radar and I'm looking
> into applying it. Are there any more I missed?

It's not quartz specific but I also post a patch to bug703789 (immodules.cache isn't updated by "make install").
Comment 8 Takuro Ashie 2013-12-18 05:40:32 UTC
The issue was already fixed at 08042ea830da88aa192e3e8d99aa7af8863aeb16 by ek.kato.