[Bug 1026869] Re: Firefox accepts dictionaries and spell check entries from every which spell check backend, leaving problems with defaults and the language selector enables this behavior

Reuben Thomas rrt at sc3d.org
Wed Aug 26 13:56:06 UTC 2015


In fact, the situation appears to be more complicated, and points to a
race condition of some sort.

Having fixed the problem, I thought I'd try a theory about what causes
it. So, I removed the dictionary and restarted Firefox. However, my
spelling language was still correctly set to en-GB.

Further, I can no longer reproduce the problem in a fresh profile, which
of course does not have the dictionary installed.

I should stress that the only thing I changed in any of this was my
Firefox profile; I did not add, remove or otherwise alter any Ubuntu
package.

Hence, I really can't see what could have fixed the problem (since it
has gone from being reproducible with a fresh profile to not being
reproducible with a fresh profile), and I wonder whether there may be a
race condition; not least, because the code that scans for dictionaries
runs asynchronously.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1026869

Title:
  Firefox accepts dictionaries and spell check entries from every which
  spell check backend, leaving problems with defaults and the language
  selector enables this behavior

Status in Mozilla Firefox:
  New
Status in Hunspell:
  New
Status in myspell:
  New
Status in firefox package in Ubuntu:
  Confirmed
Status in language-selector package in Ubuntu:
  Confirmed

Bug description:
  I've been searching for the solution to this bug for a long time.

  Firefox's spell-check, despite my locale being en-US, sets itself to
  en-GB, en-ZA or something en_US, which isn't even correct.

  The problem, it seems, is that Firefox uses whatever spell-checking
  backends you have installed - aspell, myspell, and hunspell. The
  result is that Firefox chooses, en-GB as the default spell checker
  more-often than not. So I uninstalled myspell, hunspell, and a package
  called firefox-locale-en and now everything is correct - only one
  spell checker is installed in Firefox.

  The language selector, however, always prompts to reinstall these
  backends whenever it is loaded.

  This Firefox add-on can assist, it gives you a list of dictionaries
  installed: https://addons.mozilla.org/en-US/firefox/addon/dictionary-
  switcher/

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1026869/+subscriptions



More information about the foundations-bugs mailing list