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 181985

Summary: Incorrect/static tooltip for "Back" action in editor UI.
Product: editor Reporter: kavon90
Component: Key bindingsAssignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot of issue

Description kavon90 2010-03-13 23:01:59 UTC
Created attachment 95132 [details]
screenshot of issue

Hovering over the Back action in the editor always shows the tooltip "Back (Alt+KP_LEFT)" rather than changing to what the current binding is. 

I tried changing it to something like Ctrl+Alt+Shift+LEFT and it remained the same, whereas changing Forward to something different resulted in a new tooltip text.
Comment 1 Vitezslav Stejskal 2010-03-15 15:32:18 UTC
In general, an action can have multiple shortcuts (keybindings) assigned. In the Tools-Options -> Keymap one is marked as the primary shortcut and the rest are alternative shortcuts. AFAIK Back and Forward have each two shortcuts assigned and changing the alternative or adding another alternative won't update the action's tooltip. Is this the case?
Comment 2 kavon90 2010-03-15 16:51:44 UTC
Back's alternative shortcut is Alt+KP_LEFT and it's primary (regular I suppose) shortcut is Alt+LEFT. Changing the alternative Back shortcut results in a tooltip change, which seems to be the real cause.
Comment 3 Vitezslav Stejskal 2010-03-15 18:22:16 UTC
I see. Thanks for the info.
Comment 4 Martin Balin 2016-07-07 07:26:23 UTC
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