Summary: | Paning zoomed image leads to slight corruption | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Māris Nartišs <maris.kde> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | aspotashev, benni, bughunt, kndevl, Mateuszlux, maxim.yegorushkin, nate, OmnipotentEntity, oscarpradilla, spaz16, surukko, ukyoi |
Priority: | VHI | ||
Version: | 20.08.2 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/gwenview/commit/726c52998c50252fe2ce74c1ba63e52c3355a18a | Version Fixed In: | |
Attachments: |
Picture with marked corruption after paning around
zoomed image corruption after panning |
Description
Māris Nartišs
2011-04-25 09:23:23 UTC
Created attachment 73693 [details]
zoomed image corruption after panning
I can confirm it.
Using Gwenview 2.9.0 with KDE 4.9.00 on openSUSE 12.2 i586.
It still happens on KDE 4.10.1. It's very annoying bug :( *** Bug 324559 has been marked as a duplicate of this bug. *** *** Bug 330332 has been marked as a duplicate of this bug. *** *** Bug 333165 has been marked as a duplicate of this bug. *** *** Bug 344122 has been marked as a duplicate of this bug. *** *** Bug 427369 has been marked as a duplicate of this bug. *** Reproducible on Linux 5.4.74-1-lts KDE Frameworks 5.75.0 Qt 5.15.1 (built against 5.15.1) Plasma 5.20.2-1 Disabling / switching animations to Software / OpenGL does not fix it *** Bug 429754 has been marked as a duplicate of this bug. *** KDE Frameworks 5.77.0 Qt 5.15.2 (built against 5.15.2) Plasma 5.20.4 I can confirm this bug but only when opening images with alpha transparency, if I convert the image to an image without alpha channel this problems disappears. A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/66 Git commit 726c52998c50252fe2ce74c1ba63e52c3355a18a by Nate Graham, on behalf of Arjen Hiemstra. Committed on 11/05/2021 at 15:24. Pushed by ngraham into branch 'master'. Use a simple QGraphicsItem subclass for drawing raster images RasterImageView was using a custom implementation that would use two QPixmaps to do double buffered rendering. However, since Qt already renders things double buffered, we are doing duplicate work. So drop that and use a simple QGraphicsItem subclass that paints the loaded image directly. This simplifies things a lot and removes a fair amount of difficult to follow custom code. M +146 -248 lib/documentview/rasterimageview.cpp M +2 -4 lib/documentview/rasterimageview.h https://invent.kde.org/graphics/gwenview/commit/726c52998c50252fe2ce74c1ba63e52c3355a18a |