Bug 452854 - Glitches when transforming images
Summary: Glitches when transforming images
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-22 12:14 UTC by acc4commissions
Modified: 2023-07-12 03:57 UTC (History)
1 user (show)

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


Attachments
The file used in the recording. (36.49 KB, image/webp)
2022-04-22 12:14 UTC, acc4commissions
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acc4commissions 2022-04-22 12:14:39 UTC
Created attachment 148300 [details]
The file used in the recording.

SUMMARY
git f665ca6, but it has been happening for a while in nightly. I'm not sure since when.
It happens with both canvas renderers : OpenGL, ANGLE.

recording : https://imgur.com/fjkbabI

STEPS TO REPRODUCE
1. Import an image. The file type(jpg, png, webp etc) doesn't seem relevant. 
2. Transform it, confirm it by pressing enter or selecting other tools.
3. Undo&redo it repeatedly.

OBSERVED RESULT
Transparent Glitch appears. (If there's a background layer below, you'll be able to see it through in the glitched areas).

EXPECTED RESULT
There shouldn't be any glitches.

SOFTWARE/OS VERSIONS
Windows: Win10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2022-07-13 11:54:35 UTC
Dmitry will look into this; it might have been solved by the fix for https://bugs.kde.org/show_bug.cgi?id=453243, but Dmitry is not sure.
Comment 2 acc4commissions 2022-08-12 06:01:48 UTC
It's not fixed yet. (tested in git f03ffc1)
Comment 3 Dmitry Kazakov 2022-08-12 14:23:49 UTC
Hi, acc4commissions!

I'm not sure I fully understand what the "glitch" is, is this transparent rectangle appear only temporarily and heals itself or you need to do some specific action to make is disappear? I don't fully undersatnd from the video...
Comment 4 acc4commissions 2022-08-12 16:22:48 UTC
As far I remember it does not heal itself. I'm going to bed now but I'll later post more exact descriptions about how it heals.
Comment 5 acc4commissions 2022-08-13 14:30:43 UTC
If you do any action after, like changing zoom levels or touching the docker, the glitch heals itself. And after going through it one time, the glitch doesn't seem to happen again until restarting krita. (tested on git 716923c)

Canvas Graphics Acceleration : on 
Renderer : OpenGL
Using texture buffer
Comment 6 Dmitry Kazakov 2022-11-16 07:41:54 UTC
Hi, acc4commissions!

Could you please check if the bug is still present in master? I have fixed a somewhat related bug 461109. Strictly speaking, it should be different from yours, but perhaps they had a commit cause...
Comment 7 Dmitry Kazakov 2022-11-16 07:42:57 UTC
Here is the link to the nightly package: 
https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/
Comment 8 acc4commissions 2022-11-16 13:35:18 UTC
Thanks for checking in, but nope. It still happens in the latest nightly. Not changes to the symptoms either.
Comment 9 Dmitry Kazakov 2022-11-16 14:01:48 UTC
Change back to ASSIGNED
Comment 10 acc4commissions 2023-07-12 03:57:28 UTC
Just adding as an info that this doesn't happen if the Canvas Graphic Acceleration is disabled. (Tested with the latest nightly git d9959df)