Closed Bug 891351 Opened 13 years ago Closed 7 years ago

Group plugins in the addon manager that will be enabled/disabled together

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: benjamin, Unassigned)

References

Details

Currently the addon manager has a separate presentation and enabled state for each plugin tag. In reality, if multiple versions of the same plugin are installed, or if multiple kinds of Java plugins or Flash plugins are installed, they are all enabled/disabled together. In the UI, we should group these together. In the backend, this mainly takes the form of changing the "id" for plugins in PluginProvider.getPluginList. Currently the ID is constructed by hashing name+description, but we now can just get the niceFileName from the plugin tag and combine multiple plugins with the same niceFileName. I'm not sure exactly we should present multiple plugins in the UI, but I'm sure that there should be just a single enable/disable button for them.
See the discussion in bug 890120 on multiple Java/Flash plugins.
Summary: Groups plugins in the addon manager that will be enabled/disabled together → Group plugins in the addon manager that will be enabled/disabled together
(In reply to Benjamin Smedberg [:bsmedberg] from comment #0) > I'm not sure exactly we should present multiple plugins in the UI, but I'm > sure that there should be just a single enable/disable button for them. I don't see where listing multiple plugins would be useful/helpful - unless we want to allow choosing which of the grouped plugins to use listing the plugin we actually use should be enough. I think all other cases where that information would be needed should be covered by about:plugins.
You're assuming that we would only use one plugin, which is not a safe assumption especially for Java. Because each Java plugin registers version-specific MIME types, if you have multiple JREs installed (e.g. 6 and 7) you could have multiple Java plugins active at a time, for instance if a site requested specifically application/x-java-applet;jpi-version=1.7.0_45 and application/x-java-applet;jpi-version=1.6.0_23 So I do think we should display every plugin which could possibly be activated.
For security reasons Java users are recommended to uninstall the older versions of Java. But if you are, for instance, a developer and keep several versions of Java in system, you are not happy if both of them are disabled or enabled only together in the browser. I think there should be an option of grouping commands for such plugins like Java, but each version of plugin could also be operated separately, too. The contrary situation is about Flash player plugins. The Flash player installer should delete the older versions of it when updating, and normally there should not be the situation where several versions of Flash player are in the plugin list as it is discussed here: https://bugzilla.mozilla.org/show_bug.cgi?id=972868
I'm not sure if we actually have a good way to cover this the way plugin state currently works. For developers there is always the option of renaming/moving/... plugins to only get the desired one.
(In reply to Georg Fritzsche [:gfritzsche] from comment #8) > For developers there is always the option of renaming/moving/... plugins to > only get the desired one. yes but remember that depending on where the plugins are, such renaming may affect all non-IE browsers, not only Firefox or SeaMonkey but e.g. Opera and Konqueror or Safari, since they all use NPAPI plugins. For an ordinary user, this "overall" effect will usually be desired, but for a developer it could be too all-encompassing in some circumstances.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.