<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">I’ve also verified that newly created JavaFX windows are not being centered correctly under KDE (tested on Ubuntu 22 and 24). Looks like this is already fixed in PR 1789.<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Nov 23, 2025, at 4:30 PM, Martin Fox <martinfox656@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Thanks for the detailed information. It’s very helpful.<div><br></div><div>KDE + multiple monitors + fractional scale + JavaFX. A perfect storm. In an effort to get certain legacy applications to scale KDE is setting the old “scaling-factor” to the floor of the actual scale. JavaFX is reading that faulty value which is preventing it from computing the correct UI scale on a per-monitor basis. Things go downhill from there. (For the record that’s what KDE in Ubuntu 24 is doing. In Ubuntu 22 it’s setting GDK_SCALE instead.)<div><br></div><div>The GDK_SCALE and “scaling-factor” settings are obsolete within their respective toolkits and for some time they were never set. KDE resurrected them and now they’re interfering with fractional scaling and multiple monitor support in JavaFX. I’m putting together a PR to de-emphasize them.</div><div><div><div><br></div><div>(Along those lines we should probably deprecate “<font face="Optima-Regular">glass.gtk.uiScale” since it doesn’t work well with multiple monitors. A better approach would be to allow the user to specify a multiplier to be applied to the per-monitor scales that JavaFX computes internally.)</font></div><div><font face="Optima-Regular"><br></font><blockquote type="cite"><div>On Nov 22, 2025, at 12:57 PM, Chad Preisler <chad.preisler@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div>I'm running on a brand new Infinity Book Pro from Tuxedo Computers. Here is the system info.</div><div><br></div><div>






<span style="font-family:monospace"><span style="background-color: rgb(255, 255, 255);">DISTRIB_ID=Ubuntu</span><span style="background-color: rgb(255, 255, 255);">
</span><br><span style="background-color: rgb(255, 255, 255);">DISTRIB_RELEASE=24.04</span><span style="background-color: rgb(255, 255, 255);">
</span><br><span style="background-color: rgb(255, 255, 255);">DISTRIB_CODENAME=noble</span><span style="background-color: rgb(255, 255, 255);">
</span><br><span style="background-color: rgb(255, 255, 255);">DISTRIB_DESCRIPTION="TUXEDO OS 24.04.3 LTS"</span><span style="background-color: rgb(255, 255, 255);">
</span><br><span style="background-color: rgb(255, 255, 255);">NAME="TUXEDO OS"</span><span style="background-color: rgb(255, 255, 255);">
</span><br><span style="background-color: rgb(255, 255, 255);">VERSION="24.04.3 LTS"</span><span style="background-color: rgb(255, 255, 255);">
</span><br><span style="background-color: rgb(255, 255, 255);">ID=tuxedo</span><span style="background-color: rgb(255, 255, 255);">
</span><br><span style="background-color: rgb(255, 255, 255);">ID_LIKE="ubuntu debian"</span><span style="background-color: rgb(255, 255, 255);">
</span><br><span style="background-color: rgb(255, 255, 255);">PRETTY_NAME="TUXEDO OS"</span><span style="background-color: rgb(255, 255, 255);">
</span><br><span style="background-color: rgb(255, 255, 255);">VERSION_ID="24.04"</span><br><span style="background-color: rgb(255, 255, 255);">
</span><br></span></div><div>KDE Plasma Version: 6.4.5</div><div>KDE Frameworks Version: 6.17.0</div><div>Qt Version: 6.8.2</div><div>Kernel: <span style="white-space:pre-wrap">6.14.0-116036-tuxedo (64-bit)</span></div><div><span style="white-space:pre-wrap">Graphics: Wayland</span></div><div><span style="white-space:pre-wrap"><br></span></div><div>I did some more testing and found that the scaling issues happen in a dual monitor environment where the scaling factor is different between the two monitors. Here is my setup.</div><div><br></div><div>Built-in Screen: 2653x1600, 130%</div><div>Samsung Odyssey G5 2560x1440, 0%</div><div><br></div><div>When running with two monitors with "Scaled by system" off: </div><div>- Things look sharp on the monitor with scaling (Built-in). However, fonts get pretty blurry on the unscaled monitor (G5).</div><div>- If I scale up the unscaled monitor (G5) to 130%, things look sharp. However, everything is huge on the huge monitor. Not ideal.</div><div>- As a side note, Netbeans exhibits the same behavior. It's sharp with tiny fonts on the scaled monitor and looks terrible on the unscaled.</div><div><br></div><div>Running the app on a single screen (built-in) with "Scaled by system" off, the fonts are sharp, but they are also very small. </div><div>Running the app on a single screen (built-in) with "Scaled by system" on, the font size is larger (perfect in my opinion) but it's not as sharp.</div><div><br></div><div>The pop-up is probably not an issue. It seems like it always appears in about the middle of the screen. I don't use a lot of pop-ups, but a quick search said that is the default behavior. At some point my app was probably off center when I noticed the behavior.</div><div><br></div></div>
</div></blockquote></div><br></div></div></div></div></div></blockquote></div><br></body></html>