After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760445 - regression: openQA no longer able to press ctrl-alt-del to get to logout screen
regression: openQA no longer able to press ctrl-alt-del to get to logout screen
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
3.18.x
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-01-11 09:48 UTC by Dominique Leuenberger
Modified: 2016-01-13 04:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
QEMU USB Tablet is not really a tablet - it's a trick (603 bytes, patch)
2016-01-12 08:29 UTC, Dominique Leuenberger
committed Details | Review

Description Dominique Leuenberger 2016-01-11 09:48:32 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)
Comment 1 Bastien Nocera 2016-01-11 10:24:34 UTC
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.
Comment 2 Dominique Leuenberger 2016-01-11 10:29:48 UTC
(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.
Comment 3 Matthias Clasen 2016-01-11 12:33:09 UTC
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.
Comment 4 Dominique Leuenberger 2016-01-11 13:50:39 UTC
(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).
Comment 5 Dominique Leuenberger 2016-01-12 08:29:31 UTC
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.
Comment 6 Matthias Clasen 2016-01-12 14:22:24 UTC
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.
Comment 7 Matthias Clasen 2016-01-12 18:19:50 UTC
Review of attachment 318843 [details] [review]:

After consulting with Carlos on irc, this is probably the best we can do, sadly.
Comment 8 Matthias Clasen 2016-01-13 04:04:48 UTC
Attachment 318843 [details] pushed as d7e5fd2 - QEMU USB Tablet is not really a tablet - it's a trick