Skip to content

[Bug]: No option to add extra dictionaries for spellcheck #3455

@Asalle

Description

@Asalle

Checks before filing an issue

Mattermost Desktop Version

5.12.1

Operating System

Ubuntu 24.10 x64

Mattermost Server Version

10.5.3

Steps to reproduce

  1. Write a word not in English
  2. Spellcheck highlights the word with red wiggly underscore
  3. Click on the word with right click

OR

  1. Go to settings -> App settings
  2. Open dialog to add dictionaries for spellcheck

Expected behavior

Can add additional dictionaries for spellcheck

Observed behavior

Cannot add additional dictionaries for spellcheck

Log Output

[2025-06-15 18:47:31.233] [error] Logger Log level set to: info
[2025-06-15 18:47:31.358] [info]  [Config] Migrating config items successfully.
[2025-06-15 18:47:31.371] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-06-15 18:47:31.640] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-06-15 18:47:31.641] [error] [MainWindow] Error: ENOENT: no such file or directory, open '/home/asaly12/snap/mattermost-desktop/789/.config/Mattermost/bounds-info.json'
    at Object.readFileSync (node:fs:442:20)
    at t.readFileSync (node:electron/js2c/node_init:2:10960)
    at _.getSavedWindowState (/snap/mattermost-desktop/789/opt/Mattermost/resources/app.asar/index.js:2:972378)
    at _.init (/snap/mattermost-desktop/789/opt/Mattermost/resources/app.asar/index.js:2:969137)
    at _.show (/snap/mattermost-desktop/789/opt/Mattermost/resources/app.asar/index.js:2:971132)
    at /snap/mattermost-desktop/789/opt/Mattermost/resources/app.asar/index.js:2:215238
    at br (/snap/mattermost-desktop/789/opt/Mattermost/resources/app.asar/index.js:2:215985)
[2025-06-15 18:47:31.702] [info]  [ServerDropdownView] init
[2025-06-15 18:47:31.770] [warn]  [i18nManager] Failed to set new language en-US
[2025-06-15 18:47:31.770] [warn]  [i18nManager] Failed to set new language US
[2025-06-15 18:47:31.997] [error] [App.Utils] clearAppCache TypeError: Object has been destroyed
[2025-06-15 18:47:32.001] [info]  [App.Config] config.autostart has been configured: true
[2025-06-15 18:47:32.154] [info]  [ModalView] [welcomeScreen] preloading with /snap/mattermost-desktop/789/opt/Mattermost/resources/app.asar/internalAPI.js
[2025-06-15 18:47:41.312] [info]  [App.Config] config.autostart has been configured: true
[2025-06-15 18:47:41.313] [info]  [App.Config] config.autostart has been configured: true
[2025-06-15 18:47:41.353] [info]  [App.Config] config.autostart has been configured: true
[2025-06-15 18:47:43.845] [info]  [App.Config] config.autostart has been configured: true
[2025-06-15 18:47:44.963] [error] [WebContentsEventM...] [renderer] Uncaught (in promise) Error: Not authorized

[2025-06-15 23:04:36.106] [error] [WebContentsEventM...] [renderer] TypeError: Failed to fetch
[2025-06-15 23:04:36.109] [error] [WebContentsEventM...] [renderer] Uncaught (in promise) TypeError: Failed to fetch
[2025-06-17 10:41:06.073] [error] Logger Log level set to: info
[2025-06-17 10:41:06.251] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-06-17 10:41:06.871] [info]  [App.Config] config.autostart has been configured: true
[2025-06-17 10:41:06.928] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-06-17 10:41:07.010] [info]  [ServerDropdownView] init
[2025-06-17 10:41:07.095] [warn]  [i18nManager] Failed to set new language en-US
[2025-06-17 10:41:07.096] [warn]  [i18nManager] Failed to set new language US
[2025-06-17 10:41:08.001] [info]  [App.Config] config.autostart has been configured: true
[2025-06-17 10:41:09.053] [info]  [App.Config] config.autostart has been configured: true
[2025-06-17 19:29:43.413] [error] Logger Log level set to: info
[2025-06-17 19:29:43.617] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-06-17 19:29:44.249] [info]  [App.Config] config.autostart has been configured: true
[2025-06-17 19:29:44.308] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-06-17 19:29:44.388] [info]  [ServerDropdownView] init
[2025-06-17 19:29:44.461] [warn]  [i18nManager] Failed to set new language en-US
[2025-06-17 19:29:44.462] [warn]  [i18nManager] Failed to set new language US
[2025-06-17 19:29:44.899] [warn]  [App.Utils] Could not get server info for canonical Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:123472)
    at SimpleURLLoaderWrapper.emit (node:events:518:28)
