Skip to content

Delay popup for quick tab switching#7

Open
FichteFoll wants to merge 2 commits into
mainfrom
feature/delay-on-tap
Open

Delay popup for quick tab switching#7
FichteFoll wants to merge 2 commits into
mainfrom
feature/delay-on-tap

Conversation

@FichteFoll

Copy link
Copy Markdown
Member

From a quick test session, this does feel pretty nice. Testers wanted.

Closes #6.

If only one ctrl+tab is intended and ctrl is quickly released, showing
the popup for that brief period of time can be annoying. Instead, do
what FireFox does and delay opening of the preview panel for a bit. If
the key was released before the timeout expires, do not show the panel
at all.

Additionally, when ctrl+tab is pressed a second time we will force-open
the panel because at this point the user clearly wants to do more than
just quickly go to the previous tab.

The only downside of this method is that now there is some "flicker"
when the popup opens after the tab has already been focused.
This removes the flicker. It may make the tab switching feel less snappy
because we are deliberately waiting a bit but both the tab and the hold
version feel much better this way.
@FichteFoll FichteFoll added this to the 1.1.0 milestone Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not show the popup at all if ctrl is quickly released

1 participant