Some plugins lack proper ubufox integration (Was: confusing plugin selection dialog)

Bug #272010 reported by Սահակ on 2008-09-19
28
This bug affects 2 people
Affects Status Importance Assigned to Milestone
icedtea-gcjwebplugin (Ubuntu)
High
Unassigned
Nominated for Intrepid by Սահակ
Nominated for Jaunty by Սահակ
Nominated for Lucid by Սահակ
openjdk-6 (Ubuntu)
High
Unassigned
Nominated for Intrepid by Սահակ
Nominated for Jaunty by Սահակ
Nominated for Lucid by Սահակ
sun-java5 (Ubuntu)
High
Unassigned
Nominated for Intrepid by Սահակ
Nominated for Jaunty by Սահակ
Nominated for Lucid by Սահակ
sun-java6 (Ubuntu)
High
Unassigned
Nominated for Intrepid by Սահակ
Nominated for Jaunty by Սահակ
Nominated for Lucid by Սահակ
totem (Ubuntu)
High
Unassigned
Nominated for Intrepid by Սահակ
Nominated for Jaunty by Սահակ
Nominated for Lucid by Սահակ
ubufox (Ubuntu)
Undecided
Chris Coulson
Nominated for Intrepid by Սահակ
Nominated for Jaunty by Սահակ
Nominated for Lucid by Սահակ

Bug Description

To provide proper integration with ubufox,

1. plugins that use update-alternatives mechanism should also put a link for their binary in

 /usr/share/ubufox/plugins/

and touch all /usr/lib/firefox-3.*/.autoreg that exist in .postinst.

2. All plugins should have a Description and Filename header added to the binary package control, like gnash:

