Bug 494758

Summary: When starting Spectacle it freezes the deskstop for about a minute
Product: [Applications] Spectacle Reporter: alon-palgy
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: REPORTED ---    
Severity: normal CC: jordanov.borislav, kde
Priority: NOR Keywords: X11-only
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=480627
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description alon-palgy 2024-10-14 17:35:20 UTC
SUMMARY
When I open Spectacle it freezes my desktop for about a minute.
Mouse is still responsive.
After about a minute Spectacle starts and everything is OK..

STEPS TO REPRODUCE
1. Open Spectacle using the terminal, or with PrintScrn button.

OBSERVED RESULT
The desktop freezes for about a minute.

EXPECTED RESULT
The desktop should not freeze at all.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-45-generic (64-bit)

ADDITIONAL INFORMATION
Graphics Platform: offscreen
Processors: 16 × AMD Ryzen 9 6900HS with Radeon Graphics
Memory: 30.6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 1 bjordanov 2025-06-26 20:11:07 UTC
Kubuntu 24.04.2 LTS x86_64
Kernel: 6.14.0-061400-generic 
DE: Plasma 5.27.12
WM: KWin
X11, no wayland

CPU: AMD Ryzen 9 5900X @ 4.954GHz 
GPU: AMD ATI Radeon RX 7900 XTX
RAM: 96GB

The problem is exactly like this one: https://bugs.kde.org/show_bug.cgi?id=480627

It freezes the system for 4-5 minutes, only during the first launch of spectacle trough console or using the prnt screen button. When I start the PC, log in and try to use spectacle it freezes. Num lock can be turned on or off, the mouse can be moved but I can't drag a single object/window, close it, minimize, make it active or type anything. It seems like it helps if I press alt+f4, esc, alt+tab and wait but it's possibly a placebo. It feels like there's a small chance it'll only freeze for a minute or two. Here's what `spectacle -d` says when I tried to capture the log.

QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread