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 548961 - gnome-commander doesn't work with input method when rename or quicksearch.
gnome-commander doesn't work with input method when rename or quicksearch.
Status: RESOLVED FIXED
Product: gnome-commander
Classification: Other
Component: application
unspecified
Other Solaris
: Normal normal
: 1.2.8
Assigned To: epiotr
epiotr
Depends on:
Blocks:
 
 
Reported: 2008-08-22 08:35 UTC by Takao Fujiwara
Modified: 2008-08-25 21:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for src/gnome-cmd-quicksearch-popup.cc src/gnome-cmd-rename-dialog.cc (1.24 KB, patch)
2008-08-22 08:40 UTC, Takao Fujiwara
none Details | Review

Description Takao Fujiwara 2008-08-22 08:35:29 UTC
gnome-commander doesn't work with input method when rename.

Case 1:
1. Invoke gnome-commander on ja_JP.UTF-8.
2. Right click on the filename and choose [Rename] and then the textbox is shown.
3. Type Ctrl + Space, some chars, and some Space keys and Enter key to determine the chars.

The chars are determined by Enter key but also the renaming is determined.
The problem is Enter key should not sent to the textbox when users determine the chars so that users can continue to rename the string.


Case 2:
1. Invoke gnome-commander on ja_JP.UTF-8
2. Choose [Edit] -> [Quick Search] and the textbox is shown.
3. Type Ctrl + Space.

But IM cannnot be switch.

When Input Method is enabled, we need to send the Input Method key envets at first.
I'm attaching the patch.
Comment 1 Takao Fujiwara 2008-08-22 08:40:27 UTC
Created attachment 117191 [details] [review]
Patch for src/gnome-cmd-quicksearch-popup.cc src/gnome-cmd-rename-dialog.cc

Key events need to be sent gtk_im_context_filter_keypress() at first of the custom keypress callback functions.
Comment 2 epiotr 2008-08-25 21:38:57 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.