Bug 1028451 - Keybindings capture bugs
Summary: Keybindings capture bugs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-shell
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florian Müllner
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 980692
TreeView+ depends on / blocked
 
Reported: 2013-11-08 13:28 UTC by Bastien Nocera
Modified: 2015-11-19 07:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 07:12:07 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 711682 0 None None None 2019-03-18 21:33:04 UTC
Red Hat Product Errata RHBA-2015:2216 0 normal SHIPPED_LIVE gnome compositor stack bug fix and enhancement update 2015-11-19 08:26:34 UTC

Description Bastien Nocera 2013-11-08 13:28:34 UTC
From https://bugzilla.gnome.org/show_bug.cgi?id=711682:

In bug 707095, we created new keybindings that behave slightly differently for
when in the lock/unlock screens, and allowed the power key keybinding to be
used in the login screen.

However, that brought up 2 bugs in gnome-shell:
- you can't capture the same keybinding for 2 different modes (so g-s-d would
know that it's in the lock screen and make sure not to show polkit or
interactive dialogues in the lock screen)
- when in gdm, the keybinding mode is LOCK_SCREEN instead of LOGIN_SCREEN

When those 2 bugs are fixed, it should be possible to shutdown the machine by
pressing the power button in the lock screen after having changed the button's
behaviour:
gsettings set org.gnome.settings-daemon.plugins.power button-power "shutdown"

And ditto in gdm:
# cat >/etc/dconf/db/gdm.d/01-power <<EOF
[org/gnome/settings-daemon/plugins/power]
button-power="shutdown"
EOF
# dconf update

The related RHEL 7 bug is:
https://bugzilla.redhat.com/show_bug.cgi?id=980692

Comment 3 Laszlo Ersek 2014-10-10 12:14:53 UTC
May I ask if there's any news about this bug? We use the "power button" with virtual machines quite frequently. Thank you.

Comment 4 Laszlo Ersek 2015-03-16 11:30:52 UTC
Sixteen months have passed since this bug was filed, and no updates. Well done.

Comment 5 Matthias Clasen 2015-03-16 12:43:00 UTC
Florian, did the upstream fix for this go into 3.14 ?

Comment 6 Florian Müllner 2015-03-21 16:34:45 UTC
(In reply to Matthias Clasen from comment #5)
> Florian, did the upstream fix for this go into 3.14 ?

No, 3.16 only. The patches themselves should be easy enough to backport, but they change private API between gnome-shell and gnome-settings-daemon, so some coordination is required.

Comment 11 errata-xmlrpc 2015-11-19 07:12:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2216.html


Note You need to log in before you can comment on or make changes to this bug.