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.
Product Version = NetBeans IDE 7.1 (Build 201112071828) Operating System = Linux version 2.6.35-32-generic running on amd64 Java; VM; Vendor = 1.6.0_26 Runtime = Java HotSpot(TM) 64-Bit Server VM 20.1-b02 I have a custom keymap. I attempt to assign ALT+F7 to "Find Usages" in the Refactor category, but the key mapping does not take effect, and when I option the options dialog again the keymapping is gone. Screen shot coming shortly.
Created attachment 115472 [details] Screen shot of problem This shows options dialog after I've entered ALT+F7 for "Find Usages". From here I click OK. When I return to this dialog, the ALT+F7 mapping is gone.
Can you please start IDE with the fresh user dir and try to reassign the shortcuts? Does this problem occur? Is this reproducible with other shortcuts and actions? Thanks
By "fresh user dir" I assume you mean ~/.netbeans ? Doing this made it work correctly. I went back to my original user directory and created a new keymap profile as a duplicate of the "Netbeans" profile. It also works correctly. Perhaps there is some kind of conversion/import issue? It worked fine under 7.0.
So what is the reproduction scenario - did you encounter the bug only when you've imported your previous 7.0 settings (with a custom keymap) into 7.1 ? Or did you cloned the misc keymap in 7.1 ? Which profile did you originally cloned to create the 'misc' keymap ? Thanks.
It was working properly in 7.0. The problem started when I imported my 7.0 settings into 7.1. I originally cloned the "NetBeans" keymap to make my custom profile. I don't remember which version I was in when I did that clone.
So you first cloned a keymap from "NetBeans" (probably in 7.0, maybe even earlier version), then imported those settings into fresh 7.1 installation. Then you've tried to change your keymap contents, and the change did not persist. Is that correct ?
That is exactly correct.
OK, found some inconsistency: 1/ installed fresh 7.0, changed Find Usages from default alt-f7 to alt-f11, and Find Usages Results to Shift-Alt-F11. 2/ installed fresh 7.1, imported settings. * Find usages shortcut is gone. Find Usages Results is still there ! * Setting it to Alt-F11 does nothing * Setting back to Alt-F7 (the default) suprisingly worked. Testing further...
Culprit found. During 7.1 relase cycle, the action ID of the 'Find usages' has changed. Therefore old settings, which use that obsolete ID will be just ignored, as if there was no shortcut for the action. Note that if the shortcut had not been changed by the user (or cloned into a custom keymap), nothing would have been stored and no problem would show up.
*** Bug 208719 has been marked as a duplicate of this bug. ***
fixed in jet-main #1273b3216363
Integrated into 'main-golden', will be available in build *201203240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1273b3216363 User: Svata Dedic <sdedic@netbeans.org> Log: #208058: added translation for obsolete action filename