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.
Summary: | Debug toolbar sized incorrectly on Solaris 11, JDK 6u3, Nimbus theme | ||
---|---|---|---|
Product: | platform | Reporter: | Alexander Pepin <apepin> |
Component: | Window System | Assignee: | mslama <mslama> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dsimonek, ivan, mmirilovic, pchytil |
Priority: | P3 | Keywords: | GTK |
Version: | 6.x | ||
Hardware: | All | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexander Pepin
2007-11-30 19:48:09 UTC
- first issue is JDK/gtk support issue, we can't do anything with it. ccing Marek which had some info about this I remember - as for second issue - is it reproducible only on Solaris? It seems I can't reproduce myself... Please notice that these are solaris 11 (Solaris Express) issues. To reproduce them you need to have snv_77 solaris build or later. First issue is known and already filed against JDK. It happens also on last Ubuntu Gutsy. Issue is http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6624717. I will check second issue. I reproduced toolbar issue on Solaris 11, b80 and JDK 6u4 FCS ie. b12, 6u10 b10 (actually nightly build ie. not promoted). It works better on JDK 7 b24 - it creates 2 toolbar rows but at least debug toolbar height stays correct.. (We do not support GTK LnF with JDK 5.0 so I did not test with it.) It is enough to just show (enable) Debug toolbar from toolbar popup menu. Seems like problem with layout manager. I will try to find out what happens. It happens only on Nimbus L&F. It looks like some icons from debug toolbar report greater height. Workaround is to set greater preferred height for toolbar on GTK LnF. I increased height by 2 both for small 16x16 and big 24x24 icon size. Modified: /cvs/openide/loaders/src/org/openide/awt/Toolbar.java new revision: 1.54; previous revision: 1.53 Correction: I meant Nimbus desktop theme on Solaris 11 NOT Nimbus LnF. So it is Nimbus theme on GTK LnF. I'm seeing the same (second) problem now in Solaris9 with Motif! This is in 6.1 and 6.0 code. Except it's the Build toolbar not the Debug toolbar. I'm also wary of the "fix" Why would icons report a bigger size? Which icons? Isn't that a bug in the icon? Why is toolbar accomodating a "bad icon"? It was only on Nimbus theme. I assume if there would be problem with icon it would happen on more themes. I suspect it was some problem with painting icons or their preferred size on Nimbus theme. I did small adjustment of toolbar preferred height and it solved problem so I did not investigate it further. (Even if I would I only checked icons from Debug toolbar and did not find any difference in their size. We do not support Motif L&F. We support only Metal and GTK. We are working on new Nimbus L&F but it will n ot get into NB 6.1. I will check anyway what happens on Motif. |