Bug 253375 - [GStreamer] webkit_web_view_set_is_muted() affects all web views rather than just one
Summary: [GStreamer] webkit_web_view_set_is_muted() affects all web views rather than ...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-03 20:18 PST by Michael Catanzaro
Modified: 2023-06-22 13:49 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2023-03-03 20:18:58 PST
The Mute Tab context menu item in Epiphany Tech Preview is broken with WebKitGTK 2.39.90. Calling webkit_web_view_set_is_muted() causes all web views to be muted or unmuted at the same time, rather than affecting only the web view that it is called on.

I don't know whether this is WebKit or pipewire that's broken.
Comment 1 Philippe Normand 2023-03-12 09:46:51 PDT
Can't reproduce this in TP with WebKitGTK 2.39.91
GStreamer 1.20.5.

Host is Fedora 37.
Comment 2 Michael Catanzaro 2023-03-12 16:18:33 PDT
Still happening for me with 2.39.91. My host system is F38 now, but I'm pretty sure that I was still on F37 at the time that I reported this bug.

I also notice that often the Mute Tab context menu item just does not do anything at all.
Comment 3 Philippe Normand 2023-03-13 09:42:43 PDT
Dunno. Maybe you're experiencing https://bugs.webkit.org/show_bug.cgi?id=253769 ?
Comment 4 Michael Catanzaro 2023-03-13 10:16:12 PDT
Yes indeed. (Although that does not explain why muting a single tab causes all tabs to become muted, so it's really two different bugs.)
Comment 5 Michael Catanzaro 2023-05-01 06:54:54 PDT
Still happening with WebKitGTK 2.41.3 and pipewire-0.3.69-2.fc38.
Comment 6 Philippe Normand 2023-06-20 01:11:23 PDT
Still can't reproduce this in TP.

WebKitGTK 2.41.5
GStreamer 1.22.3
Pipewire 0.3.71

Host: F38 silverblue
Comment 7 Michael Catanzaro 2023-06-20 06:26:01 PDT
It's 100% reproducible for me. I'll try to do a little debugging.
Comment 8 Michael Catanzaro 2023-06-21 14:19:11 PDT
So I don't think it's possible to fail to reproduce this, because the action state in Epiphany is hooked up to the window rather than the tab, so the state of all tabs always reflects the state of the most recently muted or unmuted tab. This is Epiphany's fault, not a WebKit bug.

I'm bamboozled as to why you are not able to reproduce. Looks like it's not possible for it to ever work. Shame, because I wasted three months assuming something was going wrong deep in WebKit. :P