Have gtk-enable-animations respect prefers-reduced-motion in operating systems which allow a user to set a system-wide preference
Steps to reproduce
- On macOS 14.5, in the Apple menu, choose system preferences
- Click Accessibility then Display
- Set Reduce Motion on Note: iOS has the same setting/wording. Windows 11, Android, and some Linux versions have a corresponding setting but the wording in those systems implies all or nothing, not a reduction. Still, all correspond to, for example, browsers exposing the setting to websites via the prefers-reduced-motion media query. A full list can be found at prefers-reduced-motion user preferences
- Launch GIMP 2.10.36
- In the GIMP menu, choose About GIMP
- The about box implements an animation using gtk-enable-animations even though the user has request a reduction in animation (see About GIMP doesn't support prefers-reduced-motion which discusses gtk-enable-animations non-respect for prefers-reduced-motion settings.
Current behavior
Animation is enabled.
Expected outcome
Animation is either disabled (preferred behavior for cosmetic animations) or requires the use of a play button to play (for essential animations).
Version information
If I am reading a comment by GIMP developer Alx Sa correctly, then GIMP uses GTK2 and GTK3. I'm guessing GTK2 is for GIMP 2 releases and GTK3 is for GIMP 3 releases. However, my role is quality assurance, not programming, so it is possible that I have misinterpreted this comment.
Additional information
I am filing this issue on the basis of a subsequent comment by Alx Sa "gtk-enable-animations
does not take into account the MacOS or Windows settings," which I interpret as being in regard to prefers-reduced-motion. Again, my role is quality assurance, not programming, so it is possible that I have misinterpreted this comment.
This is an accessibility issue because a user could be affected by animation, for example, due to a vestibular or attention deficit disorder.