Bug 441286 - SVGs scaled incorrectly in Fit and Fill modes when using a high DPI scale factor with "Enlarge smaller images" setting
Summary: SVGs scaled incorrectly in Fit and Fill modes when using a high DPI scale fac...
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.08.0
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-08-21 10:38 UTC by Laura David Hurka
Modified: 2025-09-04 14:39 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laura David Hurka 2021-08-21 10:38:02 UTC
SUMMARY
When used on a hiDPI screen, images are displayed bigger than they should.

The checkered background is zoomed to e. g. “Fit” or “Fill”, but the image on top is
1. displayed too large, so it exceeds the checkered background at the bottom-right,
2. blocky.

Only SVG images seem to be affected.

STEPS TO REPRODUCE
1. Turn the screen scale above 100%
2. Open e. g. an SVG icon (which has transparent portions)

OBSERVED RESULT
The rendered image is blocky and exceeds the checkered background, and probably even the largest possible viewport.

EXPECTED RESULT
The rendered image is not blocky and has the requested size.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.3
Graphics Platform: X11
Comment 1 Nate Graham 2021-08-23 17:56:58 UTC
Can reproduce when the "Enlarge smaller images" setting is active.
Comment 2 Laura David Hurka 2021-08-24 21:01:20 UTC
> --- Comment #1 from Nate Graham <nate@kde.org> ---
> Can reproduce when the "Enlarge smaller images" setting is active.

I can not notice a difference when this setting is enabled or disabled. Just 
the initial zoom is different, which can be undone with the zoom slider.
Comment 3 A Linux User 2025-09-04 12:18:28 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0 (the latest released version)?