I've attached a comparison of xrandr's output for Wayland and X11. In Wayland, it only shows the currently configured resolution, whereas in X11 it lists all available resolutions and flags the current one with an asterisk.
Perhaps Java is using xrandr and misinterpreting the results when trying to determine dpi? ** Attachment added: "xrandr" https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1765914/+attachment/5126199/+files/xrandr -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1765914 Title: Java windows and fonts are huge running in openjdk-11-jre To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1765914/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
