Bug 433214

Summary: Under Wayland, Gwenview does not render any images correctly.
Product: [Applications] gwenview Reporter: pseudopod <reiden>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: david.p.warner
Priority: NOR    
Version First Reported In: 20.12.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of Gwenview's broken graphics.

Description pseudopod 2021-02-19 02:12:44 UTC
Created attachment 135877 [details]
Screenshot of Gwenview's broken graphics.

Under Wayland, Gwenview does not render any images correctly. 


STEPS TO REPRODUCE
1. Log in with a wayland session
2. Open any image file with your usual file browser (in my case, Dolphin), or from within Gwenview's own file browser.

OBSERVED RESULT
Application window opens with corrupted graphics where the image is supposed to show up.

EXPECTED RESULT
Application window displays requested image.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-65-generic
OS Type: 64-bit
Graphics Platform: Wayland

Hardware
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31,4 GiB of RAM
Graphics Processor: Radeon RX Vega 56

Additional information: 
Gwenview displays any image I have normally under an X11 session, and Gwenview's own file browser shows thumbnails of the images, but fails to display them when it tries to open them for a full-size view.
Comment 1 David Warner 2021-02-19 04:04:32 UTC
I can reproduce this if I change Animations to 'OpenGL' (Settings > Image View). If I use 'Software', images render as usual. Can you confirm what your system is using?
Comment 2 Vlad Zahorodnii 2021-02-19 10:17:32 UTC

*** This bug has been marked as a duplicate of bug 403323 ***
Comment 3 pseudopod 2021-02-19 10:34:46 UTC
(In reply to david.p.warner from comment #1)
> I can reproduce this if I change Animations to 'OpenGL' (Settings > Image
> View). If I use 'Software', images render as usual. Can you confirm what
> your system is using?

I had Gwenview set to use OpenGL, yes. The issue is not present in software mode.