Skip to content

Fix search window getting stuck when hidden during the show animation#168

Open
davidmrc6 wants to merge 1 commit into
icedman:mainfrom
davidmrc6:fix/cancel-pending-show-animation-on-hide
Open

Fix search window getting stuck when hidden during the show animation#168
davidmrc6 wants to merge 1 commit into
icedman:mainfrom
davidmrc6:fix/cancel-pending-show-animation-on-hide

Conversation

@davidmrc6

Copy link
Copy Markdown

hide() did not cancel the pending _animSeq show-animation timer scheduled by show(). When the window is hidden within the ~100 ms animation window, the orphaned timer fires after _release_ui()/_remove_events() have run, re-executing _layout() (which sets _visible = true) and re-easing the now-empty container back to opacity 255. The search box gets stuck on screen, unresponsive, with the search entry removed (placeholder gone) and no key handlers, and can only be recovered by reloading the extension (#146)

Fix: cancel _animSeq at the top of hide(), mirroring the guard in show().

@davidmrc6 davidmrc6 force-pushed the fix/cancel-pending-show-animation-on-hide branch from 9b5fe2d to 91f7014 Compare June 26, 2026 16:20
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.

1 participant