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 248550 - Some Function Key don't wotk immediately
Summary: Some Function Key don't wotk immediately
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 19:37 UTC by ngx472
Modified: 2014-11-10 19:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image 1 (19.78 KB, image/jpeg)
2014-11-10 19:37 UTC, ngx472
Details
Image 2 (13.87 KB, image/jpeg)
2014-11-10 19:37 UTC, ngx472
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ngx472 2014-11-10 19:37:04 UTC
Created attachment 150404 [details]
image 1

I declare a sublcass of CookieAction with F5 as a shortcut & keybinding

e.g.
@ActionID(id = "com.sqlbrowser.module.debugger.DebugStartAction", category = "Debug")
@ActionRegistration(displayName = "Start Debugger", lazy = false)
@ActionReferences(value = {
  @ActionReference(path = "Shortcuts", name = "F5"),
  @ActionReference(path = "Menu/&Debug", position = 341),
  @ActionReference(path = "Toolbars/Run", position = 351),
  @ActionReference(path = "Editors/Keybindings/NetBeans", name = "F5")
})

The Tools/Options confirms that F5 is attached to the desired Action
(image 1)

This shortcut does not work UNTIL the top level Menu which contains the F5 action is hovered
(image 2)

From this itme on, F5 work from the editor as expected
Comment 1 ngx472 2014-11-10 19:37:23 UTC
Created attachment 150405 [details]
Image 2