GNOME Bugzilla – Bug 760445
regression: openQA no longer able to press ctrl-alt-del to get to logout screen
Last modified: 2016-01-13 04:04:51 UTC
Hi all, This is based on findings in openQA: * While updating gtk+ from 3.18.2 to 3.18.3, the strange side effect of no longer being able to press 'ctrl-alt-del' to get a logout screen was observed ll tests with subsequent releases for gtk (up to 3.18.6) resulted in the same behavior in openQA. Reverting to 3.18.2 immediately fixed it. While doing some magic with git bisec, packaging the new versions, rebuilding a full distro and passing it through openQA, I could track it down to the commit https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-18&id=1266d15c4b67eb23dc7945a7af75268ee76af452 So 'something' must be strange... even though I could not really see yet what it would be (as I don't see how this impacts the handling of keyboard shortcuts)
I don't see how that commit could cause the problem. The global shortcuts are captured by gnome-shell, and passed on to gnome-settings-daemon to do something. You might want to try if "gnome-session-quit" is working as expected, and shows a log out dialogue.
(In reply to Bastien Nocera from comment #1) > I don't see how that commit could cause the problem. The global shortcuts > are captured by gnome-shell, and passed on to gnome-settings-daemon to do > something. I have the same worry... yet, reverting exactly this commit makes it work strangely > You might want to try if "gnome-session-quit" is working as expected, and > shows a log out dialogue. I will see if I can get inject this into the scripts.
I think the next step here would be attach to gnome-shell in your qa environment, break on create_device, and see if the keyboard device somehow gets mangled by this change. If attaching is difficult, just running the shell with GDK_DEBUG=input might provide some hints.
(In reply to Bastien Nocera from comment #1) > You might want to try if "gnome-session-quit" is working as expected, and > shows a log out dialogue. For reference: this has been tested (the script was changed to do "alt-f2, gnome-session-quit" instead of ctrl-alt-del, and this worked).
Created attachment 318843 [details] [review] QEMU USB Tablet is not really a tablet - it's a trick Actually, with this patch attached, the automated test suites run again - tested with gtk 3.18.6 plus this patch.
Review of attachment 318843 [details] [review]: I really hate all this name sniffing, but I guess X doesn't offer any better solutions for this.
Review of attachment 318843 [details] [review]: After consulting with Carlos on irc, this is probably the best we can do, sadly.
Attachment 318843 [details] pushed as d7e5fd2 - QEMU USB Tablet is not really a tablet - it's a trick