Bug 259149 - [GStreamer] [GTK] HTML5 video playback is not stopped when closing the window containing a video file
Summary: [GStreamer] [GTK] HTML5 video playback is not stopped when closing the window...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-12 10:18 PDT by Jeff Fortin
Modified: 2023-07-12 18:08 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin 2023-07-12 10:18:40 PDT
In Epiphany,

1. Right-click this link: https://studios.ecchi.ca/videos/texture.webm
2. "Open video in new window" (or open a new window and paste the link to the video file into it)
3. While the video is playing, close the window (with the X button, or Ctrl+W)

Result: video is still playing, or at least the sound is still playing.

This apparently does not affect tabs.

Tested with Epiphany 44.3 + WebKitGTK 2.40.3 + GStreamer 1.22.4 + Wayland on GNOME 44 on Fedora 38
Comment 1 Philippe Normand 2023-07-12 12:31:58 PDT
Cannot reproduce this in MiniBrowser :)
Comment 2 Michael Catanzaro 2023-07-12 15:40:04 PDT
Huh, I'm also unable to reproduce in MiniBrowser, but it does happen in Epiphany.

Although bugs like this are _usually_ problems in WebKit, this one might actually be an Epiphany bug. E.g. maybe the web view is somehow leaked. Jeff, can you report it on the Epiphany issue tracker please? (We can always move back here if it turns out to be a WebKit problem after all.)
Comment 3 Jeff Fortin 2023-07-12 18:08:11 PDT
Refiled at https://gitlab.gnome.org/GNOME/epiphany/-/issues/2130