[BUG] "Close Tab" keybind on fresh session closes browser
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
I have a quirk happening when I start a new browser window, and the first thing I want to do is close the current tab. When I do that, the entire browser closes instead, and when I restart it, the session is completely gone. That is to say, when it opens up it no longer has any open tabs.
Steps to reproduce the behavior:
- Make sure you use "keep tabs open" and have some tabs open then shut the browser down
- Open browser
- Close tab via 'x' (I have it bound to w)
- Session is removed and browser shuts down
Vimium: 2.3.1
LibreWolf 144.0.2-1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Reproduce the fresh-session flow with “keep tabs open” enabled, then trace the Close Tab keybind and session-restoration entry points. Done means closing the first tab ends only that tab and preserves the remaining session rather than shutting down the browser.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100