Audio Stops Playing Briefly When Emptying Trash

Bug #1852018 reported by Kashif Khan
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-desktop-icons (Ubuntu)
Won't Fix
Low
Unassigned
pulseaudio (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

I am running Ubuntu 19.10 and encountered this issue. I had a podcast playing in the background on Firefox v. 70.0.1 and I was deleting some files. I then proceeded to empty the trash and saw that the audio stops briefly till the "Empty all items from Trash?" prompt shows up.

I was able to duplicate this many times and it even occurred with audio on Chrome.

The expected way for things to work would be the audio keeps on playing, if I just empty the trash.

Tags: eoan
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report.

- What sound card/driver do you use?
- Could you add your '$ journactl -b 0' log to the bug?
- Do you get the same problem if you play a sound using 'paplay'?

affects: gdm3 (Ubuntu) → pulseaudio (Ubuntu)
Changed in pulseaudio (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Kashif Khan (kashifk) wrote :

sound card/driver :
Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
 DeviceName: Onboard - Sound
 Subsystem: Hewlett-Packard Company Cannon Lake PCH cAVS
 Flags: bus master, fast devsel, latency 32, IRQ 143
 Memory at a3510000 (64-bit, non-prefetchable) [size=16K]
 Memory at a3100000 (64-bit, non-prefetchable) [size=1M]
 Kernel driver in use: snd_hda_intel

I wasnt able to get any of the MP3 files to play via paplay

Revision history for this message
Sebastien Bacher (seb128) wrote :

You should be able to try to e.g
$ paplay /usr/share/sounds/freedesktop/stereo/dialog-information.oga

Revision history for this message
Kashif Khan (kashifk) wrote :

tried that and the sound ends too quickly for me to delete the file and test

Revision history for this message
Sebastien Bacher (seb128) wrote :

can you try with?
$ aplay /usr/share/sounds/freedesktop/stereo/service-login.oga

Revision history for this message
Kashif Khan (kashifk) wrote :

No did not experience it with paplay

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks

Changed in pulseaudio (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think the more relevant thing to investigate here is the GUI used to empty the trash... Are you doing it via the desktop icon or via a Nautilus "Files" window?

Probably both gnome-shell and nautilus are pulseaudio clients one way or the other.

tags: added: eoan
Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Kashif Khan (kashifk) wrote :

Im doing it via the desktop icon. Ive also noticed stops in music or freezes when Im running CLI commands such as update etc.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

OK. It sounds like the desktop-icons extension blocking is the main problem here. A secondary problem, which might be an unfixable design choice, is that it sounds like PulseAudio clients can block the sound of the entire server.

Changed in pulseaudio (Ubuntu):
status: Incomplete → New
Changed in gnome-shell-extension-desktop-icons (Ubuntu):
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: New → Confirmed
Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexander Pistoletov (alexpistoletov) wrote :

Does the same thing happen if you try to shift+delete something in Nautilus? (this also causes a dialog window to pop up)
I have a very similar issue if I play music in foobar2000 through Wine using its "wasapi shared" output method and do that - the sound stutters for a brief amount of time.

Revision history for this message
Alexander Pistoletov (alexpistoletov) wrote :

> A secondary problem, which might be an unfixable design choice, is that it sounds like PulseAudio clients can block the sound of the entire server.

If that's unfixable, then perhaps it makes sense to remove this behavior from clients which are bundled with Ubuntu, such as Nautilus. They don't have to block the sound of the entire server, right?

Revision history for this message
Kashif Khan (kashifk) wrote :

Another update, Ive seen this have a video/audio running, start a new terminal, type in sudo then tab to autocomlpete, and the audio/video will stop. Now without closing the terminal, when you tab to autocomplete again audio/video keep on playing as expected.

Close the terminal, open new terminal and try steps again and audio/video will stop for a second

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See also bug 1841663

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 19.10 (eoan) reached end-of-life on July 17, 2020.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: Confirmed → Won't Fix
Changed in pulseaudio (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.