Repository navigation
Fail the shell tests on an animation duration outside Style.duration - #16492
Merged
Merged
Conversation
Seven animations had drifted to bare numbers before #16490 brought them back, one of which kept fading after animations were turned off. motion-test.sh now fails on any `duration:` given a bare number in the shell's QML. The last three, Button's spinner and the dock's launch pulse, go through Style.duration too; both loops were already held still with animations off, and the motion guide says so for loops. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
[Low impact] The PR appears safe to merge. SummaryAdds a shell test that reports bare numeric animation durations.
Known limit: dhh explicitly acknowledged that Qt's default duration is not covered and deferred a multiline check. Reviews (1) · Last reviewed commit: "Fail the shell tests on an animation dur..." · Reviewed by Greptile |
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Oct 28, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 3, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 4, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 5, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 11, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 11, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 14, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 19, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 20, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 21, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 21, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 21, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 25, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 26, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 26, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 28, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 28, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Nov 29, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Dec 1, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Dec 1, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Dec 2, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Dec 2, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Dec 2, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Dec 3, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GruperTal
added a commit
to GruperTal/omarchy
that referenced
this pull request
Dec 3, 2026
Every shell animation now takes its length from Style.duration(ms), which is 0 once `omarchy toggle animations` has turned Hyprland's animations off, and the motion test fails on a bare number (omacom#16492). The window's progress sweeps and the pulsing step dot and icon were the last ones with their own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follow-up to #16490, so animation durations can't drift back to bare numbers.
test/shell.d/motion-test.sh(new): fails on anyduration:set to a bare number inshell/**/*.qml, listing the offending lines. It only counts aduration:that opens a line or follows{or;, so the OSD'sproperty int duration: 1200and JS objects like{ icon: …, duration: 0 }don't trip it../test/shellpicks it up automatically.Style.duration():Button.qml's spinner (900ms) and the dock's launch pulse (500ms ×2). Both loops were already gated on!Style.reduceMotion, so behaviour doesn't change.agents/skills/motion.mdnames the check and adds that a looping animation also needs thereduceMotiongate, or its zero-length steps spin the CPU.Verified: the test passes, and with
Button.qml's spinner reverted toduration: 900it fails and names that line. Dock and button-border-stability tests pass.Not covered: an animation with no
durationat all (Qt's 250ms default). None exist today, and a reliable multiline check for that is harder; noted rather than built.🤖 Generated with Claude Code