On Thu, 15 May 2025 18:35:47 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
>> Quite a lot, Windows takes around 1-2 seconds to change to and from a >> high-contrast theme (there's even a full-frame wait screen that pops up). >> The suggested delay of 1 second works reliably on my machine. > > 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. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1810#discussion_r2091784263