Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to close not currently selected tab #2304

Closed
tynanford opened this issue Jun 22, 2022 · 5 comments
Closed

Ability to close not currently selected tab #2304

tynanford opened this issue Jun 22, 2022 · 5 comments

Comments

@tynanford
Copy link
Contributor

We got a feature request to add the ability to close a tab that is not the one currently in focus.

For instance, there could be an "X" included in all tabs similar to an internet browser. And a middle mouse click would work on any tab. I would imagine this would best be created as a preference setting.

Any thoughts?

@georgweiss
Copy link
Collaborator

Agree this would be useful.

@kasemir
Copy link
Collaborator

kasemir commented Jun 23, 2022

That's already there:

Right-click on any tab, active or not, and the context menu contains "Close", "Close Others", "Close All".

@tynanford
Copy link
Contributor Author

It is an extra mouse click but that is true.

This is probably a separate issue but maybe more the reason behind this request. In the case where you have 3 windows open, each with multiple tabs, closing a tab in a non-active window makes that window active. Which can be annoying if you have many different applications open all over the screen.

Would it be difficult to have either the middle mouse click, 'X' button, or right-click -> 'Close' not make the window active? The use case is trying to quickly clean up clutter without losing the current window.

@kasemir
Copy link
Collaborator

kasemir commented Jun 23, 2022

Would it be difficult to have .. the .. 'X' button

Turns out no, see #2307
But clicking that still makes the overall window active, which you'll have to bring up with the JavaFX or maybe GTK people, its outside of what we can do.

@tynanford
Copy link
Contributor Author

Thanks! I see the 'X' buttons everywhere now.

But clicking that still makes the overall window active, which you'll have to bring up with the JavaFX or maybe GTK people, its outside of what we can do.

Understood no problem. I was thinking this might be a feature deep down in Java code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants