Waveforms cache files are all generated at the same time on startup, causing huge CPU usage and potentially freezing the UI (if there are many recordings and few cache files), starting approximately 40 seconds after launch
Roughly 40 seconds after I launch GNOME Sound Recorder 3.38.0 (Fedora 33 system-installed version), on the terminal I get this nonsense being spammed nonstop:
(gnome-sound-recorder:84316): Gjs-CRITICAL **: 16:59:49.838: The offending signal was message on GstBus 0x7fefb8014a90.
== Stack trace for context 0x5620577941a0 ==
#0 562057957860 i resource:///org/gnome/SoundRecorder/js/main.js:47 (18361edb5740 @ 23)
#1 5620579577c0 i resource:///org/gnome/gjs/modules/script/package.js:222 (18361ed83380 @ 45)
#2 562057957730 i /usr/bin/gnome-sound-recorder:8 (18361ed83100 @ 53)
The result is that the app eats the CPU and the GUI becomes totally unresponsive or erratic. I can't explain why exactly this happens, I can only demonstrate its existence:
Edited by Andre Klapper