Skip to content

[Ubuntu 26:04] Ubuntu Gnome control center always has a WhatRust media player. #120

Backlog

Description

@mhasant19
image

WhatRust shows as playing something even when it's not.

Activity

  1. karem505 commented on Nov 25, 2026

    @karem505
    Owner

    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.

  2. mhasant19 commented on Nov 25, 2026

    @mhasant19
    ContributorAuthor

    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.

  3. karem505 commented on Nov 26, 2026

    @karem505
    Owner

    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.

  4. mhasant19 commented on Nov 27, 2026

    @mhasant19
    ContributorAuthor

    @karem505 I think PR #139 should fix this. Please review. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions