Bug 466739

Summary: wayland: 2 monitor setup with 175%/100% scaling: gwenview home/browse view not rendered correctly after viewing an image
Product: [Applications] gwenview Reporter: slartibart70
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kde, nate, plasma-bugs
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description slartibart70 2023-03-02 21:08:52 UTC
+++ This bug was initially created as a clone of Bug #466683 +++

Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.14-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz
Memory: 31,1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630

Setup:
Laptop with 2K Laptop screen and a fullhd screen (1920x1080) connected by displayPort
Use fullHD monitor as 'primary' and perform all tests on the fullHD monitor (ignore laptop screen)

Go to systemsettings > display config
and set 175% scale for 2K laptop screen, 100% for fullhd screen.
This makes apps/windows on both monitors the same visual size.

Problem:

- open an image folder (e.g.  /usr/share/wallpapers/Next/contents/images/) and select the 1920x1080 image size picture. Right click and open gwenview on the full-hd screen

- now, click on browse button (or press Alt-up-arrow)  in gwenview to show the folder's content
The preview icons are not rendered correctly, stacked over each other and with various sizes. 
Moving the mouse inside the icons view scrambles the icons until you get a real mess (the icons become unusable)

This can be fixed by using the slider (zoom in lower right corner of gwenview) and moving it back and forth to the same zoom-value it had initially. Then the icons are displayed correctly.
Comment 1 Nate Graham 2023-03-06 17:46:56 UTC
Can reproduce.