Bugzilla – Bug 196844
Main Menu - <Control><Alt>d doesn't Hide all windows and focus desktop when Main Menu is open
Last modified: 2010-11-27 15:37:38 UTC
Problem - If the user attempts to use the default keyboard binding of <Control><Alt>d to show the desktop while the Main Menu is open, the operation fails. Steps to Reproduce - Open some arbitrary applications - Press the <Control><Alt>d sequence and notice how the applications are minimized and the desktop gains focus. Pressing the <Control><Alt>d sequence again will bring the applications back into view. - Now attempt the <Control><Alt>d sequence while the Main Menu is open. Notice how the functionality fails. Expected Behavior The Main Menu should respect Gnome Keyboard shortcuts.
The is the same for the traditional menu as well because of the keyboard grab, really a duplicat. *** This bug has been marked as a duplicate of bug 135951 ***
Reasons for re-opening the bug: 1) The behavior described is currently available to users of Microsoft Windows XP 2) Can introduce confusion for disabled users where the focus is 'stolen' by the menu 3) A Specific scenario has been identified and documented in this bug I would appreciate if a status specific for the case expressed here could be identified. Some may not be feasible for SP1 but I would like to see them documented at least.
I do not believe 2) is really an accessibility concern since it works in appropriate context. ctrl-alt-d should close the menu anyhow when it minimizes all other windows so the Esc and then ctrl-alt-d give the desired behaviour (behaviour consistent with an application menu drop down btw).
As a special case we could see what /apps/metacity/global_keybindings/show_desktop says, and then pass on a message to metacity to show the desktop. I don't know if there's an EWMH hint to do this.
You can copy code from libwnck to show the desktop. See wnck_screen_toggle_showing_desktop()
Still valid in 11.0.
Reproduced on current 11.3 and Fedore 14. Sending upstream https://bugzilla.gnome.org/show_bug.cgi?id=635925