SUMMARY Spectacle will freeze when finishing the record for a window that has been closed in the middle of the recording session. Only a force kill/terminate to end it. - No intermediate or partial files are produced in this case. - It works fine recording a window without trying to reproduce this (i.e.: don't close the window being recorded). - No relevant logs are produced in either dmesg/klog or journalctl. STEPS TO REPRODUCE 1. Open any window to be recorded (e.g: Dolphin) and Spectacle 2. On Spectacle, click "Recording" > "Window" 3. Pick the example window, Spectacle begins recording it. 4. Close the example window, Spectacle continues recording it. 5. On Spectacle, click "Finish recording". OBSERVED RESULT Spectacle freezes. Needs to kill it forcefully. EXPECTED RESULT Not sure, but no locking up. Maybe it should automatically finish the recording when the target window is closed; or keep producing blank frames to the stream until finished? SOFTWARE/OS VERSIONS Linux/KDE Plasma: EndeavourOS KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Graphics platform: Wayland Kernel: 6.8.5-arch1-1 (64 bit) Graphics card/driver: AMD Radeon RX 550 / 550 Series (radeonsi, polaris12, LLVM 17.0.6, DRM 3.57, 6.8.5-arch1-1 / Mesa 24.0.5-arch1.1) and Linux/KDE Plasma: openSUSE Tumbleweed 20240414 KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.7.0 Graphics platform: Wayland Kernel: 6.8.5-1-default (64 bit) Graphics card/driver: llvmpipe / KVM Same behavior/issue on both. And both up-to-date as of now. ADDITIONAL INFORMATION It seems there was issues about this already: https://bugs.kde.org/show_bug.cgi?id=469786 https://bugs.kde.org/show_bug.cgi?id=467593 But it persists on the versions above. Since it freezes without producing any useful info, can't be sure if a Spectacle or KPipeWire issue, apologies if reporting to the wrong product, despite previous bug seemed to be related to KPipeWire.
I experience the same on Fedora Kinoite 40 (atomic) with Spectacle 24.02.2, KDE Plasma 6.0.4, Kernel 6.8.9 on Wayland. I wanted to record how an app crashes. I selected record from app. The app crashed and then I could not retrieve the video recording because Specacle became unresponsive.
Fixed in 24.05