After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 355519 - Plugins continue to run after tabs are closed
Plugins continue to run after tabs are closed
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: General
2.14.x
Other All
: Normal major
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
: 351709 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-12 00:22 UTC by Sam Morris
Modified: 2007-02-01 20:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Sam Morris 2006-09-12 00:22:47 UTC
Please describe the problem:
If a tab containing a plugin is closed, the plugin continues to run. This is noticeable with video sites such as youtube where the plugins make some kind of sound.

The plugins continue to play until the window that contained their tab is closed.

Steps to reproduce:
1. Make two tabs
2. In one tab, to to youtube
3. Play a video
4. Close the youtube tab


Actual results:
Sound from video continues to play

Expected results:
Instances of the flash plugin should be destroyed when the page in the tab is destroyed

Does this happen every time?
Yes

Other information:
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2006-09-12 02:04:33 UTC
Yep, true.
This happens to me with flash plugin and totem xine plugin.

Check #351709.
Comment 2 Christian Persch 2006-09-12 11:20:42 UTC
Not reproducible for me.

Do you have any epiphany extensions enabled? If so, try with all of them disabled (restart epiphany after disabling).

Which epiphany version, and which backend gecko version?
Comment 3 Sam Morris 2006-09-12 12:22:01 UTC
Got it! It was caused by the (third-party) 'tab close' extension.
Comment 4 Sam Morris 2006-09-12 12:22:43 UTC
Oops, that's the 'Undo Tab Close' extension.
Comment 5 Christian Persch 2006-09-12 13:01:45 UTC
Please report the problem to the extension's author. You may want to point him to the mozilla sources for undo-tab-close in firefox 2.0 which might or might not solve this problem.
Comment 6 Stefan Stuhr 2006-09-13 14:35:18 UTC
First, thanks to Sam Morris for notifying me of this bug.

Second, I do not plan to fix it. I made the Undo Tab Close extension in a very simple way, and it (the extension) isn't important enough to me to put too much time and effort into it.

What I have done, however, is to put a big warning on my Epiphany Extensions website ( http://www.sstuhr.dk/epiphany-extensions/ ) about this problem. I hope that is enough to minimize the future amount of bug reports caused by this problem.

I am sorry about any bug report caused by this problem.
Comment 7 Diego Escalante Urrelo (not reading bugmail) 2006-09-13 21:10:25 UTC
Oh that's bad to know.
Comment 8 Diego Escalante Urrelo (not reading bugmail) 2006-09-13 21:12:00 UTC
*** Bug 351709 has been marked as a duplicate of this bug. ***
Comment 9 Mark Howard 2007-02-01 20:07:12 UTC
Is there any chance of making the extensions available again, so others can attempt to fix it? 
(it's a shame that this - and some of your other extensions - aren't in the core epiphany extensions pack.)
Comment 10 Stefan Stuhr 2007-02-01 20:45:45 UTC
(In reply to comment #9)
> Is there any chance of making the extensions available again, so others can
> attempt to fix it?

Nope, not a chance. I am very sure that a proper implementation of such a plugin would look nothing like the Undo Tab Close extension I wrote. I am also very sure that the way I implemented it can't be fixed to avoid this bug.

My extension was a hack, with very little code, and I wrote and used it at a time when I didn't have working sound with the Macromedia Flash 7 plugin, and almost never used any multimedia content in a webbrowser. That's why I didn't catch this bug myself.