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.
Product Version: NetBeans IDE Dev (Build 200803031206) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: SunOS version 5.11 running on x86; ISO646-US; en (nb) On Solaris, I cannot see revision numbers (for source code lines) in the left column after I select 'Show annotations' for that file. On the other hand, in the right column there are version 'stripes' related to different versions of this file. Please, is there any way how to get revision numbers to the annotations column? On other platforms, revision numbers are displayed implicitly after 'Show annotations', I think.
Created attachment 57726 [details] screenshot (revision numbers are missing in the left column)
could you please check if this is also reproducible with another vcs? cvs or mercurial. thanks
ok. ppis reproduced on solaris 10, jdk1.5.0_12
Doesn't work all VCS integrations.
I took a look inside AnnotationBar.paintComponent() and the bar's location as returned by JComponent.getLocation() method is [59, 2700] which is why the bar is not completely visible. AFAIK I am not setting the location explicitly, editor please evaluate.
*** Issue 129263 has been marked as a duplicate of this issue. ***
Ok, I'm going to investigate this.
I'm not sure why this got broken without any apparent change, but the AnnotationBar component seems to override getMaximumSize() and provide wrong dimensions, which confuses the layout manager. I was able to restore correct behavior simply by commenting out this method. I'm going to check annotation panels in the other VCS modules as well and commit the changes.
I pushed the changes. VCS guys please review. http://hg.netbeans.org/main/rev/2832dd1eab96
.
I have no problems with changes made as long as they solve the issue. Thanks for the effort. I wonder why it suddenly stopped working after 2 years.
verified for CVS on Product Version: NetBeans IDE Dev (Build 200803170003) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: SunOS version 5.11 running on x86; ISO646-US; en (nb)
*** Issue 131244 has been marked as a duplicate of this issue. ***
Still reproducible in current trunk.
Ok, I'll have a look again...
Strange, it's working fine in my build from this morning. I also downloaded the build from release61 clone and checked that it's working there again.
I can always reproduce it on Windows XP SP2 with JDK 6.0u4, what is your setup?
Reopen. Try to view annotations for org.netbeans.modules.form.FormUtils for example.
For some reason the max size was still not right. It looks like it's set to 32767 by default, which is not enough for long documents. So I changed the four AnnotationBar classes I am aware of to set the max size explicitly to Integer.MAX_VALUE. I tested it only with Mercurial and the FormUtils file, which Petr suggested. Somebody should test the other VCSes too. I assume that this needs to be merged to release61 clone. But I'll leave this to VCS folks since the defect was actually in their code. :-) http://hg.netbeans.org/main/rev/3d9e60f2bbd4
Fixed in the main.
Verified for CVS and Subversion.
Integrated into release61. 08a7fa039c4c
verified in rc 200804040802 (Solaris - subversion, cvs)
*** Issue 132462 has been marked as a duplicate of this issue. ***