Bug 485063 - When resizing Gwenview with a fractional screen scale factor, images lose vertical/horizontal lines of pixels
Summary: When resizing Gwenview with a fractional screen scale factor, images lose ver...
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 24.02.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-05 06:15 UTC by nyanpasu64
Modified: 2024-04-05 06:15 UTC (History)
0 users

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


Attachments
Screenshot of Gwenview with missing pixels in the image shown at 100%. (81.00 KB, image/png)
2024-04-05 06:15 UTC, nyanpasu64
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nyanpasu64 2024-04-05 06:15:19 UTC
Created attachment 168169 [details]
Screenshot of Gwenview with missing pixels in the image shown at 100%.

SUMMARY
When I open Gwenview on a monitor set to a fractional scale factor, images shown at 100% are often missing rows/columns of pixels.

STEPS TO REPRODUCE
1. Set a monitor to a fractional scale factor (eg. 125% or 150%). The issue occurs on both X11 and Wayland. On X11, the same result happens with a font scale factor (though this didn't cause issues on KDE 5/Qt5).
2. Open an image on that monitor (most visible with screenshots).
3. Resize the window to make missing pixels appear and disappear.

OBSERVED RESULT
Rows and columns of the image disappear.
- You'll probably want to start with a screenshot taken on X11, because Bug 483876 causes Spectacle itself to capture blurry images of Gwenview. This also prevents me from taking a picture of this bug on Wayland.

EXPECTED RESULT
The image is shown pixel-perfectly on-screen.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.7.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550M DS3H

ADDITIONAL INFORMATION