Skip to content

feat(settings): Animation setting inherits systemwide settings#10800

Open
untitaker wants to merge 2 commits intothunderbird:mainfrom
untitaker:global-animation-settings
Open

feat(settings): Animation setting inherits systemwide settings#10800
untitaker wants to merge 2 commits intothunderbird:mainfrom
untitaker:global-animation-settings

Conversation

@untitaker
Copy link
Copy Markdown

@untitaker untitaker commented Apr 7, 2026

Convert the "Use gaudy visual effects" boolean checkbox to a tri-state option (On/Off/Use system default) that defaults to following Android's system animation accessibility setting.

New installations follow system settings, old installations inherit their on/off state.

Fixes #6027

Note that this only changes the default to respect system settings. Unlike #10658 this does not touch any views that previously didn't respect the application-level setting. Any view or UI component that didn't respect the application-level setting will continue to not respect any animation settings, and should be fixed in a separate PR IMO.

Implementation:

Similar to ThemeManager, introduce a new AnimationManager and funnel all access to this option through there. I'm on the fence as to whether that isn't too much overkill, IMO it would make sense to merge them both into one "settings manager".

Right now there is only one place where the setting is being read, in ViewSwitcher. However, there are many other places where the setting is supposed to be respected but isn't (sidebar, messagetopview #10796) so I figured it's better to centralize the resolution outside of ViewSwitcher.

Written with AI-assistance, however like #10796 testing and commit messages are written manually.

Screenshot_20260407-171904 Screenshot_20260407-171908

Convert the "Use gaudy visual effects" boolean checkbox to a tri-state
option (On/Off/Use system default) that defaults to following Android's
system animation accessibility setting.

Similar to ThemeManager, introduce a new AnimationManager and funnel all access to this option through there. I'm on the
fence as to whether that isn't too much overkill, IMO it would make sense to merge them both into one "settings
manager".

Right now there is only one place where the setting is being read, in ViewSwitcher. However, there are many other places
where the setting is supposed to be respected but isn't (sidebar, messagetopview thunderbird#10796) so I figured it's better to
centralize the resolution outside of ViewSwitcher.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

Missing report label. Set exactly one of: report: include, report: exclude OR report: highlight.

@wmontwe wmontwe added the report: include Include changes in user-facing reports. label Apr 13, 2026
@untitaker
Copy link
Copy Markdown
Author

ack on the lint issues, will fix this week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

report: include Include changes in user-facing reports.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The default value for Animations is not following a system-wide accessibility setting

2 participants