GNOME Bugzilla – Bug 624229
Shown other window after modal dialog doesn't get keyboard focus, but has a visual focus
Last modified: 2018-05-02 14:58:56 UTC
evolution 2.31.6 1. Configure a nntp account 2. Folder -> Subscription and select nntp account 3. It pops up password dialog but i cann't access dialog Expected : I should be able to enter password or cancel the dialog.
I can reproduce this bug with evolution 2.30.2 on Debian Squeeze.
Confirming, I can reproduce it with actual master too, which is slightly before 2.31.92.
Created attachment 169427 [details] test.c So it's a bug in GTK+. When there is a modal window/dialog, and the application wants to show another dialog (non-modally), then the new dialog, either shown with gtk_widget_show or with gtk_window_present is drawn as having focus, but internally has still keyboard focus the modal window. Pressing 'a' writes to the background window, where it should write to the foreground one in this test application. Also, hovering mouse above checkbox or buttons should highlight those in the non-modal window, but it highlights those in the back/modal window.
Created attachment 169428 [details] [review] eds patch (workaround) for evolution-data-server; I can workaround the bug with this patch, which I'm committing till this is properly addressed in Gtk+. Created commit 08cc4ad in eds master (2.31.92+)
I see this with gtk+ 2.20.0 tarball release.
Still occurs in 3.22, 2.24, and presumably master. (I'm running GNOME/mutter in case it matters.)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/343.