Have a "hold to actually close" keyboard shortcut for pinned tabs
See original GitHub issueDescription
Currently, pinned tabs can be closed with Ctrl+W / Cmd+W, and we’ve clarified this is the intended behavior.
A Chrome user recently suggested that we could have a “Hold X to close”, similar to the Chrome/Chromium default behavior for Ctrl+Q/Cmd+Q for quit. It would look something like this:
Steps to Reproduce
- Fresh profile
- Visit a site
- Right click tab, pick
Pin Tab
- Go into pinned tab
- Hit Ctrl+W or Cmd+W
Actual result:
Pinned tab closes ☹️
Expected result:
User should have to hold shortcut to close
Reproduces how often:
100%
Brave version (brave://version info)
Brave | 0.68.56 Chromium: 75.0.3770.90 (Official Build) nightly(64-bit) |
---|---|
Revision | a6dcaf7e3ec6f70a194cc25e8149475c6590e025-refs/branch-heads/3770@{#1003} |
OS | Mac OS X |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:14
- Comments:10
Top Results From Across the Web
Shortcut key for closing pinned tab? : r/firefox - Reddit
Install Toggle Pin Tab then press Alt+P to unpin the tab and then Ctrl+W to close like normal.
Read more >CTRL + W closes pinned tabs · Issue #3581 - GitHub
CTRL + W closes pinned tabs as well, but shouldn't. ... Have a "hold to actually close" keyboard shortcut for pinned tabs #4963....
Read more >Lightning Console: Close all tabs option - IdeaExchange
Workaround for now: Hold down Shift+x to close all tabs pretty fast. This is the keyboard shortcut for "close this workspace", and holding...
Read more >66588 - Pinned tabs should ignore CMD+W - chromium
A shortcut for unpinning, a shortcut for REALLY closing (also pinned tabs), a confirmation dialog... Do you need more? ... Basically as it...
Read more >A prevent pinned tabs from closing plugin - by momomo.com
When this and move tab left and right using the keyboard plugin are used together, you could pin the most important and frequently...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/brave/brave-browser/issues/4988#issue-458162978 Approach to solve inadvertently closing pinned tabs via ignoring CMD + W pref, might be a good way to go to instead of a warning.
I like the idea of having a setting to disable ever closing pinned tabs, similar to how safari is doing it. You can still right-click and then hit “close”, but pinned tabs should be pinned until they are explicitly unpinned.
Hitting CMD-W on a pinned tab, if that tab is the last tab, should just close the browser window and leave the tab as is.