On Wed, 3 Jun 2026 16:13:11 GMT, Andy Goryachev <[email protected]> wrote:
> Not sure I agree with lowPower affecting reducedMotion (shouldn't these two > be orthogonal?), but I wanted to suggest another possibility: a _static_ > property in Chart that controls how the animated handles the platform > preferences - whether it overrides it, or the other way around. > > What do you think? I'm not sure that a global "animated overrides reducedMotion" toggle would actually be useful in practice: since `animated` is true by default, having it override `reducedMotion` just means that reduced-motion mode is always ignored, and the `animated` property always wins. This ends up being the same behavior as forcing `Scene.Preferences.setReducedMotion(false)`. While I can at least imagine that a developer might want to have a specific animation to _always_ run, and all other animations to respect reduced-motion mode, a global toggle doesn't give us that capability; it would have to be a per-instance toggle. This is something that we should probably discuss in a broader context if it turns out that there is an actual need to have "overridable properties", I think in the specific case of reduced-motion mode we can first do the easier thing and always respect it, and only if necessary add more fine-grained control later. ------------- PR Comment: https://git.openjdk.org/jfx/pull/2177#issuecomment-4625124204
