Bug 433772 - Selection mask can become functionally malformed after moving rapidly
Summary: Selection mask can become functionally malformed after moving rapidly
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (show other bugs)
Version: 4.4.3-beta1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-03-01 06:05 UTC by tomtomtomreportingin
Modified: 2022-04-07 11:54 UTC (History)
3 users (show)

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


Attachments
Demonstration of corrupted selection (1.34 MB, video/webm)
2021-03-01 06:05 UTC, tomtomtomreportingin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomtomtomreportingin 2021-03-01 06:05:20 UTC
Created attachment 136271 [details]
Demonstration of corrupted selection

SUMMARY
When the user moves a selection mask rather quickly, the selection mask has a chance of becoming functionally corrupted. See attachment.

STEPS TO REPRODUCE
1. Create a selection.
2. Select the selection mask layer.
3. Move the selection mask layer quickly.

OBSERVED RESULT
The selection mask becomes functionally disjointed and malformed.

EXPECTED RESULT
The selection mask should keep its original shape.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.12.9 (Appimage)
Comment 1 tomtomtomreportingin 2021-03-01 06:18:04 UTC
The chance of this bug occurring might depend on the amount of processing power available. I was building Krita with most of my threads while encountering this.
Comment 2 Ahab Greybeard 2021-03-01 16:28:18 UTC
With the 4.4.3-beta1 appimage on Debian 10, with a not very powerful computer, I see slight transient breakup of the selection when being moved very rapidly but no permanent change to it.
I tried with the global selection mask and a local selection mask.
Comment 3 Tiar 2021-08-19 21:11:08 UTC
@tomtomtom, does the selection stay that way (as in, if you switch to another layer, does it appears as a weird shape in marching ants and if you paint, does it paint only inside that weird shape)?
Comment 4 Tiar 2021-08-19 21:12:51 UTC
Uhh I'm sorry - now I see in the video that yes, indeed it does. I thought it's the end of the video. Sorry for that.
What's interesting though, is it a raster selection or a vector selection?
Comment 5 tomtomtomreportingin 2021-08-21 00:42:24 UTC
At the moment it appears that only vector selections stay malformed after moving. Pixel selections do experience the breakup but seem to fix themselves when the moving stops.
Comment 6 Ahab Greybeard 2021-08-21 07:00:19 UTC
I've used the 4.4.7 and 5.0.0-beta1 appimages on Debian 10 and can't get the selection mask to stay fragmented after rapid moves all over and off the canvas, with raster and vector selections.

Maybe having a slow old computer is an advantage in this situation?