Repository navigation
adding-macos-animation-style - #158
Closed
mr-steveryan wants to merge 1 commit into
Closed
mr-steveryan wants to merge 1 commit into
mr-steveryan wants to merge 1 commit into
Conversation
mr-steveryan
marked this pull request as ready for review
November 17, 2026 17:49
mr-steveryan
force-pushed
the
adding-macos-animation-style
branch
2 times, most recently
from
November 18, 2026 03:31
4fd0300 to
60c54bc
Compare
…rding on A fourth style next to Instant, Smooth and Fade. With it, the ordinary reveal and conceal put no pictures over the bar, so macOS's own slide plays, as it does without Screen Recording. Anchored mode, held bars and live mode still use Smooth's pictures, so Live Activities keep working. The panel and the Settings preview move like Smooth for now. With macOS, the picture of the revealed bar is no longer taken after a reveal, during a conceal or at launch: only the other styles play it, and taking it lit the screen-capture indicator on every reveal. The launch still records where the hidden icons sit. The empty-bar picture after a conceal stays, since held bars and the picture pass use it. Without Screen Recording every style falls back to macOS's own slide, so the disabled Animation card shows macOS picked. Display only: the saved style is untouched and comes back once Screen Recording is granted. Related to #154 and #157. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01K2Tob8ntdHRKY4nmNpUHpK
mr-steveryan
force-pushed
the
adding-macos-animation-style
branch
from
November 18, 2026 03:59
60c54bc to
cf6d06b
Compare
Owner
|
Hey @mr-steveryan, thanks for this one, and good catch on the I'm going to pass on the macOS style though. We're still refining the animations, and it doesn't add enough over Smooth to be worth a fourth option. Held bars and live mode would still play Smooth, and the preview card would look the same, so it'd be hard to tell the two apart. I'll close this one, but thanks again for digging into the transitions! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a fourth animation style, macOS, that keeps macOS's own slide even with Screen Recording granted.
Related to #154 and #157. This doesn't fix either; it gives people who turned on Screen Recording for other features, like Live Activities, a way to get the native animation back.
Before / After
Before: granting Screen Recording (which Live Activities and panel pictures need) means every reveal and conceal plays one of Dimble's picture-based styles. The only way back to macOS's own slide is to revoke Screen Recording.
After: Settings › Behavior › Animation has a fourth card, macOS, after Instant, Smooth and Fade. With it, the ordinary reveal and conceal put no pictures over the bar, so macOS's own slide plays. That's the same path Dimble already takes without Screen Recording. Live Activities and panel pictures keep working.
The style is also in the status item's Animation submen the settings search finds the Animation card for "macos".
Decisions I made
RevealAnimation.system(raw value"system"), shown as "macOS" and listed last everywhere. "macOS" is added togen-xcstrings.pywith the same value in every language, like the other brand names.awaitCoverRetakedoesn't wait.AnimationRecipe.recipe(for: .system)returns Smooth's recipe, so anchored mode, held-bar covers, live mode and the picture pass work as they do under Smooth. No newMovecase."system"read by an older build) decodes to Smooth through the existing tolerant decoding. A new test covers this.revealedStripSnapshot) is only read by the reveal's finished picture, which macOS never plays. With macOS it's no longer taken after a reveal (scheduleRevealedStripPrecapture), during a conceal (the Sometime, there is a delay in hiding/showing icons #35 fallback) or at launch (takeBootPicture, which still seeds the strip). Taking it lit the screen-capture indicator on every reveal for nothing.scheduleRevealCoverPrecapture) is kept with macOS, because held bars, the picture pass, the Live Activity re-hide and the clock-click cover read it. So with macOS the indicator still shows briefly after each conceal, but not after reveals.Questions for you
.systemfolds like Smooth (including the Reduce Motion rule) as a placeholder. What should the panel do with this style?The
.smoothdoc comment is also corrected. It said "the agent's own slide-in (the OS default)", which is only true without Screen Recording.This is based on
roster, notmain, because #154's commits (54efc67,8e3b842) change the same reveal and cover code.Screen Recording
Verified
swift testpasses inPelmetCore(696 tests) andPelmetEngine(60 tests). The app'sxcodebuild testpasses (124 tests), using local ad-hoc signing.app.fif7y.Pelmet-dev) so it doesn't share settings or permissions with the release app:anim=system, cover=false, finished=falseand concealscover=false, strip=false. Switching back to Smooth logscover=true, finished=trueandcover=true, strip=trueagain.strip: seeded at bootand nofinished: boot picture taken; with Smooth the boot picture is taken again.-pelmet.debug.withoutScreenRecording YES), the Animation card shows macOS selected. With the real grant back, the saved style shows again.