Bug 480627 - Sometimes, Spectacle freezes when supposed to record its own window
Summary: Sometimes, Spectacle freezes when supposed to record its own window
Status: REPORTED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.01.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-31 20:38 UTC by Tammes Burghard
Modified: 2024-02-01 20:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tammes Burghard 2024-01-31 20:38:18 UTC
SUMMARY
***
It does not happen every time, but more than half of the time for me. Note that I might confuse some button or tab namings because I am translating them from German.
***


STEPS TO REPRODUCE
1. Open Spectacle (in the terminal to get output there)
2. Choose the Recording tab and click the "Window"-button
3. Choose the "Spectacle"-window to record by clicking it
4. Click finish recording

OBSERVED RESULT
1. I get the following output in the terminal:

kpipewire_record_logging: VAAPI: Failed to initialize display
kpipewire_record_logging: DRM device not found
kpipewire_record_logging: VAAPI: Failed to initialize display
kpipewire_record_logging: DRM device not found

3. I get the output above again and the second counter hangs at 0
4. Nothing happens, Spectacle is entirely frozen

EXPECTED RESULT
1. No error
3. No error, the second counter starts counting and Spectacle starts recording itself
4. The recording gets finished and saved and Spectacle is overall responsive

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Pentium® CPU 4425Y @ 1.70GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 615
Manufacturer: Microsoft Corporation
Product Name: Surface Go 2
System Version: 1
Comment 1 Doug 2024-02-01 05:45:37 UTC
Spectacle was able to record its own window 4 out of 4 attempts when freshly launched.  After successfully recording itself, it was then 4 for 4 freezing up when trying again to record itself again.  So I tried with recording some other apps and got the same results- always successful recording the first time, froze up trying to record a second window.  I'm not getting the terminal errors that you are.