spell check language duplicates in Firefox

Bug #796376 reported by kolya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: firefox

When right-clicking in a text-area and looking under Languages in the context menu, Firefox lists some of the entries twice. For example:

* English / Australia
* English / Australia
* English / Canada
* English / South Africa
* English / United Kingdom
* English / United Kingdom
* English / United States
* English / United States

And I've got three(!) entries for Russian language - considering that there are no Russian language variants as there are for English this seems a bit to much.

This is the listing for my dictionary dir:
kolya@kolya-laptop:~/$ ls -la /usr/share/myspell/dicts/
итого 136
drwxr-xr-x 2 root root 4096 2011-05-17 09:34 .
drwxr-xr-x 4 root root 4096 2011-04-21 22:15 ..
-rw-r--r-- 1 root root 129761 2011-05-05 05:41 DicOOo.sxw
lrwxrwxrwx 1 root root 24 2011-04-21 22:15 en_AU.aff -> ../../hunspell/en_AU.aff
lrwxrwxrwx 1 root root 24 2011-04-21 22:15 en-AU.aff -> ../../hunspell/en-AU.aff
lrwxrwxrwx 1 root root 24 2011-04-21 22:15 en_AU.dic -> ../../hunspell/en_AU.dic
lrwxrwxrwx 1 root root 24 2011-04-21 22:15 en-AU.dic -> ../../hunspell/en-AU.dic
lrwxrwxrwx 1 root root 24 2011-04-29 23:47 en_CA.aff -> ../../hunspell/en_CA.aff
lrwxrwxrwx 1 root root 24 2011-04-29 23:47 en_CA.dic -> ../../hunspell/en_CA.dic
lrwxrwxrwx 1 root root 24 2011-04-29 23:50 en_GB.aff -> ../../hunspell/en_GB.aff
lrwxrwxrwx 1 root root 24 2011-04-29 23:50 en-GB.aff -> ../../hunspell/en_GB.aff
lrwxrwxrwx 1 root root 24 2011-04-29 23:50 en_GB.dic -> ../../hunspell/en_GB.dic
lrwxrwxrwx 1 root root 24 2011-04-29 23:50 en-GB.dic -> ../../hunspell/en_GB.dic
lrwxrwxrwx 1 root root 24 2011-04-21 22:15 en_US.aff -> ../../hunspell/en_US.aff
lrwxrwxrwx 1 root root 24 2011-04-21 22:15 en-US.aff -> ../../hunspell/en_US.aff
lrwxrwxrwx 1 root root 24 2011-04-21 22:15 en_US.dic -> ../../hunspell/en_US.dic
lrwxrwxrwx 1 root root 24 2011-04-21 22:15 en-US.dic -> ../../hunspell/en_US.dic
lrwxrwxrwx 1 root root 24 2011-04-29 23:50 en_ZA.aff -> ../../hunspell/en_ZA.aff
lrwxrwxrwx 1 root root 24 2011-04-29 23:50 en_ZA.dic -> ../../hunspell/en_ZA.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_cs_CZ.dic -> ../../hyphen/hyph_cs_CZ.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_da_DK.dic -> ../../hyphen/hyph_da_DK.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_el_GR.dic -> ../../hyphen/hyph_el_GR.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_en_CA.dic -> ../../hyphen/hyph_en_CA.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_en_GB.dic -> ../../hyphen/hyph_en_GB.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_en_US.dic -> ../../hyphen/hyph_en_US.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_es_ES.dic -> ../../hyphen/hyph_es_ES.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_fi_FI.dic -> ../../hyphen/hyph_fi_FI.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_ga_IE.dic -> ../../hyphen/hyph_ga_IE.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_id_ID.dic -> ../../hyphen/hyph_id_ID.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_is_IS.dic -> ../../hyphen/hyph_is_IS.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_nl_NL.dic -> ../../hyphen/hyph_nl_NL.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_pt_BR.dic -> ../../hyphen/hyph_pt_BR.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_pt_PT.dic -> ../../hyphen/hyph_pt_PT.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_ru_RU.dic -> ../../hyphen/hyph_ru_RU.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_sk_SK.dic -> ../../hyphen/hyph_sk_SK.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_sv_SE.dic -> ../../hyphen/hyph_sv_SE.dic
lrwxrwxrwx 1 root root 27 2011-04-30 23:47 hyph_uk_UA.dic -> ../../hyphen/hyph_uk_UA.dic
lrwxrwxrwx 1 root root 24 2011-04-21 22:16 ru_RU.aff -> ../../hunspell/ru_RU.aff
lrwxrwxrwx 1 root root 24 2011-04-21 22:16 ru-RU.aff -> ../../hunspell/ru-RU.aff
lrwxrwxrwx 1 root root 24 2011-04-21 22:16 ru_RU.dic -> ../../hunspell/ru_RU.dic
lrwxrwxrwx 1 root root 24 2011-04-21 22:16 ru-RU.dic -> ../../hunspell/ru-RU.dic
lrwxrwxrwx 1 root root 28 2011-04-30 23:47 th_en_US_v2.dat -> ../../mythes/th_en_US_v2.dat
lrwxrwxrwx 1 root root 28 2011-04-30 23:47 th_en_US_v2.idx -> ../../mythes/th_en_US_v2.idx
lrwxrwxrwx 1 root root 28 2011-04-30 23:47 th_ru_RU_v2.dat -> ../../mythes/th_ru_RU_v2.dat
lrwxrwxrwx 1 root root 28 2011-04-30 23:47 th_ru_RU_v2.idx -> ../../mythes/th_ru_RU_v2.idx

