Spellchecker not staying on selected language

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
xtal256
Moonbather
Moonbather
Posts: 72
Joined: 2014-06-22, 00:32
Location: here

Spellchecker not staying on selected language

Unread post by xtal256 » 2018-03-14, 00:05

Hello,

This problem is happening again. I thought it was fixed recently, but I am on the latest version and it's happening more now than ever. Today, I had to select "English (Australia)" twice before it would take!

I've tried setting spellchecker.dictionary.override as well as resetting it to the default (blank) but it doesn't seem to have any effect.
By the way, is the value supposed to contain dash or underscore? i.e. "en-AU" or "en_AU"?

Interestingly, that pref is currently set to "en_AU" but it is not listed in the troubleshooting information below. Could it not be taking affect somehow?

Troubleshooting Information

Code: Select all

{
  "application": {
    "name": "Pale Moon",
    "osVersion": "Windows_NT 6.1",
    "version": "27.8.1",
    "buildID": "20180305100858",
    "userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.8.1",
    "safeMode": false,
    "updateChannel": "release",
    "supportURL": "http://www.palemoon.org/support/",
    "numTotalWindows": 1,
    "numRemoteWindows": 0,
    "remoteAutoStart": false
  },
  "experiments": [],
  "modifiedPreferences": {
    "accessibility.typeaheadfind.flashBar": 0,
    "accessibility.typeaheadfind": true,
    "browser.cache.memory.enable": false,
    "browser.cache.disk.capacity": 204800,
    "browser.cache.disk.smart_size.first_run": false,
    "browser.cache.disk.smart_size.use_old_max": false,
    "browser.cache.disk.smart_size_cached_value": 358400,
    "browser.cache.compression_level": 1,
    "browser.cache.disk.smart_size.enabled": false,
    "browser.display.use_system_colors": true,
    "browser.display.background_color": "#C0C0C0",
    "browser.download.importedFromSqlite": true,
    "browser.download.manager.showAlertOnComplete": false,
    "browser.download.manager.showWhenStarting": false,
    "browser.fixup.alternate.enabled": false,
    "browser.history_expire_days.mirror": 20,
    "browser.history_expire_days_min": 120,
    "browser.places.updateRecentTagsUri": false,
    "browser.places.importBookmarksHTML": false,
    "browser.places.smartBookmarksVersion": 4,
    "browser.places.importDefaults": false,
    "browser.places.leftPaneFolderId": -1,
    "browser.places.migratePostDataAnnotations": false,
    "browser.privatebrowsing.dont_prompt_on_enter": true,
    "browser.search.openintab": true,
    "browser.search.suggest.enabled": false,
    "browser.search.update": false,
    "browser.search.useDBForOrder": true,
    "browser.sessionstore.restore_on_demand": false,
    "browser.startup.homepage_override.mstone": "3.4.2",
    "browser.startup.homepage": "https://www.google.com.au/webhp?complete=0&gws_rd=ssl",
    "browser.startup.homepage_override.buildID": "20180305100858",
    "browser.tabs.highlightActiveTab": false,
    "browser.tabs.agingAmount2": 5,
    "browser.tabs.warnOnClose": false,
    "browser.tabs.agePerSeconds": 1,
    "browser.tabs.selectOwnerOnClose": false,
    "browser.tabs.insertRelatedAfterCurrent": true,
    "browser.tabs.closeWindowWithLastTab": false,
    "browser.urlbar.autoFill": false,
    "browser.urlbar.formatting.enabled": false,
    "browser.urlbar.maxRichResults": 7,
    "browser.urlbar.matchBehavior": 2,
    "dom.max_script_run_time": 0,
    "dom.mozApps.used": true,
    "extensions.lastAppVersion": "27.8.1",
    "font.internaluseonly.changed": true,
    "general.useragent.extra.microsoftdotnet": "(.NET CLR 3.5.30729)",
    "gfx.blacklist.suggested-driver-version": "257.21",
    "gfx.direct2d.disabled": true,
    "gfx.direct3d.last_used_feature_level_idx": 0,
    "image.http.accept": "image/webp,image/jxr,image/png,image/*;q=0.8,*/*;q=0.5",
    "layers.acceleration.disabled": true,
    "network.http.max-persistent-connections-per-server": 8,
    "network.negotiate-auth.trusted-uris": "XXXX",
    "network.negotiate-auth.delegation-uris": "XXXX",
    "network.enableIDN": false,
    "network.automatic-ntlm-auth.trusted-uris": "XXXX",
    "network.cookie.prefsMigrated": true,
    "places.last_vacuum": 1327277402,
    "places.database.lastMaintenance": 1520386792,
    "places.history.expiration.transient_current_max_pages": 104858,
    "plugin.state.npadobeaamdetect": 0,
    "plugin.state.npican": 0,
    "plugin.importedState": true,
    "plugin.state.npctrl": 0,
    "plugin.state.npnv3dv": 0,
    "plugin.state.npauthz": 0,
    "plugin.state.npfoxitreaderplugin": 0,
    "plugin.disable_full_page_plugin_for_types": "application/vnd.fdf",
    "plugin.state.java": 0,
    "plugin.state.npintelwebapiupdater": 0,
    "plugin.state.np-vmware-vmrc": 0,
    "plugin.state.npdeployjava": 0,
    "plugin.state.npgoogleupdate": 0,
    "plugin.state.npspwrap": 0,
    "plugin.state.npintelwebapiipt": 0,
    "plugin.state.npnv3dvstreaming": 0,
    "plugin.state.flash": 0,
    "print.printer_Bullzip_PDF_Printer.print_edge_left": 0,
    "print.printer_Bullzip_PDF_Printer.print_paper_height": " 11.00",
    "print.printer_Bullzip_PDF_Printer.print_unwriteable_margin_top": 0,
    "print.printer_Bullzip_PDF_Printer.print_in_color": true,
    "print.printer_Bullzip_PDF_Printer.print_paper_name": "",
    "print.printer_Bullzip_PDF_Printer.print_resolution_name": "",
    "print.printer_Bullzip_PDF_Printer.print_to_file": false,
    "print.printer_Bullzip_PDF_Printer.print_paper_size_type": 0,
    "print.printer_Bullzip_PDF_Printer.print_shrink_to_fit": true,
    "print.printer_Bullzip_PDF_Printer.print_margin_left": "0.5",
    "print.printer_Bullzip_PDF_Printer.print_paper_width": "  8.50",
    "print.printer_Bullzip_PDF_Printer.print_resolution": 1515870810,
    "print.printer_Bullzip_PDF_Printer.print_margin_bottom": "0.5",
    "print.printer_Bullzip_PDF_Printer.print_command": "",
    "print.printer_Bullzip_PDF_Printer.print_downloadfonts": false,
    "print.printer_Bullzip_PDF_Printer.print_edge_bottom": 0,
    "print.printer_Bullzip_PDF_Printer.print_headerleft": "&T",
    "print.printer_Bullzip_PDF_Printer.print_footerleft": "&PT",
    "print.printer_Bullzip_PDF_Printer.print_margin_top": "0.5",
    "print.printer_Bullzip_PDF_Printer.print_colorspace": "",
    "print.printer_Bullzip_PDF_Printer.print_reversed": false,
    "print.printer_Bullzip_PDF_Printer.print_scaling": "  1.00",
    "print.printer_Bullzip_PDF_Printer.print_bgcolor": false,
    "print.printer_Bullzip_PDF_Printer.print_evenpages": true,
    "print.printer_Bullzip_PDF_Printer.print_duplex": 1515870810,
    "print.printer_Bullzip_PDF_Printer.print_unwriteable_margin_left": 0,
    "print.printer_Bullzip_PDF_Printer.print_paper_data": 9,
    "print.printer_Bullzip_PDF_Printer.print_paper_size_unit": 1,
    "print.printer_Bullzip_PDF_Printer.print_headercenter": "",
    "print.printer_Bullzip_PDF_Printer.print_edge_right": 0,
    "print.printer_Bullzip_PDF_Printer.print_bgimages": false,
    "print.printer_Bullzip_PDF_Printer.print_footerright": "&D",
    "print.printer_Bullzip_PDF_Printer.print_page_delay": 50,
    "print.printer_Bullzip_PDF_Printer.print_unwriteable_margin_right": 0,
    "print.printer_Bullzip_PDF_Printer.print_footercenter": "",
    "print.printer_Bullzip_PDF_Printer.print_unwriteable_margin_bottom": 0,
    "print.printer_Bullzip_PDF_Printer.print_orientation": 0,
    "print.printer_Bullzip_PDF_Printer.print_edge_top": 0,
    "print.printer_Bullzip_PDF_Printer.print_headerright": "&U",
    "print.printer_Bullzip_PDF_Printer.print_plex_name": "",
    "print.printer_Bullzip_PDF_Printer.print_oddpages": true,
    "print.printer_Bullzip_PDF_Printer.print_margin_right": "0.5",
    "privacy.cpd.offlineApps": true,
    "privacy.sanitize.timeSpan": 0,
    "privacy.cpd.downloads": false,
    "privacy.cpd.sessions": false,
    "privacy.cpd.cookies": false,
    "privacy.sanitize.migrateFx3Prefs": true,
    "privacy.cpd.formdata": false,
    "privacy.cpd.history": false,
    "privacy.cpd.extensions-tabmix": false,
    "privacy.donottrackheader.value": 1,
    "security.warn_viewing_mixed": false,
    "security.disable_button.openCertManager": false,
    "security.OCSP.disable_button.managecrl": false,
    "security.dialog_enable_delay": 0,
    "storage.vacuum.last.index": 1,
    "storage.vacuum.last.places.sqlite": 1520386787
  },
  "lockedPreferences": {},
  "graphics": {
    "numTotalWindows": 1,
    "numAcceleratedWindows": 0,
    "windowLayerManagerType": "Basic",
    "windowLayerManagerRemote": true,
    "numAcceleratedWindowsMessage": [
      ""
    ],
    "adapterDescription": "NVIDIA GeForce GT 330 ",
    "adapterVendorID": "0x10de",
    "adapterDeviceID": "0x0ca0",
    "adapterSubsysID": "0cfb1028",
    "adapterRAM": "1024",
    "adapterDrivers": "nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um",
    "driverVersion": "21.21.13.4201",
    "driverDate": "11-14-2016",
    "adapterDescription2": "",
    "adapterVendorID2": "",
    "adapterDeviceID2": "",
    "adapterSubsysID2": "",
    "adapterRAM2": "",
    "adapterDrivers2": "",
    "driverVersion2": "",
    "driverDate2": "",
    "isGPU2Active": false,
    "direct2DEnabled": false,
    "directWriteEnabled": false,
    "directWriteVersion": "6.2.9200.22164",
    "clearTypeParameters": "D [ Gamma: 2200 Pixel Structure: R ClearType Level: 50 Enhanced Contrast: 50 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 100 ] ",
    "direct2DEnabledMessage": [
      ""
    ],
    "webglRenderer": "Google Inc. -- ANGLE (NVIDIA GeForce GT 330  Direct3D11 vs_4_1 ps_4_1)",
    "info": {
      "AzureCanvasBackend": "skia",
      "AzureSkiaAccelerated": 0,
      "AzureFallbackCanvasBackend": "cairo",
      "AzureContentBackend": "cairo"
    }
  },
  "javaScript": {
    "incrementalGCEnabled": true
  },
  "accessibility": {
    "isActive": false,
    "forceDisabled": 1
  },
  "libraryVersions": {
    "NSPR": {
      "minVersion": "4.16",
      "version": "4.16"
    },
    "NSS": {
      "minVersion": "3.32.1",
      "version": "3.32.1"
    },
    "NSSUTIL": {
      "minVersion": "3.32.1",
      "version": "3.32.1"
    },
    "NSSSSL": {
      "minVersion": "3.32.1",
      "version": "3.32.1"
    },
    "NSSSMIME": {
      "minVersion": "3.32.1",
      "version": "3.32.1"
    }
  },
  "userJS": {
    "exists": false
  },
  "extensions": [
    {
      "name": "Adblock Latitude",
      "version": "4.0.1",
      "isActive": true,
      "id": "adblocklatitude@addons.palemoon.org"
    },
    {
      "name": "Clear Search 2",
      "version": "1.1.1-signed.1-signed",
      "isActive": true,
      "id": "ClearSearch2@extension-id.invalid"
    },
    {
      "name": "DOM Inspector",
      "version": "2.0.16.1-signed",
      "isActive": true,
      "id": "inspector@mozilla.org"
    },
    {
      "name": "Download Manager (S3)",
      "version": "4.13",
      "isActive": true,
      "id": "s3download@statusbar"
    },
    {
      "name": "Flashblock",
      "version": "1.5.20",
      "isActive": true,
      "id": "{3d7eb24f-2740-49df-8937-200b1cc08f8a}"
    },
    {
      "name": "Forecastfox (fix version)",
      "version": "2.4.8",
      "isActive": true,
      "id": "forecastfox@s3_fix_version"
    },
    {
      "name": "Greasemonkey",
      "version": "1.15",
      "isActive": true,
      "id": "{e4a8a97b-f2ed-450b-b12d-ee082ba24781}"
    },
    {
      "name": "ImageTweak",
      "version": "0.25.1.1-signed.1-signed",
      "isActive": true,
      "id": "{DB2EA31C-58F5-48b7-8D60-CB0739257904}"
    },
    {
      "name": "keyconfig",
      "version": "20110522",
      "isActive": true,
      "id": "keyconfig@dorando"
    },
    {
      "name": "LastPass",
      "version": "3.3.4",
      "isActive": true,
      "id": "support@lastpass.com"
    },
    {
      "name": "lori (Life-of-request info)",
      "version": "0.2.0.20080521.1-signed.1-signed.1-signed",
      "isActive": true,
      "id": "{6dfc4f52-26f0-4e5f-89c7-31d6de480db9}"
    },
    {
      "name": "Markdown Viewer",
      "version": "1.12",
      "isActive": true,
      "id": "markdownviewer@thiht.fr"
    },
    {
      "name": "Menu Wizard",
      "version": "5.05",
      "isActive": true,
      "id": "s3menu@wizard"
    },
    {
      "name": "Organize Status Bar",
      "version": "0.6.4",
      "isActive": true,
      "id": "{35106bca-6c78-48c7-ac28-56df30b51d2c}"
    },
    {
      "name": "Pale Moon Commander",
      "version": "1.7.3",
      "isActive": true,
      "id": "commander@palemoon.org"
    },
    {
      "name": "Stylish",
      "version": "2.0.7",
      "isActive": true,
      "id": "{46551EC9-40F0-4e47-8E18-8E5CF550CFB8}"
    },
    {
      "name": "Tab Mix Plus",
      "version": "0.4.1.8",
      "isActive": true,
      "id": "{dc572301-7619-498c-a57d-39143191b318}"
    },
    {
      "name": "Tab Scope",
      "version": "1.6.1.1-signed.1-signed",
      "isActive": true,
      "id": "tabscope@xuldev.org"
    },
    {
      "name": "User Agent Switcher",
      "version": "0.7.3.1-signed.1-signed",
      "isActive": true,
      "id": "{e968fc70-8f95-4ab9-9e79-304de2a71ee1}"
    },
    {
      "name": "Windowify Manager Pages",
      "version": "2.0",
      "isActive": true,
      "id": "{450aca1a-ca16-4ab6-82bd-188bdce72ef7}"
    },
    {
      "name": "JSONovich",
      "version": "1.9.7.1.1-signed.1-signed",
      "isActive": false,
      "id": "jsonovich@lackoftalent.org"
    },
    {
      "name": "NoScript",
      "version": "2.9.0.14",
      "isActive": false,
      "id": "{73a6fe31-595d-460b-a920-fcc0f8843232}"
    },
    {
      "name": "Web Developer",
      "version": "1.2.11",
      "isActive": false,
      "id": "{c45c406e-ab73-11d8-be73-000a95be3b12}"
    }
  ]
}
Last edited by xtal256 on 2018-03-14, 00:05, edited 1 time in total.
[Window Detective] - Windows UI spy utility for programmers

