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 206089

Summary: F1 not working in dialogs
Product: platform Reporter: Tomas Pavek <tpavek>
Component: Help SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: jglick
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 206093    
Bug Blocks:    

Description Tomas Pavek 2011-12-07 15:04:59 UTC
F1 does not work in dialogs (does not show help). It actually starts working after using F1 out of a dialog (from a TopComponent).

In dialogs ShortcutAndMenuKeyEventProcessor checks the actions for "OpenIDE-Transmodal-Action" value. HelpAction has this value, but the action in global key map is an AlwaysEnabledAction wrapper. It seems that until it resolves the delegate action, it does not return "OpenIDE-Transmodal-Action" value correctly.
Comment 1 Jesse Glick 2011-12-07 15:21:10 UTC
My fault, due to 5f9b9faab179. Have to implement one of several interfaces just to convince the @AR processor that this cannot be a lazy action.
Comment 2 Jesse Glick 2011-12-07 15:38:24 UTC
core-main #3b3c950285e3
Comment 3 Quality Engineering 2011-12-08 12:10:05 UTC
Integrated into 'main-golden', will be available in build *201112080600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3b3c950285e3
User: Jesse Glick <jglick@netbeans.org>
Log: #206089: F1 not working in dialogs