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 117277 - Alt-P and alt-S do not work
Summary: Alt-P and alt-S do not work
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-01 10:50 UTC by _ gsporar
Modified: 2007-10-03 14:04 UTC (History)
0 users

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 _ gsporar 2007-10-01 10:50:31 UTC
When the Profiling Points window is open it is not possible to use Alt-S and Alt-P in order to open the IDE's top level
Source and Profile menus.  The problem is that Alt-S and Alt-P are being used in the Profiling Points window.  Would it
be possible to use keyboard shortcuts in the Profiling Points window that do not conflict?
Comment 1 Jiri Sedlacek 2007-10-01 11:03:25 UTC
It's possible, passing to olangr for evaluation and eventually new shortcuts. But in general I don't think it's a proper
solution since the mnemonics can vary for different localizations and there can be other items in IDE toolbar for other
add-on features. This should be handled by the windowing system somehow.
Comment 2 Ondrej Langr 2007-10-03 13:12:33 UTC
Exactly as Jirka said, the mnemonics do change in localized versions of NetBeans so changing the mnemonic for elements
in Profiling Points window would solve this particular issue but would not prevent this kind of issues to appear in the
future (for example see IZ114950, the same thing). The only proper solution for the future is to have some automatic
system to detect and resolve these conflicts in such a way that main menu items always keep their mnemonics. As a simple
fix for 6.0, I suggest to change the mnemonics as follows:

Project combobox: Alt + P -> Alt + O
Inlude checkbox:  Alt + S -> Alt + C
Comment 3 Jiri Sedlacek 2007-10-03 14:04:14 UTC
Fixed for Beta2.