Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 6c78eb4d72a6b4f1e55134b6691ea8e1d0cbd7af
      
https://github.com/WebKit/WebKit/commit/6c78eb4d72a6b4f1e55134b6691ea8e1d0cbd7af
  Author: Michael Catanzaro <[email protected]>
  Date:   2026-03-21 (Sat, 21 Mar 2026)

  Changed paths:
    M Source/WebCore/platform/audio/glib/MediaSessionGLib.cpp

  Log Message:
  -----------
  Cherry-pick 309615@main (d7414b3bdd97). 
https://bugs.webkit.org/show_bug.cgi?id=278721

    [GTK] Too many useless MPRIS notifications
    https://bugs.webkit.org/show_bug.cgi?id=278721

    Reviewed by Philippe Normand.

    We are currently spamming users which huge numbers of useless MPRIS
    controls. It's not unusual to see one MPRIS notification with "Unknown
    Title" and "Unknown Artist" per web process.

    This commit adds a last-minute sanity check: drop any MPRIS registration
    that does not have a title.

    Although this check is good to have regardless, it has the feel of a
    workaround rather than a proper solution. E.g. let's say a page has 5
    media elements, 4 of which are hidden or otherwise not obvious to the
    user, and 1 of which is a prominent video. Ideally we would display
    MPRIS controls for the prominent video. Instead, we'll likely choose
    badly and wind up dropping the MPRIS registration altogether. So further
    improvement would certainly be useful.

    Canonical link: https://commits.webkit.org/309615@main

Canonical link: https://commits.webkit.org/305877.246@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to