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 - Installer check boxes do not play nice with linux themes
Summary: Installer check boxes do not play nice with linux themes
Status: RESOLVED WONTFIX
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 21:37 UTC by tonybeckham
Modified: 2009-06-24 09:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Good behavior example that plugin has (21.50 KB, image/png)
2008-08-01 21:39 UTC, tonybeckham
Details
Bad behavior that installer and uninstaller have (66.71 KB, image/png)
2008-08-01 21:39 UTC, tonybeckham
Details
Installation log (3.15 KB, text/plain)
2008-08-12 19:18 UTC, tonybeckham
Details
.nbi/log file (1.96 MB, text/plain)
2008-08-12 19:34 UTC, tonybeckham
Details
Ubuntu default theme license agreement (bad behavior) (57.88 KB, image/png)
2008-08-14 03:21 UTC, tonybeckham
Details
Glossy theme and installer window (422.73 KB, image/png)
2008-08-14 09:40 UTC, dlipin
Details
NBI engine which dumps UIManager defaults (1.00 MB, application/octet-stream)
2008-08-14 10:24 UTC, dlipin
Details
Output of nbi-engine.jar (11.49 KB, text/plain)
2008-08-14 18:14 UTC, tonybeckham
Details
JCheckBox demo (3.58 KB, application/octet-stream)
2008-08-15 18:39 UTC, dlipin
Details
Screen shots from demo on 1.5, 1.6 and OpenJDK (55.82 KB, text/plain)
2008-08-15 19:00 UTC, tonybeckham
Details
Screen shots from demo correct mime type (55.82 KB, application/x-compressed)
2008-08-15 19:01 UTC, tonybeckham
Details

Note You need to log in before you can comment on or make changes to this bug.
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.