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.
NetBeans build 201208200933 JDK 7u5 64-bit The new Open Recent File action works like a charm. But I wanted to remap it to have Ctrl+Shift+T for a shortcut instead of Ctrl+Alt+T. So I went into the Keymap options, and set the new value. A warning was displayed that the mapping is already in use, and I chose to remove the old key mapping. However, the newly set shortcut was not working. So I tried to reset the shortcut to default, but that did not in fact do anything. Then I manually set Open Recent File as well as Go To Test (Ctrl+Shift+T by default) back to what they were. This worked as expected. Lastly I cleared Go To Test first and then set Open Recent File to my desired shortcut. This worked. So something weird is going on, with the process for changing the key bindings sometimes misbehaving.
Did you use a pristine userdir, or have you imported your old settings when installing NB 7.3 dev ? Please could you zip&attach the Keymap part of your userdir/config ? Thanks.
The userdir has been around since early 7.2 dev days, but I never imported anything. I deleted the Keymap folder to see whether I could reproduce the issue, and it still happens. Even weirder, when I removed both and added it again to get it to work as described above and then restarted, the key binding did again not work. Curiouser and curiouser. :)
Created attachment 123651 [details] Keymaps folder
Observation: when when Open Recent File is redefined to CS-T, and the original Go To Test action cleared (after prompt), the CS-T shortcut does not work. Does nothing observable to be correct. After IDE restart, CS-T is working. NB Keymap dir after the above operation is in the state as exhibited in the attachment
Changeset: 936a24ecaf77 Author: Svata Dedic <sdedic@netbeans.org> Date: 2012-08-28 16:42 Message: Issue #217497 - Keyboard shortcuts for Open Recent File misbehaving: fixed The .removed mask-out markers must be processed textually, not as KeyStrokes, to avoid removing user-defined or profile-defined shortcuts. Testcase added.
Thanks for a really fast fix! :D
Integrated into 'main-golden', will be available in build *201208300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/936a24ecaf77 User: Svata Dedic <sdedic@netbeans.org> Log: Issue #217497 - Keyboard shortcuts for Open Recent File misbehaving: fixed The .removed mask-out markers must be processed textually, not as KeyStrokes, to avoid removing user-defined or profile-defined shortcuts. Testcase added.
Verified with build 201208300001.