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 178474 - tab close button improvements
Summary: tab close button improvements
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0.2
Hardware: All All
: P3 normal with 5 votes (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-11 03:20 UTC by pribyl
Modified: 2015-07-24 05:05 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
blank space after using the switch (10.84 KB, image/png)
2009-12-11 03:20 UTC, pribyl
Details
Demonstrates wasted space by having close buttons on tabs (17.04 KB, image/png)
2010-04-09 19:05 UTC, chris4beta
Details
A stacked tab bar alternative (2.67 KB, image/png)
2010-04-09 19:15 UTC, chris4beta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pribyl 2009-12-11 03:20:31 UTC
Created attachment 92409 [details]
blank space after using the switch

I have read many complains about tab close buttons (x) on various forums and mailing lists.

Basically, it should be possible to hide those buttons on tabs, as they take too much space (especially with multiple opened tabs).

There exists the -J-Dnb.tabs.suppressCloseButton=true but it has two drawbacks:
1. There is still blank space instead of the button (see screen)
2. Middle mouse click on the tab does not close the window

Is there a chance that this will be improved somehow? I mean something like new option in Tools-Options or improving the functionality of the switch.

Thanks!
Comment 1 chris4beta 2010-04-09 19:05:43 UTC
Created attachment 96985 [details]
Demonstrates wasted space by having close buttons on tabs

I would also like to request a feature giving users the option of removing the close button from tabs.

REASONS:
1. On smaller monitors (1280x1024 for me), I fill up the tab bar very fast. When working on a MVC project for example - I need to have the controller, model, a few view files, CSS, and JS open at once to actively work on a section - I have to constantly triage my tab bar to keep all tabs visible.

2. When quickly switching between tabs, I frequently hit the close button by accident, which is frustrating.

3. There are already enough ways to close tabs: middle click (my preferred method), right-click on tab and select, CTRL-W, etc. The redundancy of an actual button on the tab does more harm than good.

Removing the close button would give enough room for an extra tab or two, and every little bit helps when it comes to screen real estate. Please consider this request.

Thank you.
Comment 2 chris4beta 2010-04-09 19:15:39 UTC
Created attachment 96986 [details]
A stacked tab bar alternative

Another option is to have a stacked tab bar, as demonstrated here by another program.

An option to either stack the tabs or use the current single-line slider method when the open tabs extend beyond the width of the tab bar would be fantastic.

In addition to the option to remove the close button, users would have the kind of control over their tabs that they need.

Thanks.
Comment 3 leek 2012-04-01 20:14:54 UTC
I like having the switch to disable the close buttons on tabs - but why does that have to disable middle-click closing?
Comment 4 Ventzy 2015-07-24 05:05:23 UTC
Oh... closing tabs by accident is realy, realy annoying and is productivity disaster. It feels like explosion in my mind. I click on some tab, and it happen to be on close button, and now tab is gone... it is completely unexpectd, it breaks my thinking of the problem, and now I must start thinking what was that tab, where exactly is in project tree, and after I find and open it, on what line should I return... it breaks the flow badly.