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 25026 - [Win L&F] Close button on tabs disappears
Summary: [Win L&F] Close button on tabs disappears
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: L&F
: 30295 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-21 14:29 UTC by ats37
Modified: 2008-12-23 09:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot using Windows L&F (43.95 KB, image/gif)
2002-06-21 16:38 UTC, ats37
Details
Screenshot using Kunststoff L&F (51.87 KB, image/gif)
2002-06-21 16:38 UTC, ats37
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ats37 2002-06-21 14:29:27 UTC
I'm running 3.4 beta 1 under JDK 1.3.1_03 with the Windows 
L&F.

When I have multiple files open in the source editor and 
switch between them, sometimes the little 'X' close button 
on the tabs disappears.  It only happens to the file that's 
at the front (i.e. the one I'm viewing), and only if the 
tab is the right-hand most one in the line (or takes up the 
whole line, if the name is long).  As soon as I switch it 
to the background the button reappears, and other tabs on 
the same line don't do it.

I switched back to the default (Metal) L&F and that was 
okay.  I also tried the Kunststoff L&F from www.incors.org, 
but that also had the problem.
Comment 1 Peter Zavadsky 2002-06-21 16:04:33 UTC
Please could you send a screenshot when you observe the wrong
behaviour? Thanks.
Comment 2 ats37 2002-06-21 16:38:11 UTC
Created attachment 6375 [details]
Screenshot using Windows L&F
Comment 3 ats37 2002-06-21 16:38:54 UTC
Created attachment 6376 [details]
Screenshot using Kunststoff L&F
Comment 4 ats37 2002-06-21 16:41:07 UTC
Here's the screenshots.  Also, it's not just the source 
editor's tabs, I've since noticed the Explorer's tabs are 
doing the same - see the Filesystems tab in the screenshots.
Comment 5 Peter Zavadsky 2002-06-21 16:51:46 UTC
Thanks for the screenshots, will look at it closer tomorrow.
Comment 6 ats37 2002-07-04 16:19:49 UTC
I've also noticed it only happens when the tabs have had to 
wrap onto more than one line.  If they all fit across in 
one line, then the close button shows up just fine on the 
right-most tab when it's selected.
Comment 7 Marek Grummich 2002-07-22 09:01:07 UTC
Target milestone was changed from '3.4' to TBD.
Comment 8 Marek Grummich 2002-07-22 09:06:08 UTC
Target milestone was changed from '3.4' to TBD.
Comment 9 Marek Grummich 2002-07-22 09:10:11 UTC
Target milestone was changed from '3.4' to TBD.
Comment 10 Marek Grummich 2002-07-22 09:14:42 UTC
Target milestone was changed from '3.4' to TBD.
Comment 11 Marek Grummich 2002-07-22 09:14:51 UTC
Target milestone was changed from '3.4' to TBD.
Comment 12 Marian Mirilovic 2003-01-23 11:17:04 UTC
*** Issue 30295 has been marked as a duplicate of this issue. ***
Comment 13 dnoyeB 2003-01-23 14:18:16 UTC
Which module is this from? perhaps I could take a look at it since not
much action is happening now.

Thanks.
Comment 14 mslama 2003-01-23 14:26:39 UTC
It is core/winsys - org.netbeans.core.windows.frames There is class
CloseButtonTabbedPane. It extends JTabbedPane and just adds closing
buttons to its tabs. We use it in SplitContainerImpl and
MultiTabbedContainerImpl. CloseButtonTabbedPane overwrites paint().
Comment 15 Marian Mirilovic 2003-11-26 12:59:22 UTC
Because Window System v1 will not be supported from now by our team, all old
winsys issues (now "core/window system v1" issues) are going to be closed as
WONTFIX. 

Changes in API which emerged both from UI spec 
and problems with adjusting to the older API are described in the document
http://core.netbeans.org/windowsystem/changes.html.
 It shows also recommends how the client code should be adjusted to the new
window system.

If you think this issue apply also to the new winsys then change the
subcomponent (to "core/window system") and REOPEN it.
Comment 16 Marian Mirilovic 2004-02-27 14:13:24 UTC
issue doesn't apply to new window system - verified