Bug 436087 - Kdialog freezes when there are no available audio sinks
Summary: Kdialog freezes when there are no available audio sinks
Status: REPORTED
Alias: None
Product: kdialog
Classification: Applications
Component: general (show other bugs)
Version: 21.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Brad Hards
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-23 09:38 UTC by Antti Savolainen
Modified: 2024-03-27 11:32 UTC (History)
1 user (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 Antti Savolainen 2021-04-23 09:38:16 UTC
SUMMARY
Example with pipewire: https://youtu.be/ZMZCQaLHfmo
Example with pulseaudio: https://youtu.be/StfgM4CZDVo
On the current arch version of pipewire, the system finds no available audiosinks on my system. Not even virtual. For some reason Kdialog is tied to it. 
I feel this might be a problem with something deeper as the same sort of freeze can be seen when trying to play any video. The video freezes for a long time before finally proceeding without sound.

STEPS TO REPRODUCE
1. Install a version of pipewire where no audiosinks are detected (for me libpipewire 0.3.24)
2. Download an image
3. Download the image again where you name it the same

OBSERVED RESULT
The "Overwrite file" dialogue freezes and so does any resulting "window is not responding" dialogue.

EXPECTED RESULT
Window should not freeze

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Pipewire version: 0.3.24
Comment 1 Nate Graham 2021-04-27 17:20:55 UTC
That is really strange!
Comment 2 Antti Savolainen 2021-04-27 19:25:09 UTC
I forgot to comment earlier that I got a tip elsewhere. The bug is probably tied to the error sound that rings when kdialog appears. Since it seems that the window rendering doesn't happen before the sound is played, the window waits for the audio system until it fails.
Comment 3 Antti Savolainen 2024-03-27 11:32:50 UTC
Should this be closed?