[2025-06-17 19:29:44.961] [info]  [App.Config] config.autostart has been configured: true
[2025-06-17 19:29:45.060] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-17 19:29:50.114] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-17 19:29:55.180] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-17 19:30:00.260] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-17 19:30:05.330] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] Couldn't esviewlish a connection with https://chat.canonical.com/, will continue to retry in the background Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:78839)
    at WebContents.finishListener (node:electron/js2c/browser_init:2:79001)
    at WebContents.emit (node:events:530:35)
[2025-06-17 19:31:27.200] [info]  [App.Config] config.autostart has been configured: true
[2025-06-19 16:12:37.503] [error] Logger Log level set to: info
[2025-06-19 16:12:37.683] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-06-19 16:12:38.266] [info]  [App.Config] config.autostart has been configured: true
[2025-06-19 16:12:38.323] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-06-19 16:12:38.418] [info]  [ServerDropdownView] init
[2025-06-19 16:12:38.498] [warn]  [i18nManager] Failed to set new language en-US
[2025-06-19 16:12:38.498] [warn]  [i18nManager] Failed to set new language US
[2025-06-19 16:12:38.936] [warn]  [App.Utils] Could not get server info for canonical Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:123472)
    at SimpleURLLoaderWrapper.emit (node:events:518:28)
[2025-06-19 16:12:38.986] [info]  [App.Config] config.autostart has been configured: true
[2025-06-19 16:12:39.083] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-19 16:12:44.135] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-20 14:01:09.387] [error] Logger Log level set to: info
[2025-06-20 14:01:09.561] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-06-20 14:01:10.177] [info]  [App.Config] config.autostart has been configured: true
[2025-06-20 14:01:10.231] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-06-20 14:01:10.311] [info]  [ServerDropdownView] init
[2025-06-20 14:01:10.382] [warn]  [i18nManager] Failed to set new language en-US
[2025-06-20 14:01:10.383] [warn]  [i18nManager] Failed to set new language US
[2025-06-20 14:01:10.816] [warn]  [App.Utils] Could not get server info for canonical Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:123472)
    at SimpleURLLoaderWrapper.emit (node:events:518:28)
[2025-06-20 14:01:10.883] [info]  [App.Config] config.autostart has been configured: true
[2025-06-20 14:01:10.977] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-20 14:01:16.038] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-20 14:01:21.104] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-20 14:01:26.171] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-06-20 14:01:31.231] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] Couldn't esviewlish a connection with https://chat.canonical.com/, will continue to retry in the background Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:78839)
    at WebContents.finishListener (node:electron/js2c/browser_init:2:79001)
    at WebContents.emit (node:events:530:35)
[2025-06-20 14:03:28.296] [info]  [App.Config] config.autostart has been configured: true
[2025-06-20 14:03:29.830] [error] [WebContentsEventM...] [renderer] Uncaught (in promise) Error: Request has been terminated
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
[2025-06-21 10:24:52.050] [error] [WebContentsEventM...] [renderer] TypeError: Failed to fetch
[2025-06-21 10:24:52.056] [error] [WebContentsEventM...] [renderer] Uncaught (in promise) TypeError: Failed to fetch
[2025-06-22 14:58:18.840] [error] Logger Log level set to: info
[2025-06-22 14:58:19.024] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-06-22 14:58:19.586] [info]  [App.Config] config.autostart has been configured: true
[2025-06-22 14:58:19.704] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-06-22 14:58:20.090] [info]  [ServerDropdownView] init
[2025-06-22 14:58:20.418] [warn]  [i18nManager] Failed to set new language en-US
[2025-06-22 14:58:20.422] [warn]  [i18nManager] Failed to set new language US
[2025-06-22 14:58:42.651] [info]  [App.Config] config.autostart has been configured: true
[2025-06-22 14:58:43.251] [info]  [App.Config] config.autostart has been configured: true
[2025-06-23 08:13:18.404] [error] Logger Log level set to: info
[2025-06-23 08:13:18.575] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-06-23 08:13:19.162] [info]  [App.Config] config.autostart has been configured: true
[2025-06-23 08:13:19.221] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-06-23 08:13:19.303] [info]  [ServerDropdownView] init
[2025-06-23 08:13:19.372] [warn]  [i18nManager] Failed to set new language en-US
[2025-06-23 08:13:19.372] [warn]  [i18nManager] Failed to set new language US
[2025-06-23 08:13:20.213] [info]  [App.Config] config.autostart has been configured: true
[2025-06-23 08:13:20.858] [info]  [App.Config] config.autostart has been configured: true
[2025-06-30 21:03:30.129] [warn]  [WebContentsEventM...] [renderer] Event scheduled_posts_menu_opened doesn't have a category
[2025-06-30 21:03:30.143] [warn]  [WebContentsEventM...] [renderer] Event scheduled_posts_menu_opened has no SKUs attached
[2025-06-30 21:03:45.449] [warn]  [WebContentsEventM...] [renderer] Event create_scheduled_post doesn't have a category
[2025-06-30 21:03:45.449] [warn]  [WebContentsEventM...] [renderer] Event create_scheduled_post has no SKUs attached
[2025-06-30 21:56:26.764] [warn]  [WebContentsEventM...] [renderer] Event scheduled_posts_menu_opened doesn't have a category
[2025-06-30 21:56:26.768] [warn]  [WebContentsEventM...] [renderer] Event scheduled_posts_menu_opened has no SKUs attached
[2025-06-30 21:56:40.868] [warn]  [WebContentsEventM...] [renderer] Event create_scheduled_post doesn't have a category
[2025-06-30 21:56:40.868] [warn]  [WebContentsEventM...] [renderer] Event create_scheduled_post has no SKUs attached
[2025-07-02 16:56:23.549] [error] Logger Log level set to: info
[2025-07-02 16:56:23.737] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-07-02 16:56:24.382] [info]  [App.Config] config.autostart has been configured: true
[2025-07-02 16:56:24.587] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-07-02 16:56:24.891] [info]  [ServerDropdownView] init
[2025-07-02 16:56:25.181] [warn]  [i18nManager] Failed to set new language en-US
[2025-07-02 16:56:25.183] [warn]  [i18nManager] Failed to set new language US
[2025-07-02 16:56:25.732] [warn]  [App.Utils] Could not get server info for canonical Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:123472)
    at SimpleURLLoaderWrapper.emit (node:events:518:28)
