acarabott / tabToWindow

Chrome extension to move the current tab to a new window using the command API
https://acarabott.github.io/tabToWindow/
MIT License
112 stars 20 forks source link

Need to press shortcut keys twice #50

Closed BackSeat closed 4 years ago

BackSeat commented 4 years ago

Maybe this is a PEBKAC issue, but if it is I'd appreciate any suggestions for resolving it.

I have the keyboard shortcut Ctrl+Shift+W to split a tab off to its own window. Some time ago, I found I needed to type that sequence twice to get the tab to detach. I still do. On the second time of typing, it works flawlessly.

Any suggestions for working out what going on?

acarabott commented 4 years ago

Interesting. My first guess would be window focus, that perhaps the tab is not fully focused. I sometimes find this is an issue, and that clicking on the page first makes it work (this is annoying but I believe out of my control).

Could you try that and let me know if it works first time after clicking on the page?

BackSeat commented 4 years ago

Thanks, but definitely not that. I have focus follows mouse, so focus is there anyway. Just tried clicking on the page first, then typing the shortcut, but I still needed to type it twice. I've also tried changing the shortcut key, but no difference.

Anything I can do to help isolate this?

acarabott commented 4 years ago

Could you let me know your operating system?

BackSeat commented 4 years ago

Linux, Debian 10.4, running XFCE.

richarddbarnett commented 4 years ago

I'm affected by this too.

image

Perhaps it's due to interaction with another extension?

BackSeat commented 4 years ago

I have tried changing the shortcut key I use (was shift-ctrl-W, now shift-ctrl-Q). The behaviour persists and I still have to type it twice.

acarabott commented 4 years ago

Yes I am noticing this too now, and it is somewhat new. I think the extension may not be "activated" on the first press, as I find that all subsequent presses only need one keypress and not too. Will investigate...

acarabott commented 4 years ago

I have submitted a fix for this, just waiting for Google to approve, check for version 3.2.3.

Let me know if the issue persists.

BackSeat commented 4 years ago

Fixed for me, thank you.

richarddbarnett commented 4 years ago

Also fixed for me. Thanks!