RFR: 8377426: Adjust scene background to color scheme [v3]
Michael Strauß
mstrauss at openjdk.org
Mon Feb 16 09:35:47 UTC 2026
On Sun, 15 Feb 2026 23:56:52 GMT, Martin Fox <mfox at openjdk.org> wrote:
> The window background color is only sent to the OS once when the window is first shown. When the color scheme changes the OS window background isn't updated so you can get resize flashing again at least on macOS.
Right, I've fixed that.
> When a window is expanded additional space is made along the right and bottom edges. You might get a better color match by sampling the fill along one of these edges or only in the lower right corner of the window.
Maybe, but this could also be not as good a match for the initial background color, which can be observed over the entire area of the window.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/2068#issuecomment-3907385446
More information about the openjfx-dev
mailing list