It appears to me that duplicates in FF may come from a fact there there are duplicates here. All those symlinks come from myspell-* packages.

Another interesting listing:
kolya@kolya-laptop:~/\$ ls -la /usr/share/hunspell/
итого 5340
drwxr-xr-x 2 root root 4096 2011-04-29 23:50 .
drwxr-xr-x 422 root root 16384 2011-06-09 18:50 ..
-rw-r--r-- 1 root root 28518 2009-11-06 04:45 en_AU.aff
lrwxrwxrwx 1 root root 9 2011-04-21 22:15 en-AU.aff -> en_AU.aff
-rw-r--r-- 1 root root 557918 2009-11-06 04:45 en_AU.dic
lrwxrwxrwx 1 root root 9 2011-04-21 22:15 en-AU.dic -> en_AU.dic
-rw-r--r-- 1 root root 64428 2011-03-28 12:41 en_CA.aff
-rw-r--r-- 1 root root 642481 2011-03-28 12:41 en_CA.dic
-rw-r--r-- 1 root root 74492 2011-03-28 12:41 en_GB.aff
-rw-r--r-- 1 root root 701646 2011-03-28 12:41 en_GB.dic
-rw-r--r-- 1 root root 11352 2010-02-09 14:50 en_US.aff
-rw-r--r-- 1 root root 696444 2010-02-09 14:50 en_US.dic
-rw-r--r-- 1 root root 36223 2011-03-28 12:41 en_ZA.aff
-rw-r--r-- 1 root root 595937 2011-03-28 12:41 en_ZA.dic
-rw-r--r-- 1 root root 52953 2009-11-06 06:25 ru_RU.aff
lrwxrwxrwx 1 root root 9 2011-04-21 22:16 ru-RU.aff -> ru_RU.aff
-rw-r--r-- 1 root root 1964812 2009-11-06 06:25 ru_RU.dic
lrwxrwxrwx 1 root root 9 2011-04-21 22:16 ru-RU.dic -> ru_RU.dic

Those symlinks are from myspell-* packages too.
Dates on symlinks suggest that they were updated (or created) when I updated to Natty, so they are 'fresh'.

So maybe the problem is not with FF but with myspell-* packages which create too many symlinks? Is there any reason for so many symlinks?
This report might be a duplicated of 576360. I was just hoping to put the problem into a bit different perspective and provide my observation about myspell-* packages behavior.

I'd be happy to provide any information required.
Thanks.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: firefox 4.0.1+build1+nobinonly-0ubuntu0.11.04.3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
Date: Sun Jun 12 19:18:34 2011
FirefoxPackages:
 firefox 4.0.1+build1+nobinonly-0ubuntu0.11.04.3
 flashplugin-installer 10.3.181.22ubuntu0.11.04.1
 adobe-flashplugin N/A
 icedtea-plugin 1.1~20110420-0ubuntu1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANGUAGE=ru_RU:en
 PATH=(custom, user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox
UpgradeStatus: Upgraded to natty on 2011-04-30 (43 days ago)

Revision history for this message
kolya (mar-kolya) wrote :
Revision history for this message
kolya (mar-kolya) wrote :

Is there any chance to have this bug fixed? This actually does look really ugly having language duplicates. Like third-class computer program used by no none, not like leading Linux distribution.

Revision history for this message
papukaija (papukaija) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 651586, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.