SUMMARY Spectacle is unable to stop recording the screen and save it. STEPS TO REPRODUCE 1. Open Spectacle 2. Press Recording > Workspace 3. Unhide the window (as the window hides itself after pressing Workspace) 4. Press "Finish recording" OBSERVED RESULT The record continues and does not stop. When I started Spectacle from the terminal and pressed "Finish recording", this message showed up in the terminal: ``` *** pw_stream_set_active called from wrong context, check thread and locking: Not in loop ``` However there are no other messages on subsequent presses. EXPECTED RESULT The recording was stopped and I was asked to save the video (or it auto-saves somewhere). SOFTWARE/OS VERSIONS Linux/KDE Plasma: Slackware post-15.0 -current KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION Are there any logs that I could add? I'd help capture any logs if they help.
I'm unable to reproduce this issue on Fedora 38 KDE on Wayland with 23.04.1. Are you also on Wayland? I believe the screen recording may be a wayland only feature.
(In reply to Justin Zobel from comment #1) > I'm unable to reproduce this issue on Fedora 38 KDE on Wayland with 23.04.1. > Are you also on Wayland? I believe the screen recording may be a wayland > only feature. Hello, Thanks for the reply. After more fiddling it turns out Pipewire wasn't running for some reason. After starting Pipewire all became normal. -- ltlnx
I'm going to reopen this as spectacle should in my opinion check for the user to ensure recording works.
I too have this problem Spectacle Version: 23.04.2 KDE Info: Operating System: openSUSE Tumbleweed 20230617 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 Kernel Version: 6.3.7-1-default (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz Memory: 15.5 GiB of RAM Graphics Processor: PITCAIRN NOTE: pipewire and pipewire-pulse were both running
Issue still present: Operating System: openSUSE Tumbleweed 20230821 KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 Kernel Version: 6.4.11-1-default (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz Memory: 11.6 GiB of RAM Graphics Processor: PITCAIRN
I've never encountered this issue myself, so I'm not sure what the cause could have been. It's also not clear if Wen-Wei's issue is exactly the same as Ben's issue. A lot of improvements have been made since the bug report was posted (especially in the upcoming 24.02 version). Justin mentioned that Spectacle should check if recording works and I'm pretty sure Spectacle won't start recording if recording is impossible, so I'm going to mark this as fixed. Version 24.02 won't have a "Workspace" mode since that was changed to a more general Region recording mode. If someone has a similar problem with version 24.02, please make a new bug report since the steps for reproducing the issue would be different.