philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.53k stars 2.49k forks source link

Feature request: Add a (Google Spreadsheet) anti focus stealing option on tab switch #3878

Open mikedotdev opened 3 years ago

mikedotdev commented 3 years ago

Describe the bug If you have a Google Spreadsheet Tab open in the background and want to switch tabs e.g. with h and l it will go into "insert" mode and start typing.

To Reproduce Steps to reproduce the behavior:

  1. Open a few tabs, in the middle a spreadsheet
  2. Start from the left and press l repeatedly (or L per default I think) to go to the very last tab
  3. It will (in most cases) go into insert mode over the spreadsheet

I think Google Spreadsheets might steal your input focus on something like the "tab switch" event. I would like an option to disable "input stealing on tab switching".

Browser and Vimium version Firefox 90.0.2

ropery commented 8 months ago

Same issue occurs on the Merriam-Webster website. Example:

  1. Check Vimium option: Don't let pages steal the focus on load.
  2. Open https://www.merriam-webster.com/dictionary/vim in a new tab.
  3. The input focus is not stolen, as intended.
  4. Switch to another tab.
  5. Switch back to the Merriam-Webster tab. The input focus is stolen!

I think this is not a feature request, but rather a bug report.