| Summary: | Misleading tooltip text for Force Font DPI | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Anthony Vital <anthony.vital> |
| Component: | kcm_fonts | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate, plasma-bugs-null |
| Priority: | NOR | Keywords: | usability |
| Version First Reported In: | 5.23.3 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/1b379f8ed33db240df1bdd71f5a91a182f828916 | Version Fixed/Implemented In: | 5.24 |
| Sentry Crash Report: | |||
|
Description
Anthony Vital
2021-11-17 13:28:55 UTC
Xorg defaulting to 96 DPI isn't it being broken; this has been its standard behavior since forever. And it's not just KDE code that relies on this; tons of other things do too. Everything that uses Qt, for example. The only reason to force the font DPI to 96 on the KDE side is as an insurance against the Xorg issue being "fixed" again. I assume they're not going to make that mistake again soon! The time to refine this behavior and set a better default was 20 years ago, not today when Xorg is practically abandonware and everyone's working on Wayland support. However everything actually works better than expected even if they do it again. You can disable Qt scaling and only use DPI-based scaling. Of course then all the icons are the wrong size. But this is a Qt issue that we are simply inheriting. I understand what you're saying, but then again, what I wanted to report is the fact that the tooltip says: "It may be useful when the real DPI of the harware is not detected properly [...]" Which is not true, in fact, if the real DPI of hardware is not detected properly, xorg defaults to 96 as you said and thus checking this box is not useful. It may be useful if xorg returns anything else than 96 is what it should really say... For many years I've been carefully setting the real dpi in the xorg of all my machines first thing after an install, and I've always wondered why the defaults never worked for me. That little bit of info would probably have helped me understand a little. Gotcha. Changing the tooltip text to reflect the reality of the situation is reasonable. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1217 Git commit 1b379f8ed33db240df1bdd71f5a91a182f828916 by Nate Graham. Committed on 06/12/2021 at 16:24. Pushed by ngraham into branch 'master'. kcms/fonts: make Force Fonts DPI tooltip text more accurate and clearer This UI control currently has an extremely long tooltip that talks about a bunch of technical jargon the user is likely to know nothing about, and also says inaccurate things by mentioning hardware where the DPI is not automatically detected, when in fact Qt software explicitly avoids scaling things by DPI in the first place. FIXED-IN: 5.24 M +1 -1 kcms/fonts/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/1b379f8ed33db240df1bdd71f5a91a182f828916 |