Bug 472707 - Fractional scaling under gwenview / wayland not correct
Summary: Fractional scaling under gwenview / wayland not correct
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-27 17:52 UTC by pixelplanetdev
Modified: 2023-11-15 08:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of gwenview displaying a screenshot (1.99 MB, image/png)
2023-07-27 17:53 UTC, pixelplanetdev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pixelplanetdev 2023-07-27 17:52:55 UTC
SUMMARY

Even thought that i set global scaling to 150%, i expect a 4k image, displayed on a 4k screen, to be as large as the screen when it's at 100% zoom within gwenview.
I don't expect the image to be up- or downscaled.

This is not the case in gwenview.

STEPS TO REPRODUCE
1. use wayland on a 4k monitor
2. set scale to 150% (in screen settings)
2.  make fullscreen screenshot (screenshot correctly has 4k resolution)
3.  watch the screenshot with gwenview at 100% scale (in gwenview)

OBSERVED RESULT
Screenshot is scaled to 66%.
If i set gwenview to 150%, i get the correct size but blur from scaling.

EXPECTED RESULT
No weird scaling, no blur.
1px at the screenshot -> 1px at the screen

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.4-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 pixelplanetdev 2023-07-27 17:53:45 UTC
Created attachment 160571 [details]
screenshot of gwenview displaying a screenshot
Comment 2 pixelplanetdev 2023-11-15 08:59:31 UTC
Solved in Plasma 6 alpha