philc / philc/vimium

[BUG] "Close Tab" keybind on fresh session closes browser

Open
#4,811 1 comment 0 reactions 0 assignees View on GitHub

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:

  1. Make sure you use "keep tabs open" and have some tabs open then shut the browser down
  2. Open browser
  3. Close tab via 'x' (I have it bound to w)
  4. Session is removed and browser shuts down

Vimium: 2.3.1
LibreWolf 144.0.2-1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.