xtal256
Moonbather
Moonbather
Posts: 72
Joined: 2014-06-22, 00:32
Location: here

Re: Spellchecker not staying on selected language

Unread post by xtal256 » 2018-03-21, 03:19

I just discovered something interesting. On this site (i.e. in the edit box I'm typing this in), the language is set to en-AU. However, in another tab it is en-US.
In the HTML source, this site has <html lang="en-gb"> whereas the other site (Jira) just has <html lang="en">.

Since I set spellchecker.dictionary.override back to "en-AU" I have not had to select the option twice for it to take effect. However, it is still clearly not working properly as it should be overriding the language on that other tab where it keeps resetting to en-US.
Last edited by xtal256 on 2018-03-21, 03:21, edited 1 time in total.
[Window Detective] - Windows UI spy utility for programmers

xtal256
Moonbather
Moonbather
Posts: 72
Joined: 2014-06-22, 00:32
Location: here

Re: Spellchecker not staying on selected language

Unread post by xtal256 » 2018-03-25, 23:04

I haven't had the problem in the last few days, but I don't think I did anything to stop it. It's just an intermittent problem.
[Window Detective] - Windows UI spy utility for programmers

xtal256
Moonbather
Moonbather
Posts: 72
Joined: 2014-06-22, 00:32
Location: here

Re: Spellchecker not staying on selected language

Unread post by xtal256 » 2018-04-18, 03:52

The problem has come back again. If it cannot be fixed, then does anyone know of a workaround?
[Window Detective] - Windows UI spy utility for programmers

xtal256
Moonbather
Moonbather
Posts: 72
Joined: 2014-06-22, 00:32
Location: here

Re: Spellchecker not staying on selected language

Unread post by xtal256 » 2018-07-13, 00:57

Please help. This problem still occurs and frequently annoys me!
[Window Detective] - Windows UI spy utility for programmers

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2358
Joined: 2012-08-19, 20:32

Re: Spellchecker not staying on selected language

Unread post by back2themoon » 2018-07-13, 13:51

I believe it's going on here too (PM 28b3 2018-07-08) and spellchecker.dictionary doesn't seem to have an effect.

GMforker

Re: Spellchecker not staying on selected language

Unread post by GMforker » 2018-07-13, 15:50

Just in general:

Use "en-AU" - not "en_AU"

IMHO:
Selected language is stored in the file "content-prefs.sqlite" (the profile folder). "spellchecker.dictionary.override" is used if not set for a specific URL.

Delete these preferences (e.g.):
[main menu]: History - [URL] - [context menu] Forget About This Site
[main menu]: History - Clear Recent History - Site Preferences (for all URLs!)
Last edited by GMforker on 2018-07-13, 15:51, edited 1 time in total.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2358
Joined: 2012-08-19, 20:32

Re: Spellchecker not staying on selected language

Unread post by back2themoon » 2018-07-13, 17:59

GMforker wrote:Just in general: Use "en-AU" - not "en_AU"
Interesting, thanks. I had written down the underscore.

Locked