Bug 453909

Summary: wayland fractional scaling + scaling to fit in Gwenview = not always the right result
Product: [Applications] gwenview Reporter: PK <pieterkristensen>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: "fitting" isn't fitting...
same image but not scaled on my 1920x1080 monitor

Description PK 2022-05-16 19:38:05 UTC
Created attachment 148895 [details]
"fitting" isn't fitting...

SUMMARY

I have a screen of 2160 x 1440 pixels. So, using Wayland I scale 150%. When I'm viewing images I am used to set Gwenview to "fitting". That works excellent with really big images (plm. 5000 x 3000 pixels) but it doesn't work well with smaller images. (attachement)



STEPS TO REPRODUCE
1. open a small image with Gwenview
2. use "fitting" setting


OBSERVED RESULT

Image doesn't fit so well

EXPECTED RESULT

Image fits very well

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-30-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4300U CPU @ 1.90GHz
Memory: 3.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4400
Comment 1 PK 2022-05-17 04:25:25 UTC
Created attachment 148906 [details]
same image but not scaled on my 1920x1080 monitor

specs of this system:
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-30-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® J4105 CPU @ 1.50GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 600
Comment 2 PK 2022-05-17 04:32:47 UTC
B.t.w. the size of this particular image is 1804x1200 pixels
Comment 3 PK 2022-05-25 06:48:08 UTC
I like to add that the monitor of 1920x1080 pixels is an ordinary 24" monitor, quite big, and on that one Gwenview shows a lot of images bigger than on the monitor of 2160 x 1440 pixels. And that is actually the smaller one . It is a 13" convertible laptop. So on that screen it really isn't convenient that Gwenview shows a lot of images smaller than is necessary or would be correct.
Comment 4 PK 2022-09-13 14:08:07 UTC
Sorry! My bad...
I had never before noticed in Gwenview's settings the option "make smaller images automatically larger". I guess if you have just a normal monitor you never run into this.
But now I use this option and it solves this "bug".