Created attachment 124282 [details] Screenshot of the issue. SUMMARY Please the see screenshot. STEPS TO REPRODUCE 1. Open the sample SVG 2. Set display to 100% 3. Hold down the mouse in the image and start moving around SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.17.3 KDE Frameworks Version: 5.65.0 Qt Version: 5.13.2
OBSERVED RESULT EXPECTED RESULT
Sorry, it was about a PNG and since it's too big to attatch, here's the link to it: https://phabricator.kde.org/file/data/u5v4zfmgnlmz5udo44vn/PHID-FILE-g7vlhcvnjoizz3fzjm7c/dolphin_4x.png
Created attachment 125096 [details] Video demonstration. Can anyone please try to reproduce it? It renders Gwenview completely unuseable to me for PNGs. :-( If the glitch appears it can be "healed" reloading the image via F5. I don't have this issue with JPEGs or RAW (CR2) files.
Created attachment 125098 [details] Another video. This is another example where not the background becomes visible, but parts of the images don't get updated: First if I press F5 and the refreshing circle vanishes again, the image appears like it should. P.S. Sorry about the flickering on the right side, which is another issue of something else, where I'm not sure where to report it.
Graphics settings: inxi -G Graphics: Device-1: Intel HD Graphics 620 driver: i915 v: kernel Display: x11 server: X.Org 1.20.6 driver: intel unloaded: modesetting resolution: 2560x1440~60Hz OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) v: 4.6 Mesa 19.3.1
I made an important observation: This bug occurs ONLY for RGBA PNGs, i.e. for PNGs with an alpha-channel attached! So, if add an alpha-channel via GIMP (Layer->Tansparency->Add Alphachannel) to an RGB PNG and save it again as PNG, the bug starts occuring. You can check if there's an alpha-channel via $ file myimage.png $ myimage.png: PNG image data, 706 x 970, 8-bit/color RGBA, non-interlaced I hope this helps for reproducing and finding the root of this issue.
I could not reproduce it on another notebook with Manjaro + i915 driver. (Intel Pentium, X.Org 1.20.8, OpenGL: Mesa HD Graphics 505 (APL 3), v:4.6 Mesa 20.0.6) Maybe something is broken on my system and the bug will vanish once I do a clean re-installation.
The symptoms looks similar to this Qt bug regarding fractional scaling: * https://bugreports.qt.io/browse/QTBUG-82601#add-comment * https://bugreports.qt.io/secure/attachment/92518/scaling-issue.gif
*** Bug 418314 has been marked as a duplicate of this bug. ***
Issue remains with the modesettings driver instead of the xf86-video-intel.
I have this issue with any kind of image. I'm on 150% scale with Nvidia drivers. This happens when I move the image with the hand cursor. It is less likely to happen when using the widget on the bottom right.
Git commit 955df5addac77b49c8349e6477806dbf27bde238 by Vlad Zahorodnii. Committed on 01/02/2021 at 18:35. Pushed by vladz into branch 'release/20.12'. Fix visual artifacts when panning zoomed in image on HiDPI The size of the viewport rectangle needs to be in the device-independent pixels; otherwise there will be visual artifacts when panning a zoomed in translucent image. Related: bug 417342, bug 428397 M +6 -6 lib/documentview/rasterimageview.cpp https://invent.kde.org/graphics/gwenview/commit/955df5addac77b49c8349e6477806dbf27bde238
Thank you so much, Vlad!!! :)