Bug 253375
| Summary: | [GStreamer] webkit_web_view_set_is_muted() affects all web views rather than just one | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | bugs-noreply, kdwkleung, mcatanzaro, philn |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=254343 | ||
Michael Catanzaro
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Philippe Normand
Can't reproduce this in TP with WebKitGTK 2.39.91
GStreamer 1.20.5.
Host is Fedora 37.
Michael Catanzaro
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.
Philippe Normand
Dunno. Maybe you're experiencing https://bugs.webkit.org/show_bug.cgi?id=253769 ?
Michael Catanzaro
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.)
Michael Catanzaro
Still happening with WebKitGTK 2.41.3 and pipewire-0.3.69-2.fc38.
Philippe Normand
Still can't reproduce this in TP.
WebKitGTK 2.41.5
GStreamer 1.22.3
Pipewire 0.3.71
Host: F38 silverblue
Michael Catanzaro
It's 100% reproducible for me. I'll try to do a little debugging.
Michael Catanzaro
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
Michael Catanzaro
https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1354