Bug 487599

Summary: Multiple screenshots slow down the system and almost freeze
Product: [Applications] Spectacle Reporter: Enrico <enricobe>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: 24.05.0   
Target Milestone: ---   
Platform: KaOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: effect of multiple screenshot

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.
Comment 2 Nate Graham 2025-10-30 20:19:59 UTC
Thank you for the bug report, and I'm sorry we weren't able to figure it out yet. A lot has changed since it was reported; can I ask you to see if this is still an issue with Plasma 6.5 or later? Thanks a lot!
Comment 3 Enrico 2025-10-31 06:26:36 UTC
Hello, no problem. I tested it right now in KaOS with plasma 6.5 and I cannot reproduce this bug anymore.
Thanks
Comment 4 Nate Graham 2025-10-31 13:52:32 UTC
Great!