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 16111 - [annotations]Change of some properties has no effect.
Summary: [annotations]Change of some properties has no effect.
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-02 11:46 UTC by Jan Lahoda
Modified: 2007-11-05 13:44 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 Jan Lahoda 2001-10-02 11:46:35 UTC
Property: Options/Editting/AnnotationsTypes/DrawGlyphs over Line Number
Default is true.
1. Open some file in editor
2. Switch on line numbers
3. Put some annotations (bookmarks, for example) to file
4. Switch the above property to "false".
5. The chnage is *NOT* visible.
6. Change property: Options/Editting/AnnotationsTypes/DrawGlyphs on Background
7. Both changes are visible.

My build number is 200110020100.
Comment 1 David Konecny 2001-10-02 11:57:12 UTC
I changed the property listeners to Weak and so it probably caused 
this error. I will fix it ASAP.

btw. is this really P2? I don't have any problem with that, but I'm 
sure user can live with this bug without problems. They just need to 
restart the IDE and everything is OK. And the annotations settings are 
 not the ones which user would want to change often (probably these 
settings will be changed very rarely).
Comment 2 David Konecny 2001-10-02 13:16:02 UTC
Weak PropertyChange listener was not referenced and so it has been 
released.

Fixed in file:
Checking in libsrc/org/netbeans/editor/GlyphGutter.java;
new revision: 1.11; previous revision: 1.10
Comment 3 Jan Lahoda 2001-10-03 09:32:11 UTC
Verified in build 200110030100.
Comment 4 Quality Engineering 2003-06-30 18:11:02 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.