Skip to content

Animate Pesty bar dismissal when switching apps - #24

Open
alvst wants to merge 2 commits into
momenbasel:mainfrom
alvst:pr-23-hide-on-app-switch
Open

Animate Pesty bar dismissal when switching apps#24
alvst wants to merge 2 commits into
momenbasel:mainfrom
alvst:pr-23-hide-on-app-switch

Conversation

@alvst

@alvst alvst commented Jul 24, 2026

Copy link
Copy Markdown

Summary

  • Hide the Paste Bar whenever another app becomes active.
  • Start the slide-down before Pesty loses active status, so Command-Tab renders the dismissal rather than abruptly removing the bar.
  • Ignore duplicate dismissal events and prevent a stale animation completion from hiding a newly reopened bar.

Root cause

Command-Tab could trigger both the key-resign and workspace-activation paths. They started overlapping hide animations, with the later app switch often preventing the animation from being composited.

Validation

  • swift build

Static screenshots are not applicable to this transition behavior.

@alvst alvst changed the title Hide Pesty when switching apps Animate Pesty bar dismissal when switching apps Jul 25, 2026
@alvst
alvst marked this pull request as ready for review July 26, 2026 22:06
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