On Thu, 15 May 2025 20:34:21 GMT, Michael Strauß <mstra...@openjdk.org> wrote:
>> 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). > > I don't think that there's a perfect way to solve this. Yes, this can > theoretically happen, and then you'll see a visual glitch. I can imagine that > this might also be the reason why Windows shows a full-screen popup when you > switch to and from a high-contrast theme: to hide glitchy applications during > the transition period. Alright, just making sure, as you mentioned in another thread seeing inconsistent transient states isn't an acceptable trade-off. They can still occur, and so users can't rely on them. In that respect the situation is similar to before this change, other than it being less likely to occur (and perhaps never or rarely in practice). ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1810#discussion_r2091930905