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 142650

Summary: Installer check boxes do not play nice with linux themes
Product: installer Reporter: tonybeckham <tonybeckham>
Component: NBIAssignee: issues@installer <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Good behavior example that plugin has
Bad behavior that installer and uninstaller have
Installation log
.nbi/log file
Ubuntu default theme license agreement (bad behavior)
Glossy theme and installer window
NBI engine which dumps UIManager defaults
Output of nbi-engine.jar
JCheckBox demo
Screen shots from demo on 1.5, 1.6 and OpenJDK
Screen shots from demo correct mime type

Description tonybeckham 2008-08-01 21:37:51 UTC
The check box for agree to terms of license when installing have bad behavior on linux.  The same behavior can be seen
when uninstalling when you check the box to uninstall runtimes as well.  However, the normal behavior for check boxes is
fine in plugin manager.

Attaching 2 screen shots. 1 of them depicts installer license agreement, the other proper display from plugin manager.

System
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Linux version 2.6.24-20-generic running on i386; UTF-8; en_US (nb)
Comment 1 tonybeckham 2008-08-01 21:39:23 UTC
Created attachment 66354 [details]
Good behavior example that plugin has
Comment 2 tonybeckham 2008-08-01 21:39:56 UTC
Created attachment 66355 [details]
Bad behavior that installer and uninstaller have
Comment 3 dlipin 2008-08-01 21:53:54 UTC
what is the linux flavour, what is the theme, what is the desktop manager?
lowering to P4.
Comment 4 dlipin 2008-08-01 21:55:14 UTC
please also attach the installation log.
Comment 5 tonybeckham 2008-08-12 18:32:18 UTC
Ubuntu, no desktop effects, using GTK2 theme.
Comment 6 tonybeckham 2008-08-12 19:18:12 UTC
Created attachment 67164 [details]
Installation log
Comment 7 dlipin 2008-08-12 19:30:11 UTC
Tony,

Sorry for not been clear. Please attach the latest installation log from ~/.nbi/log folder.

thanks,
Dmitry
Comment 8 tonybeckham 2008-08-12 19:34:07 UTC
Created attachment 67168 [details]
.nbi/log file
Comment 9 dlipin 2008-08-12 19:44:26 UTC
thanks, I`ll check.
Comment 10 dlipin 2008-08-13 23:18:29 UTC
Tony,

do you have Mac4lin installed by chance?
Comment 11 tonybeckham 2008-08-14 03:06:04 UTC
No, I do not have mac4lin.
Comment 12 tonybeckham 2008-08-14 03:19:57 UTC
Is mac4lin a theme?  As far as theme goes, I have Glossy P controls and Window Boarders, with no effects.  Switching to
default Human theme in Ubuntu has same behavior, just not as noticeable (see screen shot). 
Comment 13 tonybeckham 2008-08-14 03:21:35 UTC
Created attachment 67340 [details]
Ubuntu default theme license agreement (bad behavior)
Comment 14 dlipin 2008-08-14 09:39:59 UTC
I could not reproduce it with OpenJDK and Glossy theme.
Comment 15 dlipin 2008-08-14 09:40:40 UTC
Created attachment 67383 [details]
Glossy theme and installer window
Comment 16 dlipin 2008-08-14 10:23:08 UTC
Tony,

could you please run the attached jar and attach its output to this issue?
(when UI is shown, you can close it - and the process ends).

Thanks,
dmitry
Comment 17 dlipin 2008-08-14 10:24:06 UTC
Created attachment 67387 [details]
NBI engine which dumps UIManager defaults
Comment 18 tonybeckham 2008-08-14 18:14:03 UTC
Created attachment 67447 [details]
Output of nbi-engine.jar
Comment 19 tonybeckham 2008-08-14 18:16:15 UTC
I ran the jar and added an attachment of the output.
Comment 20 dlipin 2008-08-15 13:19:16 UTC
Tony, could you please try the attached demo?

It will show JCheckBox in the JFrame for 5 seconds - first, with Metal L&F, then with GTK L&F, then with Nimbus (if you 
run in jdk6u10).

If looks bad on GTK and fine on Metal and Nimbus, then, please, make 3 screenshots - one for each L&F.
If possible please do such series for different JDKs - openjdk, 1.5.0_16, 6u10.
If everything looks fine - please let me know.

Thanks in advance:) 
Comment 21 tonybeckham 2008-08-15 18:37:18 UTC
Demo was not attached
Comment 22 dlipin 2008-08-15 18:39:30 UTC
Created attachment 67561 [details]
JCheckBox demo
Comment 23 dlipin 2008-08-15 18:40:01 UTC
Uups..sorry. now should be attached.
Comment 24 tonybeckham 2008-08-15 18:59:05 UTC
I ran demo with all 3 jdk's.  1.5.0_16 was the worst rendering of GTK. OpenJDK and 1.6.0_10 at least looked better w/
GTK and nimbus was fine w/ 1.6.0_10.

Attaching screen shots. 
Comment 25 tonybeckham 2008-08-15 19:00:04 UTC
Created attachment 67562 [details]
Screen shots from demo on 1.5, 1.6 and OpenJDK
Comment 26 tonybeckham 2008-08-15 19:01:52 UTC
Created attachment 67563 [details]
Screen shots from demo correct mime type
Comment 27 dlipin 2008-08-15 19:18:24 UTC
Thanks, Tony,
One more question : are you using KDE or GNOME? which version?

I`ve filed CR6737737 in bugster on that issue and added you in the interest list.
Comment 28 tonybeckham 2008-08-15 19:20:37 UTC
Thanks, BTW, I use GNOME.
Comment 29 dlipin 2009-06-24 09:17:52 UTC
The JDK bug was marked as wontfix so we can`t do much about it.