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 123060 - Reassigning shortcut for macro does not work
Summary: Reassigning shortcut for macro does not work
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Macros (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 14:45 UTC by Jiri Prox
Modified: 2008-05-28 14:31 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 Jiri Prox 2007-11-29 14:45:56 UTC
Product Version: NetBeans IDE Dev (Build 20071126023625)
Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06
System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)

Reassigning used shortcut between macros in Editor Options -> Macros does not work. The shortcut is shown for both
macros and if used in editor the old macro is invoked.

Steps to reproduce:
1) create macro m1 and assign shortcut alt-m to it
2) create macro m2
3) open Tools->Options->Editor->Macro
4) select m2 and press Set Shortcut
5) use the same shortcut as m1
-> dialog says that the short will be reassigned, but after the confirmation both macros has the same shortcut in the
table and when it is used in the editor the m1 is called

Reassigning in Options->Keymap works fine.
Comment 1 Vitezslav Stejskal 2007-12-03 10:19:31 UTC
Reprodicuble in a dev build.
Comment 2 Max Sauer 2008-03-16 20:08:08 UTC
Fixed by:
http://hg.netbeans.org/main/rev/1cd89120eee8

Comment 3 Jiri Prox 2008-05-28 14:31:20 UTC
v.