GNOME Bugzilla – Bug 710296
Focus is getting removed from the target window
Last modified: 2013-12-16 16:58:36 UTC
On Fedora 20 updated system, I found any onscreen keyboard like iok, eekboard, cellwriter and florence stopped working. Looks like focus is getting removed from the target window. Initial bug and some observation on it are at https://bugzilla.redhat.com/show_bug.cgi?id=1019073 Installed packages: mutter-wayland-3.10.0.1-3.fc20.x86_64 mutter-3.10.0.1-1.fc20.x86_64 These OSK should be working normal again in Fedora 20.
found this commit https://git.gnome.org/browse/mutter/commit/?id=7fdfbad6d495ede1632588e528801443846e5f6d which could have caused this bug.
Created attachment 257476 [details] [review] display: Don't focus the no-focus-window when sending WM_TAKE_FOCUS to a globally active window Clients like on-screen keyboards try not to tak efocus when the user clicks on their window by setting the Input hint to false. However, due to GTK+ and GDK bugs, the public API for setting the Input hint to false don't remove WM_TAKE_FOCUS from WM_PROTOCOLS, unintentionally putting them into Globally Active mode. These clients also expect that since they don't want to take focus, they want the focus to remain on the existing window. In this case, for clients like on-screen keyboards, it's so they can send synthesized keyboard events to the focused window.
I added this patch in fedora 20 mutter.spec and installed new package. This proposed patch is fixing the reported issue. Thanks.
If there's a gtk bug here, I'd appreciate a bug and patch
Filed as https://bugzilla.gnome.org/show_bug.cgi?id=710389
Attachment 257476 [details] pushed as b82784e - display: Don't focus the no-focus-window when sending WM_TAKE_FOCUS to a globally active window
When will this fix be available in Fedora 20 or 3.10.x series?
When will this fix be available in Fedora 20 or 3.10.x series? This will now solve the OSK issue present in Fedora 20.
(In reply to comment #8) > When will this fix be available in Fedora 20 or 3.10.x series? This will now > solve the OSK issue present in Fedora 20. This patch was added to the Fedora 20 RPM and also added to the 3.10 branch. [Causing bug 711618]