Xb-Npp-Description: The GNU SWF Player (http://www.gnu.org/software/gnash/)
Xb-Npp-File: libgnashplugin.so

--------

When encountering a java plugin Firefox offers a confusing dialog:
it gives two options:
1. "GCJ Web Browser Plugin"
2. "The GCJ Web Browser Plugin"

the second options supposedly uses openjdk.

No descriptions are given whatsoever.

Alexander Sack (asac) wrote :

seems you have two plugins installed. in general this means that the plugin package doesnt provide the meta info how to better describe the plugin. so we fall back in whatever the plugin exports in its nsapi Description field (which often isnt really that good).

Which packages ship your java plugins?

Changed in ubufox:
status: New → Incomplete
Սահակ (petrosyan) wrote :

I don't have any java plugins installed. If I had java plugins installed, Firefox's ubufox extension would not prompt me to install java plugin. This prompt comes up only if you have no java plugins installed.

Սահակ (petrosyan) wrote :

I just tried the daily live CD image of Ubuntu 9.04 from http://cdimage.ubuntu.com/daily-live/20081202/

and this bug is still present. Attaching a screenshot.

Սահակ (petrosyan) on 2008-12-02
Changed in ubufox:
status: Incomplete → New
Սահակ (petrosyan) wrote :

Adobe Flash Player still has no plugin description. Attached screenshot is illustrating the problem.

Alexander Sack (asac) wrote :

probably needs a plugin finder service backend fix. lets see.

Changed in ubufox:
assignee: nobody → asac
status: New → Triaged
Սահակ (petrosyan) wrote :

Here are the problems with flash plugin selection dialog in Ubuntu 9.04

1. Adobe Flash player plugin has no description at all.

2. "Swfdec SWF player" and "Gnash SWF Player" and "Adobe Flash Player" using inconsistent capitalization for the word "Player". Two of them use capitalized "Player", while Swfdec uses "player".

Սահակ (petrosyan) wrote :

We have 3 plugin options in java plugin selection dialog:

1. "The IcedTea Web Browser Plugin"
2. "GCJ Web Browser Plugin"
3. "The IcedTea Web Browser Plugin"

the problems are:

1. All three plugins have no descriptions.
2. The first and third plugins have identical names.

Alexander Sack (asac) wrote :

a bunch of plugins still need the new meta headers in their control file:

Like gnash:

Xbb-Npp-Description: The GNU SWF Player (http://www.gnu.org/software/gnash/)
Xbb-Npp-File: libgnashplugin.so

I think all java plugins + totem-mozilla need those.

Alexander Sack (asac) on 2009-02-11
description: updated
Changed in icedtea-gcjwebplugin:
importance: Undecided → High
status: New → Triaged
Changed in openjdk-6:
importance: Undecided → High
status: New → Triaged
Changed in sun-java5:
importance: Undecided → High
status: New → Triaged
Changed in sun-java6:
importance: Undecided → High
status: New → Triaged
Changed in totem:
importance: Undecided → High
status: New → Triaged
Changed in ubufox:
status: Triaged → Invalid
Alexander Sack (asac) wrote :
description: updated
Changed in totem:
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package totem - 2.25.90-0ubuntu3

---------------
totem (2.25.90-0ubuntu3) jaunty; urgency=low

  * debian/control{.in}: add XB-Npp-Description and XB-Npp-Filename
    header to the totem-mozilla package to improve ubufox/ubuntu plugin db
    integration (LP: #272010)

 -- Alexander Sack <email address hidden> Wed, 11 Feb 2009 13:03:08 +0100

Changed in totem:
status: Fix Committed → Fix Released
Matthias Klose (doko) wrote :

> To provide proper integration with ubufox,
>
> 1. plugins that use update-alternatives mechanism should also put a link for their binary in
>
> /usr/share/ubufox/plugins/

> Xbb-Npp-File: libgnashplugin.so

this doesn't work for the current java plugins, which are installed under a different name for each plugin.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-6 - 6b14-1.4.1-0ubuntu5

---------------
openjdk-6 (6b14-1.4.1-0ubuntu5) jaunty; urgency=low

  [Matthias Klose]
  * Update to the final CACAO 0.99.4 release.
  * Security Vulnerability Fixes for OpenJDK:
    - 6522586: Enforce limits on Font creation.
    - 6536193: flaw in UTF8XmlOutput.
    - 6610888: Potential use of cleared of incorrect acc in JMX Monitor.
    - 6610896: JMX Monitor handles thread groups incorrectly.
    - 6630639: lightweight HttpServer leaks file descriptors on no-data
      connections.
    - 6632886: Font.createFont can be persuaded to leak temporary files.
    - 6636360: compiler/6595044/Main.java test fails with 64bit java on
      solaris-sparcv9 with SIGSEGV.
    - 6652463: MediaSize constructors allow to redefine the mapping of
      standard MediaSizeName values.
    - 6652929: Font.createFont(int,File) trusts File.getPath.
    - 6656633: getNotificationInfo methods static mutable (findbugs).
    - 6658158: Mutable statics in SAAJ (findbugs).
    - 6658163: txw2.DatatypeWriter.BUILDIN is a mutable static (findbugs).
    - 6691246: Thread context class loader can be set using JMX remote
      ClientNotifForwarded.
    - 6717680: LdapCtx does not close the connection if initialization fails.
    - 6721651: Security problem with out-of-the-box management.
    - 6737315: LDAP serialized data vulnerability.
    - 6792554: Java JAR Pack200 header checks are insufficent.
    - 6804996: JWS PNG Decoding Integer Overflow [V-flrhat2ln8].
    - 6804997: JWS GIF Decoding Heap Corruption [V-r687oxuocp].
    - 6804998: JRE GIF Decoding Heap Corruption [V-y6g5jlm8e1].
  * Add security patch for the lcms library.
  * Add accessibility patches java-access-bridge-security.patch and
    accessible-toolkit.patch.
  * Merge fixes for testsuite failures from the IcedTea6 branch.
  * Merge the proxy support for the plugin from the IcedTea6 branch.
  * Merge http://icedtea.classpath.org/hg/release/icedtea6-1.4.1/rev/546ef0cdee06
    (TJ). LP: #344705.
  * Add a Xb-Npp-Description for the IcedTea plugin. LP: #272010.

  [Edward Nevill]
  * Put VFP back in - selects VFP / novfp autmatically
  * More assembler optimisations

 -- Matthias Klose <email address hidden> Thu, 09 Apr 2009 14:14:12 +0200

Changed in openjdk-6 (Ubuntu):
status: Triaged → Fix Released
Matthias Klose (doko) wrote :

reopening the ubufox task, until it's clear how ubufox handles differently named plugins.

Changed in ubufox (Ubuntu):
status: Invalid → New
Matthias Klose (doko) wrote :

icedtea-gcjwebplugin isn't built anymore

Changed in icedtea-gcjwebplugin (Ubuntu):
status: Triaged → Won't Fix
Dave Gilbert (ubuntu-treblig) wrote :

If I uninstall all java plugins I get three options:

   1) 'The IcedTea Web Browser Plugin'
           Selecting this gives the error 'Could not find package 'cacao-oj6-plugin'

   2) 'GCJ Web Browser Plugin'
           Selecting this gives 'Package 'gcjwebplugin' is virtual.'

  3) 'The IcedTea Web Browser Plugin'
           This actually installs IcedTea.

