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.
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.
Please could you send a screenshot when you observe the wrong behaviour? Thanks.
Created attachment 6375 [details] Screenshot using Windows L&F
Created attachment 6376 [details] Screenshot using Kunststoff L&F
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.
Thanks for the screenshots, will look at it closer tomorrow.
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.
Target milestone was changed from '3.4' to TBD.
*** Issue 30295 has been marked as a duplicate of this issue. ***
Which module is this from? perhaps I could take a look at it since not much action is happening now. Thanks.
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().
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.
issue doesn't apply to new window system - verified