tumic0 / GPXSee

GPS log file viewer and analyzer with support for GPX, TCX, KML, FIT, IGC, NMEA, SLF, SML, LOC, GPI, GeoJSON and OziExplorer files.
https://www.gpxsee.org
GNU General Public License v3.0
950 stars 130 forks source link

Fractional scaling support on wayland #478

Closed eddy-geek closed 1 year ago

eddy-geek commented 1 year ago

Hello,

gpxsee 11.12
Qt 5.15.8
Linux 5.19.0-24-generic
kwin 5.26.90

it seems there are issues with fractional support on Plasma/KWin/Wayland.

My system is set at 135% and what I think is happening is:

Screenshot_20230129_144608

It can probably be linked to the way Qt scaling currently works on wayland (I think it's making apps draw at ceil(ratio) then the compositor downscales). Since work is ongoing to change this with this recent wayland change and Qt 5 patch (which I don't think my system has yet), if eg Linux-X11 & Windows work fine, I guess it's fine to hold off for the time it takes for the ecosystem to catch-up.

tumic0 commented 1 year ago

The HiDPI map scaling should be fractional (but you can not get non-blurry images in other multiplications than 2^n), but I'm not sure what exactly you are referring - your image/screenshot mix is blurred as whole, not only the map. This would suggest some global scaling problem.

However, like with other exotic configurations, there is not much I can do about it until someone completely describes what is the root of the issue and how it can be solved. Without having some reference system (I don't/can't have wayland on my linux machine and I do not have a HiDPI monitor) I can hardly investigate/solve such issues.

tumic0 commented 6 months ago

QTBUG-123125