This is on a Jaunty (upto date as of today 11th April, upgraded from Intrepid, 64bit).

Note also that both (1) and (2) trigger bug #319278 where it claims success, and (3) hits
#344705 where openjdk-6 doesn't work.

Dave

Սահակ (petrosyan) wrote :

sun-java5 does not provide the plugin package

Changed in sun-java5 (Ubuntu):
status: Triaged → Invalid
Matthias Klose (doko) wrote :

> sun-java5 does not provide the plugin package

please don't touch reports if you don't understand how to validate them

Changed in sun-java5 (Ubuntu):
status: Invalid → Triaged
Alexander Sack (asac) wrote :

> reopening the ubufox task, until it's clear how ubufox handles differently named plugins.

I don't understand what differently named means here? Do you have more than one plugin .so in a single binary Package? How are those named?

Alexander Sack (asac) wrote :

Dave, please test with an up-to-date jaunty install. I updaed the plugin DB so all entries displayed in the plugin finder should work. If not, please open a bug and subscribe me to it.

Սահակ (petrosyan) wrote :

ubufox bug has been fixed.

However I see the following problems:
1. Adobe Flash Player installer does NOT work on 64 bit Ubuntu 9.04 (bug #361430).
2. (cosmetic) "Adobe Player" and "Gnash Player" using capital "P", while "Swfdec player" uses small "p".
3. (cosmetic) Adobe Flash Player URL (http://www.adobe.com) is missing a slash "/" at the end.

Changed in ubufox (Ubuntu):
status: New → Fix Released
Alexander Sack (asac) wrote :

the ubufox task was opened by Matthias to get feedback from me I had some questions, so its not fixed.

Changed in ubufox (Ubuntu):
status: Fix Released → New
Dave Gilbert (ubuntu-treblig) wrote :

Alexander,
On upto date Jaunty as of today Icedtea (1st entry) installs correctly - only other entry now shown is Java SE - haven't tried that one yet.
So yeh, that seems happier.
(IcedTea is a bit flaky - found some 100% java processes left over afterwards - but that's separate I guess).

Dave

asakg (vukadinovict) on 2009-11-14
Changed in icedtea-gcjwebplugin (Ubuntu):
status: Won't Fix → Fix Released
Changed in sun-java5 (Ubuntu):
status: Triaged → Fix Released
Changed in sun-java6 (Ubuntu):
status: Triaged → Fix Released
Սահակ (petrosyan) wrote :

sun-java6 still has no plugin description

Matthias Klose (doko) on 2010-02-16
Changed in icedtea-gcjwebplugin (Ubuntu):
status: Fix Released → Won't Fix
Alexander Sack (asac) on 2011-01-06
Changed in ubufox (Ubuntu):
assignee: Alexander Sack (asac) → Chris Coulson (chrisccoulson)
Սահակ (petrosyan) on 2015-08-29
Changed in ubufox (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers