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 109329 - Selected tab in Plugin Manager is cropped in GTK with Human theme used
Summary: Selected tab in Plugin Manager is cropped in GTK with Human theme used
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: dlipin
URL:
Keywords: GTK
Depends on:
Blocks:
 
Reported: 2007-07-11 09:39 UTC by Petr Chytil
Modified: 2009-12-21 06:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
plugin manager screenshot (37.51 KB, image/png)
2007-07-11 09:40 UTC, Petr Chytil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Chytil 2007-07-11 09:39:41 UTC
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.
Comment 1 Petr Chytil 2007-07-11 09:40:16 UTC
Created attachment 44925 [details]
plugin manager screenshot
Comment 2 rmatous 2007-10-09 14:13:56 UTC
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.
Comment 3 David Simonek 2007-10-09 14:41:06 UTC
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.
Comment 4 rmatous 2007-10-10 08:42:07 UTC
the same symptom for JTabbedPane in:
autoupdate/ui - org/netbeans/modules/autoupdate/ui/PluginManagerUI.java
core/options - org/netbeans/modules/options/advanced/AdvancedPanel.java
Comment 5 mslama 2007-10-10 11:48:20 UTC
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.
Comment 6 Lukas Hasik 2008-04-10 21:30:00 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 7 Antonin Nebuzelsky 2008-11-14 15:31:27 UTC
Reassigning to the new "autoupdate/*" owner dlipin.
Comment 8 dlipin 2008-11-19 12:06:08 UTC
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.
Comment 9 Quality Engineering 2008-11-20 04:45:33 UTC
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
Comment 10 Petr Chytil 2008-11-21 15:07:03 UTC
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.
Comment 11 dlipin 2008-11-25 13:57:35 UTC
Looks like the problem happens only with the "Human" theme - I can`t reproduce the issue with any other.
Comment 12 Quality Engineering 2009-12-21 06:02:25 UTC
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