RFR: 8346281: [Windows] RenderScale doesn't update to HiDPI changes [v2]
Kevin Rushforth
kcr at openjdk.org
Tue Dec 9 18:33:57 UTC 2025
On Tue, 9 Dec 2025 10:43:36 GMT, Jose Pereda <jpereda at openjdk.org> wrote:
>> Hmm. I see what you are saying, and can confirm the behavior. With your proposed fix, though, it seems like we will still have a situation where an in-use screen object is no longer in the list of screens. When this happens it will point to the same native screen object as one of the newly-created screens. This seems fragile.
>>
>> Maybe we could still dispose all old screens, but do it in a way that allows it to later be mapped to a new screen? Or, thinking out loud, maybe "put back" the screens that didn't actually change as the result of the DPI change notification?
>>
>> I'll want to think about this and take a closer look, but it will be a couple days before I can get to it.
>
> @kevinrushforth did you have the chance to have a look at this?
Sorry for the delay. I'm pretty backed up on reviews and plan to get to this soon.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1964#discussion_r2603841051
More information about the openjfx-dev
mailing list