portals icon indicating copy to clipboard operation
portals copied to clipboard

add reduce motion and darken wallpaper to settings portal

Open teamcons opened this issue 9 months ago • 4 comments

Problem

For my app I would like to respect a few pantheon settings from flatpak: -reduce animations -darken background in dark mode

Proposal

allow access to some pantheon settings

Prior Art (Optional)

No response

teamcons avatar Feb 21 '25 17:02 teamcons

I'm +1 on adding reduce motion to the settings portal and I think we can probably even get that into freedesktop. I know there's precedent with Adw.Animation and GTK having a key for this. Probably worth checking if there's something existing we can already tap into here

Can you talk more about what you're wanting to use the dim wallpaper setting for? This is kind of a specific workaround for when you have an extra bright wallpaper selected. I'm not sure how it'd be relevant for an application

danirabbit avatar Feb 21 '25 17:02 danirabbit

yes, i figured the idea behind reduce motion was somewhat accessibility related

Can you talk more about what you're wanting to use the dim wallpaper setting for? This is kind of a specific workaround for when you have an extra bright wallpaper selected. I'm not sure how it'd be relevant for an application

this one im not mad if it isnt in.

the application i am working on is meant to be unobtrusive - it is a small utility shown against the background and kept as a small unobtrusive window displaying info, sometimes always-on-top, the idea was that, to keep its unobtrusiveness, if the user wants a darker backdrop with their dark theme, to do the same and keep it discreet.

Here i interpreted the darken background in dark mode not as a way to compensate for the wallpaper, but in a similar sense as dark theme - an added "keep things visually quiet and not-bright" in a similar sense than a reduce motion to have a less flashy movey system.

teamcons avatar Feb 21 '25 19:02 teamcons

@teamcons I proposed a branch this morning to desktop settings to set the enable-animations key in org.gnome.desktop.interface. This should disable all GTK animations and ones in Adw.Animation. I'm not sure if you want to test if that does what you need it to do or if there's something additionally that you need direct access to the key for

danirabbit avatar Feb 21 '25 19:02 danirabbit

That works :) thanks !

teamcons avatar Feb 21 '25 19:02 teamcons