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 99618 - Whitespace at bottom of menu
Summary: Whitespace at bottom of menu
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: GTK, L&F
Depends on:
Blocks:
 
Reported: 2007-03-31 19:45 UTC by hobel
Modified: 2008-12-22 11:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hobel 2007-03-31 19:45:30 UTC
I'm running NetBeans 6.0M8 on Java 1.6.0_01 on Linux, Gtk, Clearlooks theme.

When I start up NetBeans and click on a menu (i.e. open/expand that menu), there
is some whitespace below the bottommost menu item that does not belong there. 
When I open the same menu a second time, the whitespace does not appear.

Not sure if this is Swing, NetBeans, Gtk or whatever.  Other than that, NetBeans
looks more fantastic than ever on Gtk (either due to Gtk changes from Java 1.6.0
to 1.6.0_01 or due to changes between NB milestones 7 and 8), especially if
you're forced to work with Eclipse every day!
Comment 1 Marian Mirilovic 2007-04-02 08:58:05 UTC
Thanks for your report, we'll look at this.
Comment 2 David Simonek 2007-04-02 09:23:10 UTC
I didn't encounter such bug on my Linux, but I have older Fedora Core, sothis
may be the case. Reporter, what Linux distro and window manager do you have? Thanks.
Comment 3 hobel 2007-04-02 12:42:06 UTC
I'm running Ubuntu 6.10 with normal Gnome desktop (i.e. metacity WM) and
Clearlooks theme.  I also used the most recent Java (1.6.0_01, or Java SE 6u1)
from Sun, which included some L+F changes.

Just notice this in the Java release notes
(http://java.sun.com/javase/6/webnotes/ReleaseNotes.html):
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6492110

Maybe that's related to the problem.  It's NetBeans specific, though.  For
instance JEdit with Gtk L+F does not have the problem.
Comment 4 David Simonek 2007-04-02 14:45:45 UTC
Could you please test on SwingSet2 demo coming with JDK? I tend to think this is
JDK specific, not NetBeans specific...
Comment 5 hobel 2007-04-02 15:01:20 UTC
SwingSet2 in GTk-L+F does now show the menu behavior.

Neither does JEdit with GTk-L+F.
Comment 6 David Simonek 2007-04-02 16:52:03 UTC
Than it's probably ours, although strange...
Comment 7 David Simonek 2007-07-10 15:41:51 UTC
Hmm, I created small test Swing app and reproduced the problem, so unfortunately it's JDK/Swing.

Entered jdk bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6578726