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 40852

Summary: [Metal LF] Non-active tab in editor covers part of icon
Product: platform Reporter: Milan Kubec <mkubec>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED WORKSFORME    
Severity: blocker Keywords: L&F
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Milan Kubec 2004-03-09 12:34:19 UTC
See screenshot - ant file icon on non-active tab
in explorer is partially hidden by the tab itself.
Comment 1 Milan Kubec 2004-03-09 12:34:47 UTC
Created attachment 13896 [details]
screenshot
Comment 2 David Simonek 2004-03-11 12:29:34 UTC
Passing to Tim - it seems that tabs shoudl be 1 pixel higher. I also
remember that that indeed are higher in spec then in reality, but I
may be wrong.
Comment 3 _ tboudreau 2004-03-11 12:48:14 UTC
Okay.  Bear in mind this has a bit to do with font metrics on different platforms; we add, I 
think it is 9 pixels to the font height to get the tab area height;  at least the last time I 
measured it on Windows, this got an exact match to the spec.  If run somewhere where the 
font-to-pixels height mapping is different, the tab height will be different too, but 
probably we could set a minimum to avoid this particular problem.
Comment 4 Jan Chalupa 2004-11-01 16:50:20 UTC
Re-assigning Tim's issues to Dafe.
Comment 5 Marian Mirilovic 2005-01-03 13:12:03 UTC
I guess this won't be fixed for NB4.0 , please evaluate again.
Comment 6 David Simonek 2005-01-19 15:06:05 UTC
Passing to Stan to distribute bugs evenly. Thanks Stane :-)
Comment 7 Stanislav Aubrecht 2005-03-24 15:35:20 UTC
the inactive tabs are painted correctly in the latest trunk build
(ms windows + jdk1.4 + metal l&f)
Comment 8 Milan Kubec 2005-07-07 13:38:30 UTC
Inactive tab with Ant build script icon looks still the same as on the
screenshot on Linux with default L&F, JDK 1.5.0_04.
Comment 9 Stanislav Aubrecht 2008-10-22 11:03:32 UTC
looks ok now, win xp, metal, jdk1.5.0_13