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.
Summary: | Keyboard access problems w/ generate getter/setter dlg | ||
---|---|---|---|
Product: | java | Reporter: | _ tboudreau <tboudreau> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | leonchiver, markiewb, saubrecht |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Simple patch to accept CTRL+Enter for the default button action |
Description
_ tboudreau
2007-04-12 20:10:57 UTC
Additional to this problem, I found another one: in all 'Generate (some stuff)' dialogs, you can select variables, methods etc. with the Enter key. But you can close the dialog only with the mouse. Almost all of the NetBean's dialogs accept CTRL+Enter for the default button, so I did fix that on my computer, and have a simple patch. Created attachment 41224 [details]
Simple patch to accept CTRL+Enter for the default button action
Shoud be fixed now by saubrecht Still some problems in conjunction with quick search: Create a subclass of TreeScanner. Alt-Insert, choose Override Methods. Using the keyboard, arrow down and expand TreeScanner. Type "visitId" to locate visitIdentifier. Pressing enter should select just that method and close the dialog; pressing space should select that method. What actually happens (probably because of focus transfer from the quick search window): Space *deselects* visitIdentifier. Enter closes the dialog doing nothing. Obsolete milestone, please reevaluate I'd suggest adding an API request for an actual explorer list/tree view with checkboxes, that really supports this sort of thing. Implementing it any other way is going to be one or another butt-ugly hack. Dusane, please take a look at it. Should be easy to fix. Reproducible in 7.1 Beta. A workaround is the following using NetBeans IDE Dev (Build 201205090400) /7.2. Create a subclass of TreeScanner. Alt-Insert, choose Override Methods. Using the keyboard, arrow down and expand TreeScanner. Type "visitId" to locate visitIdentifier. Press 'enter' --> quicksearch window disappears (!!! thats the trick!!!) Press 'space' --> method gets selected Press 'enter' --> the default action 'Generate' is invoked Set target-milestone of open issue to TBD (was < 7.3, f.e. 6.8), so the issue doesn't get lost. Set target-milestone of open issue to TBD (was < 7.3, f.e. 6.8), so the issue doesn't get lost. This time the target milestone is really set. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |