Closed Bug 558669 Opened 14 years ago Closed 14 years ago

ability to reinitialise flash without closing firefox

Categories

(Plugins Graveyard :: NSPluginWrapper, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: xteejyx, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100409 Ubuntu/10.04 (lucid) Firefox/3.6.3
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100409 Ubuntu/10.04 (lucid) Firefox/3.6.3

"This is a feature request, and probably not one that you will consider exactly high priority, but here it is anyway because it would save me a lot of pain right now...

The Adobe Flash plugin fails A LOT, or at least it does so on my amd64 system. From the moment it does so, every new flash animation or movie shows in the browser as nothing more than a pale grey rectangle. The only way to get flash working again is to restart the browser. While I fully understand that this is a flash problem and not a firefox one (I get exactly the same problem using opera), the fact is that adobe aren't exactly busting a gut to solve this. Flash is essential to get access to some of the most popular and important web content, such as youtube, myspace and many feature of facebook. Without a half-viable flash player desktop ubuntu is crippled.

Therefore would it be possible to have a feature built into firefox (or an extension) that would allow us to reinitialise the flash plugin (unload and reload?) after it fails, without having to restart the browser?

Such a feature, of course, would also be useful in the hypothetical situation that another proprietary plugin were to misbehave in the same way."

This was originally reported in Launchpad at https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/244037

Reproducible: Always

Steps to Reproduce:
1. Open Youtube
2. Watch Adobe flash plugin crash
3. See that there is no other way to fix other than restarting firefox
Actual Results:  
Flash (and other plugins) can crash Firefox.

Expected Results:  
Flash (and other plugins) are run slightly outside of firefox, giving firefox the ability to shut them off and restart them if they cause problems.
this sounds like you're using nspluginwrapper which is a third party plugin. in 1.9.2.4 you shouldn't need to use this.

please file your bug in ubuntu's bug tracker (or whereever nspluginwrapper lives).
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Component: General → Other
Product: Firefox → Plugins
QA Contact: general → other
Resolution: --- → WORKSFORME
Whiteboard: [nspluginwrapper]
Whether the reporter is using nspluginwrapper or not is not the issue. This is a feature request for implementation of a "shutdown and restart" script/button type thing for plugins within Firefox, it has nothing to do with installed plugins.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Component: Other → NSPluginWrapper
QA Contact: other → nspluginwrapper
Whiteboard: [nspluginwrapper]
Should this just be duped against the OOPP master bug?
seems like a waste (duping), but yes, in 1.9.2.4 if you kill -9 the mozilla plugin host then you could reinitialize flash. I'm not quite sure how we'd want to expose such a thing, it doesn't seem like something for which we'd want to allocate space in a ui. One should not create a ui based on the assumption that another module will always be broken.

I'd like to note that even your original reporter has noted his casus belli has gone away.

micah: if you want to mark this as wfm w/ 1.9.2.4 (when it happens), i'd be ok w/ that.
(In reply to comment #4)
> seems like a waste (duping), but yes, in 1.9.2.4 if you kill -9 the mozilla
> plugin host then you could reinitialize flash. I'm not quite sure how we'd want
> to expose such a thing, it doesn't seem like something for which we'd want to
> allocate space in a ui. One should not create a ui based on the assumption that
> another module will always be broken.

I noticed that there was something in the UI that prompted me to restart flash, hence that's why I thought it would be solved by 1.9.2.4
it will. but duping 30 hang bugs to a bug which implements a feature isn't really particularly useful.
This has worked since Firefox 3.6.4 with the Out of process plugins.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → WORKSFORME
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.