This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 198425

Summary: window display commands should be self-canceling when invoked from keyboard
Product: platform Reporter: jrose <jrose>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description jrose 2011-05-08 05:42:52 UTC
I use Command-Zero a lot to glance at the output window.  (It's the Window => Output => Output command.)  I wish that I could type the command a second time to dismiss the window.  Instead I have to hunt for the Escape key, turning a quick check into a two-handed maneuver.

Suggested enhancement:  Have window display/focus commands (such as Cmd-0, Cmd-7, Ctl-Shift-1, Cmd-Shift-1, etc.) make the window revert to its inactive state if it is already exposed and selected.  It's useless to have a window-fronting command that is idempotent.

There's usually another keyboard accelerator to undo the effect of a window display/focus command, but it varies from command to command.  For popups it is often Escape.  For docked windows it is something else which I haven't learned yet.  For transitions from Editor windows to project browsers (Cmd-Shift-1) the undo command is Enter (to invoke the Editor on the selected project member).  It's hard to keep track of how to get around, and making the focusing commands self-undoing (or at least cycling) would make it much easier to wander around the UI.

Thanks for listening.

Product Version = NetBeans IDE 7.0 RC2 (Build 201104070802)
Operating System = Mac OS X version 10.6.7 running on x86_64
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) 64-Bit Server VM 19.1-b02-334