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 195286 - annotation icons are not removed from side bar anymore
Summary: annotation icons are not removed from side bar anymore
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-02-10 11:48 UTC by Vladimir Voskresensky
Modified: 2011-02-16 11:45 UTC (History)
1 user (show)

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 Vladimir Voskresensky 2011-02-10 11:48:19 UTC
I can observe the following in the recent builds (in Java editor and C++ editor as well):
- removed annotation is not removed from side bar

test case:
open any java file and type
int1 d[];
=> int1 is under waived + error message in side bar appears.
then put cursor before '1' (like "int|1" )
and press Delete button
=> waive disappears, but annotation on side bar remains
Comment 1 Jan Lahoda 2011-02-10 13:55:13 UTC
Actually, it is more that the gutter is not repaint:
http://hg.netbeans.org/jet-main/rev/6369e45b6bb7
Comment 2 Quality Engineering 2011-02-16 11:45:49 UTC
Integrated into 'main-golden', will be available in build *201102160501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/6369e45b6bb7
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #195286: more careful removing of annotations inside insert/removeUpdate, so that the GlyphGutter can use textUI.getYFromPos safely.