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.
It is possible to close the "unclosable" tab. To repeat: 1. Start with an unclosable tab "TC1" 2. Open another tab "TC2", this is now on the right side of TC1 3. Click on TC1 where there should be the X to close (the X is not there because TC1 is not closable) and the tab TC1 is closed. This bug is probably related to #181181 and is reproducible in both Windows and Solaris.
Created attachment 112237 [details] a new method has been implemented to check if the tab is closable
We looked into the issue, the problem is in the check that should prevent an unclosable tab to be closed. Attached the diff with the fix. Increased the priority to P2, it is a simple fix.
*** Bug 181181 has been marked as a duplicate of this bug. ***
core-main b638855e67f5
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/b638855e67f5 User: S. Aubrecht <saubrecht@netbeans.org> Log: #203285 - do not close unclosable tabs
Product Version: NetBeans IDE 7.1 (Build 201112071828) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 3.0.0-14-generic running on i386; UTF-8; en_US (nb) Works for me -> verified.