https://bugs.kde.org/show_bug.cgi?id=465688

--- Comment #9 from Sven Brauch <m...@svenbrauch.de> ---
Hi, I tried this and I think Jorge did too, and both of us get "2.0" from
QApplication::devicePixelRatio() with 125% scaling configured in
systemsettings. I also tried in Qt6, and I *still* get "2.0".

Gwenview as a whole scales fine, but the QGraphicsView code calculating the
image size for 100% zoom does not. It ends up with a result that doesn't fill
the screen, even though the image has as many pixels as the screen has, because
devicePixelRatio() is wrong (or is the "2" correct? I think not).

Launching with "-platform xcb" (on Wayland) makes
QApplication::devicePixelRatio() return 1.25 as expected, and also makes
Gwenview's image scaling work correctly again.

I'm running plasmashell 5.26.5 on Manjaro.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to