SUMMARY *** Hello, I tried to record a specific window, but the recording is stopped when I press the maximize/minimize buttons. The "recording" of Spectacle still runs, but when I stop the record and open the .webm file i can see the recording only before I press the maximize/minimize button *** STEPS TO REPRODUCE 1. Open Spectacle > Recording 2. Start the recording of a selected window 3. Do something that will be recorded 4. Press the maximize or minimize button 5. Do something else 6. Stop the recording from Spectacle 7. Open the .webm file OBSERVED RESULT The webm file contains the recording only to the point you pressed the maximize/minimize button EXPECTED RESULT It should record everything, also after the maximize/minimize button. Operating System: Kubuntu 23.04 KDE Plasma Version: 5.27.7 (backports PPA) KDE Frameworks Version: 5.108.0 (backports PPA) Qt Version: 5.15.8 Kernel Version: 6.2.0-27-generic (64-bit) Graphics Platform: Wayland Processors: 16 × 12th Gen Intel® Core™ i5-1240P Memory: 7.3 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: Intel(R) Client Systems Product Name: NUC12WSHi5
Can reproduce; I guess it doesn't handle the window changing size.
Does this only happen when recording using the H.264 format? With git master, I can reproduce it only with H.264, and not VP9.
Hello, I've tried to reproduce this bug from Kubuntu installed from scratch: == Spectacle: 6.3.4 KDE Frameworks: 6.12.0 Qt: Using 6.8.3 and built against 6.8.3 Build ABI: x86_64-little_endian-lp64 == Operating System: Kubuntu 25.04 KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.3 Kernel Version: 6.14.0-15-generic (64-bit) Graphics Platform: Wayland Everything works fine. I tried bot H264 and WebM. Spectacle doesn't stop the recording anymore and it can also manage the window resize and also minimize/maximize. For my experience, I consider this bug fixed. It's strange that you still have this bug and I don't. One difference between H264 and WebM: using H264 everything works as expected Using WebM the recording seems to "pause" when the windows is minimized. When I play the recorded file with VLC the playback jumps from 00m:03s (when I minimize the window) to 00m:07s (when I re-open the window). However this behavior is not strictly related to this bug report.
With current git master, this works with VP9, and with H.264 it fails but Spectacle shows an appropriate error message: An error occurred while attempting to record the screen. The stream closed because the target window changed in a way that disrupted the recording.