GNOME Bugzilla – Bug 696260
As soon as nautilus is launched, inputing first char with hangul input source is always english.
Last modified: 2016-05-31 02:47:42 UTC
As soon as nautilus is launched, inputing first char with hangul input source is always english in Search Entry. en 1. launch nautilus 2. switch to hangul (한) 3. Click "r""k" rㅏ On the other hand, en 1. launch nautilus 2. click "r""k" rk 3. switch to hangul (한) 3. click "r""k" 가 nautilus-3.7.92-1.fc19.x86_64 see also bug 695334
Created attachment 239594 [details] [review] query-editor: Make IMs process the fake event we generate at first Input methods will typically only process events after getting focus.
Created attachment 239595 [details] [review] query-editor: Fix initial key press processing with async IMs When using an async input method we can't rely on the entry's text or preedit text being updated as a direct result of processing a key event. Instead, we can look at the event keyval and check if it's going to yield a printable character to decide if we are interested in the event.
Review of attachment 239594 [details] [review]: This makes sense, but I wonder if we shouldn't also restore the previous focus widget in case the event wasn't handled.
Review of attachment 239595 [details] [review]: Thanks, looks good.
Created attachment 239652 [details] [review] query-editor: Make IMs process the fake event we generate at first -- (In reply to comment #3) > This makes sense, but I wonder if we shouldn't also restore the previous focus > widget in case the event wasn't handled. Agree, here's a new patch.
Review of attachment 239652 [details] [review]: Looks good, thanks!
Attachment 239595 [details] pushed as 8a2d1c9 - query-editor: Fix initial key press processing with async IMs Attachment 239652 [details] pushed as 378c01d - query-editor: Make IMs process the fake event we generate at first
hangul input is broken preedit in nautilus 3.8.1 1. launch nautilus 2. switch input source to hangul 3. input rk Actual results: ㄱㅏ Expected results: 가 new bug?
(In reply to comment #8) > hangul input is broken preedit in nautilus 3.8.1 > 1. launch nautilus > 2. switch input source to hangul > 3. input rk > Actual results: > ㄱㅏ > > Expected results: > 가 > > new bug? Attached a fix for this in bug 698205.
comment #0 reopened in nautilus 2.20.x.