Bug 321070 - KDM: Shutdown dialogue has no keyboard focus
Summary: KDM: Shutdown dialogue has no keyboard focus
Status: RESOLVED DUPLICATE of bug 268988
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: 4.10.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-12 18:37 UTC by Frank Steinmetzger
Modified: 2013-06-14 13:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2013-06-12 18:37:04 UTC
In the classic layout, there is a menu that can be accessed via Alt+M. It has a &Shutdown item. However, the dialogue that pops open and which gives the choice of &Shutdown and &Restart has no focus, so it is impossible to select anything in it with just the keyboard.

Reproducible: Always

Steps to Reproduce:
Open the shutdown dialogue, either with the mouse or by using keyboard shortcuts from the GUI.
Actual Results:  
The dialogue does not react to keyboard input, a pointing device has to be used instead.

Expected Results:  
The dialogue should get the keyboard focus upon opening.
Comment 1 Kai Uwe Broulik 2013-06-14 11:52:12 UTC
From what I can remember that is an X limitation. Before login there is no window manager running. The shutdown dialog is a new window and without a WM the window directly below the window manager has focus. Don't think that can be fixed.
Comment 2 Frank Steinmetzger 2013-06-14 13:23:37 UTC
I see. In that case one could argue that a dialogue is a bad choice, and that a Shutdown submenu would be better suited. I understand the safety aspect; the dialogue requires deliberate action, whereas a simple menu could be triggered by accident, and a simple reboot could have major repercussions in certain environments.

&Menu
- &Session
   - &KDE
   - &Awesome
- &Console mode
- &Shutdown
   - Please select below
   - Halt
   - Reboot

If there are no accelerator shortcuts in the Shutdown submenu, there is no accidental activation through the letter keys. And the “Please select” item catches accidental presses of Enter.
But well. Even though it’s annoying sometimes, this is not a very prominent issue, so I’d be OK with WONTFIX. It’s still better than loading an entire WM session like GDM does, I suppose.
Comment 3 Oswald Buddenhagen 2013-06-14 13:30:24 UTC

*** This bug has been marked as a duplicate of bug 268988 ***