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.
Product Version: NetBeans IDE Dev (Build 200707031200) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) Userdir: /home/petr/.netbeans/dev Selected tab is not fully visible - see attached screenshot.
Created attachment 44925 [details] plugin manager screenshot
L&F problem. I don't plan to do whatever in PluginManager - even more this problem is or can be reported against every component that uses JTabedPane.
Radek, sorry but I have to reopen, as I don't see the problem in SwingSet2,all JTabbedPanes look OK, so it may be something ours...could you check the borders, it looks like something is painting over selected tab, which is higher then others.
the same symptom for JTabbedPane in: autoupdate/ui - org/netbeans/modules/autoupdate/ui/PluginManagerUI.java core/options - org/netbeans/modules/options/advanced/AdvancedPanel.java
Default border of JTabbedPane is SynthBorder with insets [2,2,2,2] but you set EmptyBorder with insets [1,1,1,1]. To fix this issue I recommend to set EmptyBorder [2,2,2,2] or leave default border for GTK L&F. I tested both cases are it is correct. (For Metal default border is null.) I assume GTK L&F uses these 2 border pixels on top to make selected tab 2 pixels higher. Hopefully this will not be more pixels on another theme. To be safe I would leave default border for JTabbedPane on GTK L&F. In Options I do not see any tabbed pane with this problem. In AdvancedPanel I do not see any setBorder on JTabbedPane.
moving opened issues from TM <= 6.1 to TM=Dev
Reassigning to the new "autoupdate/*" owner dlipin.
I removed the empty border entirely (core-main #d641b0358862) since I saw no regressions on XP, Vista L&F as well as GTK and Metal. Please verify.
Integrated into 'main-golden', will be available in build *200811200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d641b0358862 User: Dmitry Lipin <dlipin@netbeans.org> Log: Issue #109329 Selected tab in Plugin Manager is cropped in GTK
I'm sorry to reopen, but plugin manager tabs looks still the same on Ubuntu 8.10, GNOME, default theme: Product Version: NetBeans IDE Dev (Build 200811200201) Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15 System: Linux version 2.6.27-7-generic running on i386; UTF-8; en_US (nb) Userdir: /home/petr/.netbeans/dev Uppermost pixel line of the tab is still missing.
Looks like the problem happens only with the "Human" theme - I can`t reproduce the issue with any other.
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team