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 206908 - Old shortcuts works even after change
Summary: Old shortcuts works even after change
Status: STARTED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 7.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-04 14:34 UTC by ttokoly
Modified: 2013-05-30 14:03 UTC (History)
1 user (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 ttokoly 2012-01-04 14:34:37 UTC
Product Version: NetBeans IDE Dev (Build 201201030601)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-14-generic running on i386; UTF-8; en_US (nb)

1. Run IDE
2. Change some shortcuts to other then default and try them (in main menu Tools | Options, card Keymap) - e.g. change shortcut for Files (Ctrl+2) to Ctrl+Alt+G and Favorites (Ctrl+3) to Ctrl+Shift+G and push OK).

Newly assigned shortcuts works fine, but old ones works too - till restart of IDE.

If you change Files to Ctrl+Alt+G and Favorites to Ctrl+2 it works same - Ctrl+Alt+G opens Files and Ctrl+2 and Ctrl+3 opens Favorites.
Comment 1 Jaroslav Tulach 2012-05-18 08:17:20 UTC
Probably not very critical bug => P4.

The shortcuts are stored as a property of actions as far as I remember and probably by assigning new one, something, somewhere is not cleared.
Comment 2 Jaroslav Tulach 2012-05-18 08:22:54 UTC
I guess the bigger problem is that Windows/Favorites  menu item continues to show the old shortcut until the IDE is restarted. That seems to warrant P3 priority.
Comment 3 Jaroslav Tulach 2012-05-18 09:28:44 UTC
It turns out that the old shortcuts works only until you open the appropriate menu. If you change the shortcut for Favorites and then open the Window menu, the shortcuts on Favorites menu item is updated and the old one no longer works.