Bug 490244

Summary: Spectacle breaks KWin in X11 when selecting >2s of delay
Product: [Applications] Spectacle Reporter: Gontzal M. Pujana <gontzalpujana+kde>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: REPORTED ---    
Severity: normal CC: kde
Priority: NOR Keywords: X11-only
Version First Reported In: 24.05.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gontzal M. Pujana 2024-07-13 19:59:00 UTC
SUMMARY

Screen freezes when taking a delayed screenshot with Spectacle from the floating panel.

STEPS TO REPRODUCE

1. Open Spectacle.
2. Take a screenshot using the "Rectangular region" option.
3. In the floating panel that appears after the initial screenshot, go to Options and set the delay to 2 seconds.
4. In the floating panel, initiate the screenshot.

OBSERVED RESULT

The screen freezes, but the system remains completely functional. 
As a workaround, a terminal can be opened with the systemctl --user restart plasma-kwin_x11.service command to restart KWin and resolve the freeze.

EXPECTED RESULT

The screenshot should be taken after the 2-second delay without causing the screen to freeze.

SOFTWARE/OS VERSIONS

Windows: N/A
macOS: N/A
Linux/KDE Plasma: Garuda Linux x86_64

    KDE Plasma Version: 6.1.2
    KDE Frameworks Version: 6.3.0
    Qt Version: 6.7.2

ADDITIONAL INFORMATION

The bug with the delay only happens after taking the screenshot from the emerging floating panel that appears after you have taken one screenshot before.
Comment 1 TraceyC 2025-02-24 17:58:14 UTC
Adding the x11-only keyword