philc / vimium

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

Bug: Separated tab not available for f-search before clicking within it #3586

Open Jonta opened 4 years ago

Jonta commented 4 years ago

Describe the bug Shift+W -> f -> doesn't search for clickables in this separated tab. Have to click somewhere first

Browser and Vimium version

Firefox: 77.0 OS: Darwin 15.6.0 (macOS 10.11.6) Vimium: 1.66

Jonta commented 2 years ago

Reproducible in

Firefox: 94.0.2 OS: Ubuntu 21.10 Vimium: 1.67

Jonta commented 2 years ago

@philc Pointers on how to go about fixing this? I assume a fix is desired

moveTabToNewWindow in main.js is involved, I'm guessing

And that there's a state the new window is in, that is different from a window that has been clicked in

How can I find this state? How can I change it? Can I call LinkHints.activateMode manually/externally?