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.
Ubuntu Linux, JDK 6.0u2, custom theme (Simple controls, Metabox window borders) The toolbar dragger looks like it is missing the right and bottom border/shadow. See the attached screenshot where is comparison of our toolbar with SwingSet2 demo's toolbar. The result is that our toolbar dragger looks ugly.
Created attachment 43192 [details] Screenshot
To be fixed soon, TM = 6.0beta1.
Marku, do we draw dragger by ourselves?
I will look at it. We retrieve UI resource (icon) from L&F.
Painting of dragger icon is inconsistent. To make it looking better I increased height of dragger and have to paint it from y=-1 instead of y=0. I attach some screenshots of SwingSet2 and IDE for Nimbus and Human (Ubuntu) theme. Please check another themes.
Increased height of dragger icon for GTK L&F: /cvs/openide/loaders/src/org/openide/awt/Toolbar.java new revision: 1.51; previous revision: 1.50 Tested with JDK 7 b14.
Fix has nothing to do with right shadow border of dragger. Code retrieves dragger width (ie. our code does not set it) and then invoke paint into given region which has width set to width returned by L&F. I tried simple controls (customize Human theme) but I have no idea where shadow (border) between dragger and rest of toolbar in SwingSet2 comes from. (In other words who is responsible for shadow painting.) I can only say that it is NOT part of dragger.
Created attachment 44676 [details] swingset-human
Created attachment 44677 [details] swingset-nimbus
Created attachment 44678 [details] ide-human
Created attachment 44679 [details] ide-nimbus
verified in Ubuntu (Simple/Metabox). Product Version: NetBeans IDE Dev (Build 200707120000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) Userdir: /home/petr/.netbeans/dev