Mozilla XIM needs to call gdk_im_end() at UnsetFocus

RESOLVED WORKSFORME

Status

()

--
enhancement
RESOLVED WORKSFORME
17 years ago
7 years ago

People

(Reporter: masaki.katakai, Unassigned)

Tracking

({inputmethod})

Trunk
Future
x86
Linux
inputmethod
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
This bug came from bug 109723.

Mozilla gtk widget now doesn't call gdk_im_end() when it's losing input focus.
It looks OK for IMEs but some IME want to know the sate of "losing focus" to
manage preedit and status. The codes would be very simple but we need to test
carefully.

 nsWindow::IMEUnsetFocusWindow()
 {
   KillICSpotTimer();
+  nsIMEGtkIC *xic = IMEGetInputContext(PR_FALSE);
+  if (xic) {
+    xic->UnsetFocusWindow();
+  }
 }
(Reporter)

Comment 1

17 years ago
There is a problem that some IME's lookup (candidate window)
grabs the input focus and causes problem if gdk_im_end() is
called, e.g. ATOK12 on Solaris 8.

I would like to continue to use the currect codes.

Severity: normal → enhancement
Status: NEW → ASSIGNED
Target Milestone: --- → Future
QA Contact: teruko → i18n
Keywords: inputmethod
gdk_im_end() is deprecated. If you see similar trouble on gtk2 build, please file a new bug.
Assignee: masaki.katakai → nobody
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Component: Internationalization → Widget: Gtk
QA Contact: i18n → gtk
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.