On Thu, 15 May 2025 18:50:20 GMT, Michael Strauß <mstra...@openjdk.org> wrote:
>> If it takes that long to update all the colors, maybe we should not add >> complexity to this subsystem and just send the events as they come? >> >> What exactly is the problem the user experiences right now? > > A single user-facing setting change should only result in a single change > notification in JavaFX, as that's what developers would intuitively expect. > I'm planning to add support for CSS system colors soon, which basically > exposes platform colors to stylesheet authors. When the color palette > changes, I want all changes to be applied at the same time and not piece by > piece. Are you sure a delay is a good way to solve this? It won't guarantee that no inconsistent states will be observed (what if Windows is slower, or a change is reverted within the delay period -- you may still see "half" changes). ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1810#discussion_r2091908691