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 241320

Summary: [Introduce] Shortcut label is sometime invisible
Product: java Reporter: ssazonov
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: RANDOM
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Ubuntu
Windows
Mac

Description ssazonov 2014-02-03 11:03:24 UTC
Put caret at appropriate place in code and observe main menu Refactor > Introduce...

>> Shortcuts for Introduce Variable, Constant, Field, Method are sometime invisible (see attached image)

Product Version: NetBeans IDE Dev (Build 201402030001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b67
Runtime: Java(TM) SE Runtime Environment 1.8.0-b126
System: Linux version 3.8.0-19-generic running on amd64; UTF-8; en_US (nb)
Comment 1 ssazonov 2014-02-03 12:02:38 UTC
Created attachment 144723 [details]
Ubuntu
Comment 2 Svata Dedic 2014-02-05 16:26:12 UTC
Worksforme. Please include more detailed reproduction steps or conditions to tweak/change to increase the probability to hit the bug.
Comment 3 ssazonov 2014-02-07 13:39:04 UTC
Created attachment 144912 [details]
Windows
Comment 4 ssazonov 2014-02-07 13:39:29 UTC
Created attachment 144913 [details]
Mac
Comment 5 ssazonov 2014-02-07 13:45:16 UTC
This is common error, I was able to reproduce it on Windows and Mac (see addition screenshots). For increasing probability of reproducing try:

1. Close all tabs in editor (it's important!)

2. Right click any java class and in pop-up menu navigate to refactor > Introduce...

>> In most cases shortcut label is presented only for: Parameter, Local extension...

You may also try to invoke Refactor > Introduce... fro diferent place: Project Vie, main menu, editor

Product Version: NetBeans IDE Dev (Build 201402050001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b128
System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb)   

Product Version: NetBeans IDE Dev (Build 201402050001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b67
Runtime: Java(TM) SE Runtime Environment 1.8.0-b126
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 6 Martin Balin 2016-07-07 07:17:16 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