Skip to content

Add options for middle click on pinned tab #1911

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

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

emvaized
Copy link
Contributor

@emvaized emvaized commented Dec 9, 2024

This pull request adds a separate configurable action for middle click on pinned tab.

Related issues:
#1304
#1320

Considering it doesn't make much sense to close pinned tabs with middle click (as one of the reasons of the "pinned" state is to make tab not so easily closeable), this pull request makes "discard" a default action for the middle click on pinned tab.

Available set of actions includes new option "unpin", which makes sense for the pinned tab, and excludes the option "duplicate as a child" (compared to the regular middle click configuration).

@mbnuqw
Copy link
Owner

mbnuqw commented Dec 11, 2024

Yeah, sounds reasonable. Will merge it despite Firefox's default behavior (closing pinned tab on middle click), since Sidebery has distinguishable "unloaded" state of a tab. Thanks.

@mbnuqw mbnuqw merged commit 26d0341 into mbnuqw:v5 Dec 11, 2024
@emvaized emvaized deleted the middle_click_unload_pinned_tabs branch December 11, 2024 16:03
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

Successfully merging this pull request may close these issues.

2 participants