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 144843 - [GTK] Main toolbar looks unprofessional on OpenSolaris
Summary: [GTK] Main toolbar looks unprofessional on OpenSolaris
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: L&F, UI
Depends on:
Blocks:
 
Reported: 2008-08-22 12:16 UTC by Roman Strobl
Modified: 2008-12-22 14:05 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Weird toolbar (49.70 KB, image/png)
2008-08-22 12:18 UTC, Roman Strobl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2008-08-22 12:16:36 UTC
Main toolbar of NetBeans looks unprofessional on OpenSolaris due to white toolbar handles. See attached screenshot. The
white handles are marked by circles. NetBeans should look good on OpenSolaris, because it is Sun's operating system.
Thus priority P2.
Comment 1 Roman Strobl 2008-08-22 12:18:28 UTC
Created attachment 68102 [details]
Weird toolbar
Comment 2 Milos Kleint 2008-08-22 16:01:50 UTC
dsimonek: do we have our own handles? or is it rather an JDK issue?

rstrobl: what version of JDK?

Comment 3 Roman Strobl 2008-08-22 16:07:14 UTC
It's on JDK 1.6.0_04 (default JDK version on OpenSolaris). But I've seen similar look on newer minor versions of JDK 6.
Comment 4 David Simonek 2008-08-25 10:51:24 UTC
AFAIK, it is JDK issue, there are standard handles from JDK AFAIK. mslama will know more...
Comment 5 David Simonek 2008-08-25 14:58:34 UTC
I checked nimbus specification:
https://nimbus.dev.java.net/spec/index.html
section JToolbar and white handles are there, even wider. So it's "as designed" from development part, every Java app
will look like this (try SwingSet). For changing current state, either you should ask for change in the spec and/or
change in JDK implementation.

I'm ccing HIE olangr, just for case.

Closing for now, as it's implemented "right" although I agree toolbar handles look a bit strange. Problem is we can't do
much more - painting our own custom handles is not an option as it won't match GTK themes generally.
Comment 6 Roman Strobl 2008-08-25 15:32:30 UTC
Hmm that is a pity because it makes NetBeans look unappealing in my opinion. Wasn't the original intention to have
toolbars look more like this?

https://nimbus.dev.java.net/spec/images/JToolbar.png

The separators are made of small dots and the toolbars look much better this way.
Comment 7 David Simonek 2008-08-25 15:59:01 UTC
Oh it's so hard to resolve such visual issues with just typing, but I'll try:

- Image that you linked shown *one* toolbar (represented by JToolbar), not toolbars. On each toolbar, there is one "drag
handle" on the very left part. Separators (dotted lines) are inside toolbar.
- NB area for toolbars contains several toolbars, each of them with drag handle, and I guess this is what you dislike...

IMHO nimbus L&F spec is designed for one toolbar only case, while NB system uses more toolbars, customizable by modules etc.

So in the end there is really no easy way out.

mslama may know more details or correct me if I'm wrong...
Comment 8 Ondrej Langr 2008-08-25 15:59:56 UTC
> Wasn't the original intention to have
> toolbars look more like this?
> 
> https://nimbus.dev.java.net/spec/images/JToolbar.png
> 
> The separators are made of small dots and the toolbars look much better this way.

Yes, that is correct. Although I'm not sure if is netbeans implementation issue or JDK issue.
Comment 9 Roman Strobl 2008-08-25 16:03:50 UTC
Thanks, I think I get now the difference between handles & separators. I suppose the best thing to do for me would be to
ask the Nimbus people to create a picture in the spec for multiple toolbars which are next to each other, right?
Comment 10 Ondrej Langr 2008-08-28 12:28:54 UTC
Yes, I agree. Getting in touch with you via e-mail ..
Comment 11 Ondrej Langr 2008-09-23 10:33:01 UTC
Filed as a change request against JDK #6750828. See http://bt2ws.central.sun.com/CrPrint?id=6750828