Closed Bug 890120 Opened 13 years ago Closed 13 years ago

enabling/disabling plugin in addon menu also enables/disables similar plugins

Categories

(Core Graveyard :: Plug-ins, defect, P3)

22 Branch
x86_64
Linux

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: pouar, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release) Build ID: 20130625173050 Steps to reproduce: enabling or disable Gnash in the addons menu Actual results: Flash and Lightspark also get enabled/disabled even though I never selected them Expected results: only Gnash should get enabled
Severity: normal → major
Component: Untriaged → Plug-ins
Product: Firefox → Core
the problem disappears when setting plugin.scan.plid.all to false
(In reply to thepouar from comment #1) > the problem disappears when setting plugin.scan.plid.all to false oh wait, it doesn't. I just forgot to upgrade back to Firefox 22 before testing, I downgraded it to version 21 in an attempt to find what was causing the problem, but forgot to change it back.
How can I install Gnash as a Firefox plugin ?
Flags: needinfo?(thepouar)
We treat all plugins that play the Flash MIME type as a single entity in terms of enable/disablement: http://hg.mozilla.org/mozilla-central/annotate/1639af60732e/dom/plugins/base/nsPluginTags.cpp#l164 I'm not sure everything that mIsFlashPlugin controls, so I don't know whether we need another flag to distinguish gnash/lightspark from Flash. But I also am not sure that this is directly worth fixing. I'm going to file a followup to group all the plugins that are enabled/disabled together in the addons manager, because currently it is not aware of the grouping system that the plugin host uses. gfritzsche/josh, thoughts? Paul, you use your Linux package manager.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(thepouar)
Flags: needinfo?(joshmoz)
Flags: needinfo?(georg.fritzsche)
Priority: -- → P3
(In reply to Benjamin Smedberg [:bsmedberg] from comment #4) > We treat all plugins that play the Flash MIME type as a single entity in > terms of enable/disablement: > http://hg.mozilla.org/mozilla-central/annotate/1639af60732e/dom/plugins/base/ > nsPluginTags.cpp#l164 > > I'm not sure everything that mIsFlashPlugin controls, so I don't know > whether we need another flag to distinguish gnash/lightspark from Flash. But > I also am not sure that this is directly worth fixing. I'm going to file a > followup to group all the plugins that are enabled/disabled together in the > addons manager, because currently it is not aware of the grouping system > that the plugin host uses. > > gfritzsche/josh, thoughts? > > Paul, you use your Linux package manager. I'm pretty sure it has to do with that change, I just figured that out on my own and was just about to reply to this.
this also affects IcedTea and Java
We could possibly get rid of the special casings for Java and Flash in [1], which should mean that the decision is up to the addon manager (i.e. either it groups them together or not). However, doing so would mean we'd have to rely on that "filename sanitation" scheme for Flash and Java too. [1] http://hg.mozilla.org/mozilla-central/annotate/1639af60732e/dom/plugins/base/nsPluginTags.cpp#l503
Flags: needinfo?(georg.fritzsche)
Yeah, I don't think we should change the behavior now. Giving people a way to choose which plugin renders the Java or Flash MIME type is a pretty niche activity. I'll file my followup about making sure that the visual presentation is clear, and close this bug out.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Filed bug 891351 on the addon manager presentation.
Flags: needinfo?(joshmoz)
Not sure about the flash playing plugins - but the Java plugins (# 901618) should be treated separately: because they are incompatible! Some applets insist on using the Oracle Java plugin; for normal applets, the Ubuntu Java plugin is much preferable (security updates). Therefore, it should be possible to enable one and disable the other.
We were already treating plugins that handle Java the same in other places before (e.g. prefs controlling OOP). I don't know how much effort doing the proper thing (i.e. allowing the user to choose which plugin to use) would be. In the mean-time you should be able to work-around by "touch"ing the plugin you want to use - at least as long the version is the same.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.