You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Ubuntu 26:04] Ubuntu Gnome control center always has a WhatRust media player. #120
Thanks @mhasant19. To be clear about v0.7.0: it does not fix this. Its idle-audio change (commit ad80036) removes a paused sound's src and calls load() to free the audio stream, and your measurements in #124 show that this leaves WebKitGTK's media player in place (even stuck at "Playing"); only destroying the element's document removes it.
Your hidden-iframe approach in #124 looks like the right fix. You closed it before it was reviewed: would you reopen it (or open a new PR) rebased on master? media.js now has a section 5 that parks paused <audio> elements, so the two need to agree on which element owns the sound. I'll review it as soon as it is up.
Hi @karem505, I closed PR #124 because I don't think that fix was correct as I am running that on my system and still see the media player for send_message and notification. I will investigate a bit more on this.
Status for v0.7.1: the sound fix there makes every WhatsApp sound give its audio stream back 1.5 s after it stops (voice notes included) and shares one audio context, so the volume mixer no longer collects whatRust entries. The GNOME media-player entry itself is created by WebKitGTK's MPRIS support and is not removed by this, so this issue stays open. @mhasant19, if you find more in your investigation, I'm glad to review it.
Activity
docs(release-notes): v0.7.0 does not fix the GNOME media player (#120)
karem505 commentedon Nov 25, 2026
Thanks @mhasant19. To be clear about v0.7.0: it does not fix this. Its idle-audio change (commit ad80036) removes a paused sound's
srcand callsload()to free the audio stream, and your measurements in #124 show that this leaves WebKitGTK's media player in place (even stuck at "Playing"); only destroying the element's document removes it.Your hidden-iframe approach in #124 looks like the right fix. You closed it before it was reviewed: would you reopen it (or open a new PR) rebased on
master?media.jsnow has a section 5 that parks paused<audio>elements, so the two need to agree on which element owns the sound. I'll review it as soon as it is up.mhasant19 commentedon Nov 25, 2026
Hi @karem505, I closed PR #124 because I don't think that fix was correct as I am running that on my system and still see the media player for
send_messageandnotification. I will investigate a bit more on this.fix(linux): one sound stream for WhatsApp's sounds
karem505 commentedon Nov 26, 2026
Status for v0.7.1: the sound fix there makes every WhatsApp sound give its audio stream back 1.5 s after it stops (voice notes included) and shares one audio context, so the volume mixer no longer collects whatRust entries. The GNOME media-player entry itself is created by WebKitGTK's MPRIS support and is not removed by this, so this issue stays open. @mhasant19, if you find more in your investigation, I'm glad to review it.
fix(linux): alert sounds leave no media player in the media controls (k…
mhasant19 commentedon Nov 27, 2026
@karem505 I think PR #139 should fix this. Please review. Thanks.