Bug 432664 - Spamming contiguous selections causes lengthy or indefinite lockups
Summary: Spamming contiguous selections causes lengthy or indefinite lockups
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-08 21:12 UTC by tomtomtomreportingin
Modified: 2021-09-08 15:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomtomtomreportingin 2021-02-08 21:12:36 UTC
SUMMARY
Spamming continguous selections in Krita stable (currently 4.4.2 as of writing) especially with larger canvases causes longer lockups depending on how much it's spammed. In git master's case, tapping a contiguous selection just twice appears to cause an indefinite, uncancellable operation. Swap memory noted in the status bar memory indicator also appears to go up continuously while the selections are initialized.

STEPS TO REPRODUCE
1. Select a large canvas size like A5 600 DPI
2. Select the contiguous selection tool
3. Tap several times on the canvas

OBSERVED RESULT
Krita locks up for a fairly long time, or in git master, indefinitely.

EXPECTED RESULT
Non-lengthy lockups.

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 wolthera 2021-09-08 09:23:48 UTC
Can you still reproduce this? I cannot, and tiar did multithread the contiguous selection tool...
Comment 2 tomtomtomreportingin 2021-09-08 15:04:03 UTC
Not really, this could probably be considered resolved.