vimium-c icon indicating copy to clipboard operation
vimium-c copied to clipboard

Pressing 'x' closes the first tab instead of the current tab

Open SC-yoho opened this issue 4 months ago • 1 comments

Bug Description When using the default x command to close the current tab, the first tab in the browser window is closed instead. This occurs even when a different tab is currently active. The command seems to misidentify the "current" tab and apply the action to the tab at index 0.

Steps to Reproduce Open several tabs (e.g., 3 or more). Navigate to one of the tabs that is not the first tab (e.g., the second or third tab). Ensure Vimium C is active on the page.

Press the x key. Expected Behavior The tab that is currently active and in focus should close. Actual Behavior The tab that is in the leftmost position (the first tab) closes, regardless of which tab is active.

Environment Browser: [Microsoft Edge 140.0.3456.0 dev 64] Operating System: [Windows 11] Vimium C Version: [2.12.2]

Troubleshooting Performed I have already performed the following steps to isolate the issue, and the problem still persists: Disabled all other browser extensions. Reset Vimium C settings to their defaults. Tested a simplified command (map x removeTab), and the issue still occurs. Tested the full command (map removeTab goto="previous,near" highlighted) with a different key (Ctrl+x), and the issue still occurred, confirming the problem is not with the x key itself.

SC-yoho avatar Jul 31 '25 05:07 SC-yoho

Same issue, it seems that the Edge/chromium extension api has changed its behaviour

clyce avatar Aug 02 '25 15:08 clyce