XWayland multi monitor HIDPI postmortem
Nikita Gubarkov
nikita.gubarkov at jetbrains.com
Sat May 25 00:08:33 UTC 2024
I want to let you know that we abandoned our plans to contribute XWayland
multi monitor HIDPI support into Wakefield/OpenJDK.
Support for per-monitor scale was a very much requested feature by our
users, so this was implemented when pure Wayland toolkit was not an option.
The idea was to connect to Wayland server to retrieve per-monitor scales
and refactor X11 toolkit to handle those per-GraphicsDevice scales with
coordinate conversions similar to what is done on Windows. It worked but
brought multiple bugs, like for example being stuck in an infinite resize
loop after some specific sequence of events when dragging window to
different monitor, or doing programmatic window move. This specific problem
was worked around for most practical cases, but not got rid of completely.
A bunch of other bugs have been fixed as well, but some problems couldn't
been solved, like inability to properly scale mouse cursor and system title
bar. Overall it's currently usable with most issues fixed, but probably
less stable than it was before the patch. That being said, there is no
value in this patch anymore, as pure Wayland toolkit already does better.
Note that this patch has nothing to do with fractional scaling and it
doesn't help with any blurriness either.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/wakefield-dev/attachments/20240525/ad06b657/attachment.htm>
More information about the wakefield-dev
mailing list