Bug 711260 - Power key fails to bring up shutdown dialog
Summary: Power key fails to bring up shutdown dialog
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-settings-daemon
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-07 02:19 UTC by Takehiko Abe
Modified: 2011-11-17 08:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-17 08:30:10 UTC
Type: ---


Attachments (Terms of Use)

Description Takehiko Abe 2011-06-07 02:19:46 UTC
Some USB keyboards come with power key (usb usage id 0x66). 
Pressing the key does not bring the EndSessionDialog as configured
(the org.gnome.settings-daemon.plugins.power button-power is set to
'interactive').

Instead, the following messages are printed to .xsession-errors:

|       JS LOG: pushModal: invocation of begin_modal failed
|    JS ERROR: !!!   Exception was: Cannot grab pointer and keyboard
|     JS ERROR: !!!     errorMessage = 'Cannot grab pointer and keyboard'
|    JS ERROR: !!!     dbusErrorName = 'org.gnome.Shell.ModalDialog.GrabError'
| gnome-session[1290]: WARNING: Unable to open shell end session dialog


Furthermore, some actions seem to trigger the failed dialog to appear on screen,
e.g. emptying nautilus trash:

1. hit power on keyboard --> the error message
2. open nautilus trash and hit 'Empty Trash' --> the shutdown dialog


gnome-settings-daemon-3.0.1-6.fc15.x86_64
gnome-shell-3.0.2-1.fc15.x86_64
mutter-3.0.2.1-1.fc15.x86_64

Comment 1 Takehiko Abe 2011-11-17 08:30:10 UTC
Fixed in Fedora 16


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