[2025-07-02 16:56:25.793] [info]  [App.Config] config.autostart has been configured: true
[2025-07-02 16:56:25.891] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-07-02 16:56:30.963] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-07-02 16:56:36.033] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-07-02 16:56:41.080] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] failed loading https://chat.canonical.com/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/', retrying in 5 seconds
[2025-07-02 16:56:46.147] [info]  [MattermostWebCont...] [canonical] [TAB_MESSAGING] Couldn't esviewlish a connection with https://chat.canonical.com/, will continue to retry in the background Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://chat.canonical.com/'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:78839)
    at WebContents.finishListener (node:electron/js2c/browser_init:2:79001)
    at WebContents.emit (node:events:530:35)
[2025-07-02 16:58:23.820] [info]  [App.Config] config.autostart has been configured: true
[2025-07-02 17:17:21.445] [info]  [App.Config] config.autostart has been configured: true
[2025-07-03 09:00:11.587] [error] Logger Log level set to: info
[2025-07-03 09:00:11.772] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-07-03 09:00:12.366] [info]  [App.Config] config.autostart has been configured: true
[2025-07-03 09:00:12.431] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-07-03 09:00:12.514] [info]  [ServerDropdownView] init
[2025-07-03 09:00:12.583] [warn]  [i18nManager] Failed to set new language en-US
[2025-07-03 09:00:12.584] [warn]  [i18nManager] Failed to set new language US
[2025-07-03 09:00:13.536] [info]  [App.Config] config.autostart has been configured: true
[2025-07-03 09:00:14.182] [info]  [App.Config] config.autostart has been configured: true
[2025-07-03 12:06:24.257] [info]  [ModalView] [settingsModal] preloading with /snap/mattermost-desktop/789/opt/Mattermost/resources/app.asar/internalAPI.js
[2025-07-03 12:06:31.332] [error] [WebContentsEventM...] [renderer] TypeError: Cannot read properties of undefined (reading 'flashWindow')
[2025-07-03 12:06:31.334] [error] [WebContentsEventM...] [renderer] Uncaught TypeError: Cannot read properties of undefined (reading 'flashWindow')
[2025-07-03 12:06:46.675] [info]  [App.Config] config.autostart has been configured: true
[2025-07-03 12:10:48.044] [error] Logger Log level set to: info
[2025-07-03 12:10:48.174] [warn]  [App.Initialize] Current working directory is /home/asaly12, changing into /snap/mattermost-desktop/789/opt/Mattermost
[2025-07-03 12:10:48.448] [info]  [App.Config] config.autostart has been configured: true
[2025-07-03 12:10:48.542] [info]  [App.Initialize] Autoupgrade disabled: false
[2025-07-03 12:10:48.690] [info]  [ServerDropdownView] init
[2025-07-03 12:10:48.756] [warn]  [i18nManager] Failed to set new language en-US
[2025-07-03 12:10:48.757] [warn]  [i18nManager] Failed to set new language US
[2025-07-03 12:10:49.274] [info]  [App.Config] config.autostart has been configured: true
[2025-07-03 12:10:49.895] [info]  [App.Config] config.autostart has been configured: true

Additional Information

Used with the most recent snap

channels:
  latest/stable:    5.12.1 2025-05-30 (789) 125MB -
  latest/candidate: 5.12.1 2025-05-30 (789) 125MB -
  latest/beta:      ↑                             
  latest/edge:      ↑                             
installed:          5.12.1            (789) 125MB -

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions