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 171845 - "&Design" has the same accelerator as "&Debug"
Summary: "&Design" has the same accelerator as "&Debug"
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 19:02 UTC by Miloslav Metelka
Modified: 2009-09-18 22:50 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2009-09-09 19:02:09 UTC
When I try to e.g. &Debug->Appl&y code changes with Alt-D and Alt-Y in a form class's code I end up switching to design
mode due to accelerator conflict.
Comment 1 Michel Graciano 2009-09-09 20:12:51 UTC
Which should be the correct accelerator for Design? Maybe Desi&gn? I think we had an UI spec somewhere. :-D
We can address it by NetFIX imho.
Comment 2 Tomas Pavek 2009-09-10 11:09:37 UTC
I'd say the buttons in multiview should have no accelerator. When in Design, switch to Source via Alt+S does not work 
anyway.

There are shortucts CTRL+ALT+PAGE UP/PAGE DOWN for switching between the multiview tabs.
Comment 3 Jan Stola 2009-09-10 13:26:52 UTC
> When in Design, switch to Source via Alt+S does not work anyway.

It works on my machine.

> I'd say the buttons in multiview should have no accelerator. 

If we agree on this then this issue should be fixed in core/multiview. It cannot be fixed in form by removal of the 
ampersand from the display name. Such removal would remove also the mnemonic from View > Editors menu which would 
violate honorable Main menu specification, see http://wiki.netbeans.org/MainMenu resp. 
http://wiki.netbeans.org/MainMenuView

> There are shortucts CTRL+ALT+PAGE UP/PAGE DOWN for switching between the multiview tabs.

How can user find this out? I am not able to find it anywhere in UI.
Comment 4 Michel Graciano 2009-09-10 14:06:17 UTC
The shortcuts are shown at 6.7.1 but not for daily builds...
Comment 5 Jan Stola 2009-09-10 17:29:26 UTC
It seems that there is an agreement on removal of accelarators from multiview. Reassigning to window system for 
evaluation: Could you, please, remove accelerators from multiview and use the letter prefixed by ampersand as mnemonic 
in View menu only? It also would be nice to advertize Ctrl+Alt+PgUp/PgDown accelerators somewhere (in a tooltip?).
Comment 6 Stanislav Aubrecht 2009-09-15 10:22:15 UTC
fixed

core-main f9e8d8a25af4
Comment 7 Quality Engineering 2009-09-18 22:50:53 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f9e8d8a25af4
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #171845 - don't show mnemonics in multiview toolbar