Bug 487599 - Multiple screenshots slow down the system and almost freeze
Summary: Multiple screenshots slow down the system and almost freeze
Status: REPORTED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.05.0
Platform: KaOS Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-26 18:58 UTC by Enrico
Modified: 2024-05-26 20:13 UTC (History)
1 user (show)

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


Attachments
effect of multiple screenshot (188.91 KB, image/png)
2024-05-26 18:58 UTC, Enrico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico 2024-05-26 18:58:44 UTC
Created attachment 169859 [details]
effect of multiple screenshot

SUMMARY
Hello,
taking multiple screenshots with the keyboard shortcut slows down Plasma which almost freezes.

STEPS TO REPRODUCE
1. Set a keyboard shortcut to take a screenshot (e.g CTRL+SHIFT+S)
2. Press the keyboard shortcut and draw a rectangle
3. Press again the keyboard shortcut and draw another rectangle
4. Repeat this again 4-5 times

OBSERVED RESULT
Plasma slows down and then almost freezes. I've 8GB of RAM, with higher RAM it may take more screenshot to freeze.
See attached image

EXPECTED RESULT
When pressing the keyboard shortcut while a screenshot is running, this screenshot should be aborted and a new one created. At the moment it seems that you can stack infinite Spectacle screenshots making Plasma to freeze.

SOFTWARE/OS VERSIONS
Operating System: KaOS (2024) 
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.8.11-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Noah Davis 2024-05-26 20:13:16 UTC
> When pressing the keyboard shortcut while a screenshot is running, this screenshot should be aborted and a new one created. 

Unfortunately, it already behaves the way you described for me. I cannot reproduce this bug.