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 223726 - Hint popup needs to be invoked several times
Summary: Hint popup needs to be invoked several times
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-12 13:56 UTC by Jiri Prox
Modified: 2012-12-14 02:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2012-12-12 13:56:58 UTC
Sometimes the alt-enter must be pressed twice to show the hint popup.
This mostly happens when there are more hint at the same line.

Steps to reproduce:
1) enable split declaration and redundant cast hint
2) type:
String s = (String) "";
3) press alt-enter

-> in most cases nothing happens, the second pressing alt-enter opens the popup

Product Version: NetBeans IDE Dev (Build 201212120001)
Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 Jan Lahoda 2012-12-13 19:18:04 UTC
Thank you for the test case. Fixed:
http://hg.netbeans.org/jet-main/rev/624f0255cd06
Comment 2 Quality Engineering 2012-12-14 02:45:33 UTC
Integrated into 'main-golden', will be available in build *201212140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/624f0255cd06
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #223726: when the fixes popup is about to be shown, need to set the annotations synchronously.