Skip to content

Support reduced motion - #2918

Open
leolost2605 wants to merge 4 commits into
mainfrom
leolost/reduced-motion
Open

Support reduced motion#2918
leolost2605 wants to merge 4 commits into
mainfrom
leolost/reduced-motion

Conversation

@leolost2605

@leolost2605 leolost2605 commented Sep 2, 2026

Copy link
Copy Markdown
Member

Closes #2917

Not sure whether we should replace disabling animations or just use reduce motion additionally. I went with the second because completely disabling animations is still useful as a performance option.

This PR now doesn't animate when reduced motion is on. However in addition I added reduce motion handling to the transition builder to allow to have pure opacity transitions still running.

This means that now window open/delete/minimize etc. only do the opacity transition and not the scale.

As for the rest there are a few places where we already use opacity but don't use transition builder. I think we should port those to transition builder and then support reduce motion properly (in a follow up).

However I think for other places that don't already do opacity, like switching workspaces or opening the multitasking view it doesn't make a lot of sense to add an extra crossfade transition for now. This would probably need a lot of refactoring and doesn't bring the advantage that the normal animation brings (i.e. conveying information about switching left, right, etc.)

@leolost2605
leolost2605 force-pushed the leolost/reduced-motion branch from 5306da9 to d02d4b5 Compare September 2, 2026 10:03
@leolost2605
leolost2605 requested a review from a team September 2, 2026 10:10
@danirabbit danirabbit added this to OS 9 Sep 2, 2026
@danirabbit danirabbit moved this to Needs Review in OS 9 Sep 2, 2026
Reduced motion will be needed across the whole code
base rather often. Going through the style manager
is a long line of code so add a simple getter.
@leolost2605
leolost2605 force-pushed the leolost/reduced-motion branch from d02d4b5 to a47c401 Compare September 8, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

Replace Meta.get_gnome_animations with reduce_motion

2 participants