mattermost / desktop

Mattermost Desktop application for Windows, Mac and Linux
Apache License 2.0
2.03k stars 829 forks source link

[Bug]: #3203

Closed ilyasaharov closed 4 days ago

ilyasaharov commented 1 week ago

Checks before filing an issue

Mattermost Desktop Version

mattermost-desktop/now 5.9.0 amd64 [установлен, локальный]

Operating System

OS: Debian 12, Desktop: KDE Plazma 6, Desktop environment: Wayland, Installation method: deb package

Mattermost Server Version

Mattermost Корпоративная редакция Современное общение в вашей внутренней сети. Версия Mattermost: 10.0.0 Версия Схемы Базы Данных: 125 Номер сборки: 10671348655 База данных: postgres

Steps to reproduce

1)Use the buttons on the right top part of the window to minimize the app. 2)Then maximise the window. 3)Use buttons on the top part of the window If you do this like 3-4 times, app doubles the minimise-maximise (you cannot minimise anymore), after that app freezes completely, and you need to close the app, and open it to work again. The bug is fully reproducable after restart. You just minimize - maximize window several times - and that's it! On my setup it is fully reproducable in 3-4 minimise - maximise.

Expected behavior

No minimise action broken (when minimise button app should actually minimise the window) No app freeze/hang, when app hangs, and do not respond to any actions

Observed behavior

Minimise button broken. App crashes, if use the minimise window button (top right of the screen).

Log Output

[2024-11-05 10:40:22.600] [error] Logger Log level set to: info
[2024-11-05 10:40:22.666] [warn]  [Config] Failed to load configuration file from the filesystem. Using defaults.
[2024-11-05 10:40:22.666] [info]  [Config] Migrating config items successfully.
[2024-11-05 10:40:22.672] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-05 10:40:23.464] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-05 10:40:23.465] [error] [MainWindow] Error: ENOENT: no such file or directory, open '/home/isakharov/.config/Mattermost/bounds-info.json'
    at Object.readFileSync (node:fs:448:20)
    at t.readFileSync (node:electron/js2c/node_init:2:10245)
    at P.getSavedWindowState (/opt/Mattermost/resources/app.asar/index.js:2:819209)
    at P.init (/opt/Mattermost/resources/app.asar/index.js:2:815824)
    at P.show (/opt/Mattermost/resources/app.asar/index.js:2:818038)
    at /opt/Mattermost/resources/app.asar/index.js:2:213809
    at zr (/opt/Mattermost/resources/app.asar/index.js:2:214532)
[2024-11-05 10:40:23.502] [info]  [ServerDropdownView] init
[2024-11-05 10:40:23.526] [info]  [i18nManager] Set new language ru
[2024-11-05 10:40:23.611] [error] [App.Utils] clearAppCache TypeError: Object has been destroyed
[2024-11-05 10:40:23.613] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 10:40:23.700] [info]  [ModalView] [welcomeScreen] preloading with /opt/Mattermost/resources/app.asar/internalAPI.js
[2024-11-05 10:40:38.869] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 10:40:38.870] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 10:40:38.900] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 10:40:39.920] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 10:40:40.801] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] Uncaught (in promise) Error: Not authorized

[2024-11-05 10:40:54.003] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-05 11:42:03.375] [error] Logger Log level set to: info
[2024-11-05 11:42:03.450] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-05 11:42:03.515] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 11:42:03.538] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-05 11:42:03.570] [info]  [ServerDropdownView] init
[2024-11-05 11:42:03.601] [info]  [i18nManager] Set new language ru
[2024-11-05 11:42:03.757] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 11:42:04.540] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 11:42:34.348] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-05 11:55:24.348] [error] [CallsWidgetWindow] desktopCapturer.getSources failed Failed to get sources.
[2024-11-05 11:56:00.653] [error] Logger Log level set to: info
[2024-11-05 11:56:00.726] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-05 11:56:00.785] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 11:56:00.811] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-05 11:56:00.847] [info]  [ServerDropdownView] init
[2024-11-05 11:56:00.871] [info]  [i18nManager] Set new language ru
[2024-11-05 11:56:00.987] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 11:56:01.666] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 11:56:32.484] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-05 12:20:53.664] [error] Logger Log level set to: info
[2024-11-05 12:20:53.747] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-05 12:20:53.951] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 12:20:54.007] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-05 12:20:54.087] [info]  [ServerDropdownView] init
[2024-11-05 12:20:54.141] [info]  [i18nManager] Set new language ru
[2024-11-05 12:20:54.222] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-05 12:20:54.239] [warn]  [App.Utils] Could not get server info for mattermost Error: net::ERR_NAME_NOT_RESOLVED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115199)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2024-11-05 12:20:54.241] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 12:20:54.309] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] The guest is not assumed as mattermost-webapp
[2024-11-05 12:20:54.310] [info]  [MattermostBrowser...] [mattermost] [TAB_MESSAGING] failed loading https://mattermost.russoutdoor.ru/: Error: ERR_NAME_NOT_RESOLVED (-105) loading 'https://mattermost.russoutdoor.ru/', retrying in 5 seconds
[2024-11-05 12:21:02.088] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 12:31:47.057] [error] Logger Log level set to: info
[2024-11-05 12:31:47.144] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-05 12:31:47.340] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 12:31:47.384] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-05 12:31:47.467] [info]  [ServerDropdownView] init
[2024-11-05 12:31:47.495] [info]  [i18nManager] Set new language ru
[2024-11-05 12:31:47.577] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-05 12:31:47.582] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 12:31:47.584] [warn]  [App.Utils] Could not get server info for mattermost Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115199)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2024-11-05 12:31:47.648] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] The guest is not assumed as mattermost-webapp
[2024-11-05 12:31:47.649] [info]  [MattermostBrowser...] [mattermost] [TAB_MESSAGING] failed loading https://mattermost.russoutdoor.ru/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://mattermost.russoutdoor.ru/', retrying in 5 seconds
[2024-11-05 12:31:53.157] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 13:56:52.736] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730804212.74] WSClient has been closed, connect fail count: 1
[2024-11-05 14:44:49.791] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807089.79] Polling websockets connection for state: undefined
[2024-11-05 14:44:49.828] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807089.83] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-05 14:44:49.886] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807089.88] WSClient has been closed, connect fail count: 2
[2024-11-05 14:44:50.568] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807090.57] Polling websockets connection for state: undefined
[2024-11-05 14:44:51.569] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807091.57] Polling websockets connection for state: undefined
[2024-11-05 14:44:52.569] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807092.57] Polling websockets connection for state: undefined
[2024-11-05 14:44:52.572] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807092.57] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-05 14:44:52.584] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807092.58] WSClient has been closed, connect fail count: 3
[2024-11-05 14:44:53.575] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807093.57] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-05 14:44:53.586] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807093.59] WSClient has been closed, connect fail count: 4
[2024-11-05 14:44:56.735] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807096.73] WSClient reconnected
[2024-11-05 14:44:57.604] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807097.60] Polling websockets connection for state: 1
[2024-11-05 14:44:57.605] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730807097.60] WSClient reconnected
[2024-11-05 14:53:18.296] [error] Logger Log level set to: info
[2024-11-05 14:53:18.379] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-05 14:53:18.427] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 14:53:18.452] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-05 14:53:18.494] [info]  [ServerDropdownView] init
[2024-11-05 14:53:18.515] [info]  [i18nManager] Set new language ru
[2024-11-05 14:53:18.653] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 14:53:19.217] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 14:53:49.422] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-05 15:03:01.461] [error] Logger Log level set to: info
[2024-11-05 15:03:01.536] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-05 15:03:01.599] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 15:03:01.625] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-05 15:03:01.665] [info]  [ServerDropdownView] init
[2024-11-05 15:03:01.699] [info]  [i18nManager] Set new language ru
[2024-11-05 15:03:01.879] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 15:03:02.413] [info]  [App.Config] config.autostart has been configured: true
[2024-11-05 15:03:32.390] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-05 17:13:26.630] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816006.63] WSClient has been closed, connect fail count: 1
[2024-11-05 17:25:59.794] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816759.79] Polling websockets connection for state: undefined
[2024-11-05 17:25:59.831] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816759.82] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-05 17:25:59.931] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816759.93] WSClient has been closed, connect fail count: 2
[2024-11-05 17:26:00.772] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816760.77] Polling websockets connection for state: undefined
[2024-11-05 17:26:01.771] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816761.77] Polling websockets connection for state: undefined
[2024-11-05 17:26:02.772] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816762.77] Polling websockets connection for state: undefined
[2024-11-05 17:26:02.778] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816762.78] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-05 17:26:02.796] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816762.80] WSClient has been closed, connect fail count: 3
[2024-11-05 17:26:04.885] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816764.88] WSClient reconnected
[2024-11-05 17:26:09.747] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816769.73] Polling websockets connection for state: 1
[2024-11-05 17:26:09.747] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730816769.75] WSClient reconnected
[2024-11-05 18:17:04.843] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730819824.84] WSClient has been closed, connect fail count: 1
[2024-11-05 18:29:46.788] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820586.79] Polling websockets connection for state: undefined
[2024-11-05 18:29:46.814] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820586.81] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-05 18:29:46.851] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820586.85] WSClient has been closed, connect fail count: 2
[2024-11-05 18:29:47.709] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820587.71] Polling websockets connection for state: undefined
[2024-11-05 18:29:48.709] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820588.71] Polling websockets connection for state: undefined
[2024-11-05 18:29:48.714] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820588.71] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-05 18:29:48.723] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820588.72] WSClient has been closed, connect fail count: 3
[2024-11-05 18:29:49.708] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820589.71] Polling websockets connection for state: undefined
[2024-11-05 18:29:50.714] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820590.71] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-05 18:29:50.726] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820590.72] WSClient has been closed, connect fail count: 4
[2024-11-05 18:29:52.837] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820592.84] WSClient reconnected
[2024-11-05 18:30:25.755] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820625.74] Polling websockets connection for state: 1
[2024-11-05 18:30:25.755] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730820625.75] WSClient reconnected
[2024-11-06 09:13:13.165] [error] Logger Log level set to: info
[2024-11-06 09:13:13.243] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-06 09:13:13.450] [info]  [App.Config] config.autostart has been configured: true
[2024-11-06 09:13:13.487] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-06 09:13:13.570] [info]  [ServerDropdownView] init
[2024-11-06 09:13:13.621] [info]  [i18nManager] Set new language ru
[2024-11-06 09:13:13.714] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-06 09:13:13.717] [warn]  [App.Utils] Could not get server info for mattermost Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115199)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2024-11-06 09:13:13.718] [info]  [App.Config] config.autostart has been configured: true
[2024-11-06 09:13:13.778] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] The guest is not assumed as mattermost-webapp
[2024-11-06 09:13:13.779] [info]  [MattermostBrowser...] [mattermost] [TAB_MESSAGING] failed loading https://mattermost.russoutdoor.ru/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://mattermost.russoutdoor.ru/', retrying in 5 seconds
[2024-11-06 09:13:19.285] [info]  [App.Config] config.autostart has been configured: true
[2024-11-06 11:56:36.447] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883396.45] WSClient has been closed, connect fail count: 1
[2024-11-06 11:56:36.947] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883396.95] Polling websockets connection for state: undefined
[2024-11-06 11:59:06.747] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883546.74] Polling websockets connection for state: undefined
[2024-11-06 11:59:06.753] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883546.75] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-06 11:59:06.774] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883546.77] WSClient has been closed, connect fail count: 2
[2024-11-06 11:59:07.013] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883547.01] Polling websockets connection for state: undefined
[2024-11-06 11:59:07.513] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883547.51] Polling websockets connection for state: undefined
[2024-11-06 11:59:08.013] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883548.01] Polling websockets connection for state: undefined
[2024-11-06 11:59:08.513] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883548.51] Polling websockets connection for state: undefined
[2024-11-06 11:59:09.013] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883549.01] Polling websockets connection for state: undefined
[2024-11-06 11:59:09.404] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883549.40] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-06 11:59:09.420] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883549.42] WSClient has been closed, connect fail count: 3
[2024-11-06 11:59:09.514] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883549.51] Polling websockets connection for state: undefined
[2024-11-06 11:59:10.013] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883550.01] Polling websockets connection for state: undefined
[2024-11-06 11:59:10.514] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883550.51] Polling websockets connection for state: undefined
[2024-11-06 11:59:10.959] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883550.96] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-06 11:59:10.966] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883550.97] WSClient has been closed, connect fail count: 4
[2024-11-06 11:59:11.013] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883551.01] Polling websockets connection for state: undefined
[2024-11-06 11:59:11.514] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883551.51] Polling websockets connection for state: undefined
[2024-11-06 11:59:12.014] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883552.01] Polling websockets connection for state: undefined
[2024-11-06 11:59:12.513] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883552.51] Polling websockets connection for state: undefined
[2024-11-06 11:59:13.016] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883553.02] Polling websockets connection for state: undefined
[2024-11-06 11:59:13.513] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883553.51] Polling websockets connection for state: undefined
[2024-11-06 11:59:14.013] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883554.01] Polling websockets connection for state: 0
[2024-11-06 11:59:14.513] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883554.51] Polling websockets connection for state: 0
[2024-11-06 11:59:15.013] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883555.01] Polling websockets connection for state: 0
[2024-11-06 11:59:15.513] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883555.51] Polling websockets connection for state: 0
[2024-11-06 11:59:16.013] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883556.01] Polling websockets connection for state: 0
[2024-11-06 11:59:16.299] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883556.30] WSClient reconnected
[2024-11-06 11:59:16.653] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883556.65] Polling websockets connection for state: 1
[2024-11-06 11:59:16.653] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730883556.65] WSClient reconnected
[2024-11-06 13:00:16.310] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730887216.31] WSClient has been closed, connect fail count: 1
[2024-11-06 13:18:20.731] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888300.73] Polling websockets connection for state: undefined
[2024-11-06 13:18:20.740] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888300.74] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-06 13:18:20.762] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888300.76] WSClient has been closed, connect fail count: 2
[2024-11-06 13:18:21.727] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888301.72] Polling websockets connection for state: undefined
[2024-11-06 13:18:22.724] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888302.72] Polling websockets connection for state: undefined
[2024-11-06 13:18:22.729] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888302.73] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-06 13:18:22.755] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888302.75] WSClient has been closed, connect fail count: 3
[2024-11-06 13:18:23.724] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888303.72] Polling websockets connection for state: undefined
[2024-11-06 13:18:24.729] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888304.73] WSClient websocket onerror. data: {"isTrusted":true}
[2024-11-06 13:18:24.750] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888304.75] WSClient has been closed, connect fail count: 4
[2024-11-06 13:18:29.874] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888309.87] WSClient reconnected
[2024-11-06 13:19:03.809] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888343.80] Polling websockets connection for state: 1
[2024-11-06 13:19:03.809] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1730888343.81] WSClient reconnected
[2024-11-07 09:24:16.316] [error] Logger Log level set to: info
[2024-11-07 09:24:16.395] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-07 09:24:16.568] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 09:24:16.608] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-07 09:24:16.681] [info]  [ServerDropdownView] init
[2024-11-07 09:24:16.723] [info]  [i18nManager] Set new language ru
[2024-11-07 09:24:16.783] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-07 09:24:16.790] [warn]  [App.Utils] Could not get server info for mattermost Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115199)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2024-11-07 09:24:16.791] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 09:24:16.853] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] The guest is not assumed as mattermost-webapp
[2024-11-07 09:24:16.854] [info]  [MattermostBrowser...] [mattermost] [TAB_MESSAGING] failed loading https://mattermost.russoutdoor.ru/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://mattermost.russoutdoor.ru/', retrying in 5 seconds
[2024-11-07 09:24:23.063] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 10:32:24.237] [error] Logger Log level set to: info
[2024-11-07 10:32:24.310] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-07 10:32:24.374] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 10:32:24.402] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-07 10:32:24.439] [info]  [ServerDropdownView] init
[2024-11-07 10:32:24.462] [info]  [i18nManager] Set new language ru
[2024-11-07 10:32:24.567] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 10:32:25.138] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 10:32:55.235] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-07 10:34:45.523] [error] Logger Log level set to: info
[2024-11-07 10:34:45.599] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-07 10:34:45.672] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 10:34:45.703] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-07 10:34:45.737] [info]  [ServerDropdownView] init
[2024-11-07 10:34:45.763] [info]  [i18nManager] Set new language ru
[2024-11-07 10:34:45.890] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 10:34:46.437] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 10:35:16.425] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-07 11:03:24.575] [error] Logger Log level set to: info
[2024-11-07 11:03:24.650] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-07 11:03:24.695] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 11:03:24.719] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-07 11:03:24.757] [info]  [ServerDropdownView] init
[2024-11-07 11:03:24.776] [info]  [i18nManager] Set new language ru
[2024-11-07 11:03:24.888] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 11:03:25.438] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 11:03:55.506] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-07 11:07:37.383] [error] Logger Log level set to: info
[2024-11-07 11:07:37.458] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-07 11:07:37.502] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 11:07:37.523] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-07 11:07:37.569] [info]  [ServerDropdownView] init
[2024-11-07 11:07:37.598] [info]  [i18nManager] Set new language ru
[2024-11-07 11:07:37.716] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 11:07:38.247] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 11:08:05.226] [error] Logger Log level set to: info
[2024-11-07 11:08:05.302] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-07 11:08:05.353] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 11:08:05.375] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-07 11:08:05.422] [info]  [ServerDropdownView] init
[2024-11-07 11:08:05.451] [info]  [i18nManager] Set new language ru
[2024-11-07 11:08:05.579] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 11:08:06.198] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 11:08:35.704] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-07 18:56:33.781] [error] Logger Log level set to: info
[2024-11-07 18:56:33.853] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-07 18:56:33.898] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 18:56:33.922] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-07 18:56:33.955] [info]  [ServerDropdownView] init
[2024-11-07 18:56:33.981] [info]  [i18nManager] Set new language ru
[2024-11-07 18:56:34.094] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 18:56:34.605] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 18:59:23.165] [error] Logger Log level set to: info
[2024-11-07 18:59:23.247] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-07 18:59:23.445] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 18:59:23.489] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-07 18:59:23.558] [info]  [ServerDropdownView] init
[2024-11-07 18:59:23.618] [info]  [i18nManager] Set new language ru
[2024-11-07 18:59:23.690] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-07 18:59:23.701] [warn]  [App.Utils] Could not get server info for mattermost Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115199)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2024-11-07 18:59:23.703] [info]  [App.Config] config.autostart has been configured: true
[2024-11-07 18:59:23.775] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] The guest is not assumed as mattermost-webapp
[2024-11-07 18:59:23.777] [info]  [MattermostBrowser...] [mattermost] [TAB_MESSAGING] failed loading https://mattermost.russoutdoor.ru/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://mattermost.russoutdoor.ru/', retrying in 5 seconds
[2024-11-07 18:59:29.523] [info]  [App.Config] config.autostart has been configured: true
[2024-11-08 09:03:48.822] [error] Logger Log level set to: info
[2024-11-08 09:03:48.914] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-08 09:03:49.110] [info]  [App.Config] config.autostart has been configured: true
[2024-11-08 09:03:49.150] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-08 09:03:49.220] [info]  [ServerDropdownView] init
[2024-11-08 09:03:49.283] [info]  [i18nManager] Set new language ru
[2024-11-08 09:03:49.367] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-08 09:03:49.382] [warn]  [App.Utils] Could not get server info for mattermost Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115199)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2024-11-08 09:03:49.383] [info]  [App.Config] config.autostart has been configured: true
[2024-11-08 09:03:49.435] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] The guest is not assumed as mattermost-webapp
[2024-11-08 09:03:49.437] [info]  [MattermostBrowser...] [mattermost] [TAB_MESSAGING] failed loading https://mattermost.russoutdoor.ru/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://mattermost.russoutdoor.ru/', retrying in 5 seconds
[2024-11-08 09:03:55.451] [info]  [App.Config] config.autostart has been configured: true
[2024-11-08 10:36:52.971] [error] Logger Log level set to: info
[2024-11-08 10:36:53.049] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-08 10:36:53.224] [info]  [App.Config] config.autostart has been configured: true
[2024-11-08 10:36:53.281] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-08 10:36:53.378] [info]  [ServerDropdownView] init
[2024-11-08 10:36:53.462] [info]  [i18nManager] Set new language ru
[2024-11-08 10:36:53.547] [info]  [App.Config] config.autostart has been configured: true
[2024-11-08 10:36:54.217] [info]  [App.Config] config.autostart has been configured: true
[2024-11-08 10:36:55.017] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] Uncaught (in promise) ApolloError: Failed to fetch
[2024-11-08 10:36:57.673] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-11 09:22:55.274] [error] Logger Log level set to: info
[2024-11-11 09:22:55.352] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-11 09:22:55.562] [info]  [App.Config] config.autostart has been configured: true
[2024-11-11 09:22:55.604] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-11 09:22:55.675] [info]  [ServerDropdownView] init
[2024-11-11 09:22:55.731] [info]  [i18nManager] Set new language ru
[2024-11-11 09:22:55.795] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-11 09:22:55.808] [warn]  [App.Utils] Could not get server info for mattermost Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115199)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2024-11-11 09:22:55.810] [info]  [App.Config] config.autostart has been configured: true
[2024-11-11 09:22:55.879] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] The guest is not assumed as mattermost-webapp
[2024-11-11 09:22:55.880] [info]  [MattermostBrowser...] [mattermost] [TAB_MESSAGING] failed loading https://mattermost.russoutdoor.ru/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://mattermost.russoutdoor.ru/', retrying in 5 seconds
[2024-11-11 09:23:01.475] [info]  [App.Config] config.autostart has been configured: true
[2024-11-11 14:53:49.659] [error] Logger Log level set to: info
[2024-11-11 14:53:49.791] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-11 14:53:50.042] [info]  [App.Config] config.autostart has been configured: true
[2024-11-11 14:53:50.119] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-11 14:53:50.262] [info]  [ServerDropdownView] init
[2024-11-11 14:53:50.355] [info]  [i18nManager] Set new language ru
[2024-11-11 14:53:50.450] [warn]  [App.Initialize] There was an error while trying to download the dictionary definitions for ru, spellchecking might not work properly.
[2024-11-11 14:53:50.465] [info]  [App.Config] config.autostart has been configured: true
[2024-11-11 14:53:50.467] [warn]  [App.Utils] Could not get server info for mattermost Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115199)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2024-11-11 14:53:50.582] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] The guest is not assumed as mattermost-webapp
[2024-11-11 14:53:50.584] [info]  [MattermostBrowser...] [mattermost] [TAB_MESSAGING] failed loading https://mattermost.russoutdoor.ru/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://mattermost.russoutdoor.ru/', retrying in 5 seconds
[2024-11-11 17:48:30.958] [error] Logger Log level set to: info
[2024-11-11 17:48:31.030] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-11 17:48:31.089] [info]  [App.Config] config.autostart has been configured: true
[2024-11-11 17:48:31.110] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-11 17:48:31.145] [info]  [ServerDropdownView] init
[2024-11-11 17:48:31.213] [info]  [i18nManager] Set new language ru
[2024-11-11 17:48:31.328] [info]  [App.Config] config.autostart has been configured: true
[2024-11-11 17:48:33.464] [info]  [App.Config] config.autostart has been configured: true
[2024-11-11 18:18:16.879] [error] [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338296.88] WSClient has been closed, connect fail count: 1
[2024-11-11 18:18:17.380] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338297.38] Polling websockets connection for state: undefined
[2024-11-11 18:18:17.880] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338297.88] Polling websockets connection for state: undefined
[2024-11-11 18:18:18.379] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338298.38] Polling websockets connection for state: undefined
[2024-11-11 18:18:18.880] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338298.88] Polling websockets connection for state: undefined
[2024-11-11 18:18:19.382] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338299.38] Polling websockets connection for state: undefined
[2024-11-11 18:18:19.879] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338299.88] Polling websockets connection for state: undefined
[2024-11-11 18:18:20.379] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338300.38] Polling websockets connection for state: undefined
[2024-11-11 18:18:20.880] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338300.88] Polling websockets connection for state: undefined
[2024-11-11 18:18:21.375] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338301.37] WSClient reconnected
[2024-11-11 18:18:21.453] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338301.45] Polling websockets connection for state: 1
[2024-11-11 18:18:21.453] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] [1731338301.45] WSClient reconnected
[2024-11-12 09:10:04.924] [error] Logger Log level set to: info
[2024-11-12 09:10:05.002] [warn]  [App.Initialize] Current working directory is /home/isakharov, changing into /opt/Mattermost
[2024-11-12 09:10:05.189] [info]  [App.Config] config.autostart has been configured: true
[2024-11-12 09:10:05.230] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-12 09:10:05.303] [info]  [ServerDropdownView] init
[2024-11-12 09:10:05.366] [info]  [i18nManager] Set new language ru
[2024-11-12 09:10:05.462] [warn]  [App.Utils] Could not get server info for mattermost Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115199)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2024-11-12 09:10:05.463] [info]  [App.Config] config.autostart has been configured: true
[2024-11-12 09:10:05.531] [warn]  [WebContentsEventM...] [mattermost] [TAB_MESSAGING] [renderer] The guest is not assumed as mattermost-webapp
[2024-11-12 09:10:05.532] [info]  [MattermostBrowser...] [mattermost] [TAB_MESSAGING] failed loading https://mattermost.russoutdoor.ru/: Error: ERR_INTERNET_DISCONNECTED (-106) loading 'https://mattermost.russoutdoor.ru/', retrying in 5 seconds
[2024-11-12 09:10:12.038] [info]  [App.Config] config.autostart has been configured: true

Additional Information

It is most likely a ui problem - with wayland and KDE Plazma. A bug is very simple to reproduce.

cyberm8 commented 6 days ago

The issue persists on 5.10 (same environment: Debian 12 with KDE Wayland etc).

In 5.9, it was not possible to close the window, it seems fixed in 5.10.

I attached some logs if it can help.

At 2:58pm, the log level is set to debug. Then, we click on the minimize button several time. The window is minimized briefly then it reopens almost instantly.

mattermost_desktop_510_debian_12_wayland_kde_minimize.log

devinbinnie commented 5 days ago

@ilyasaharov I can't reproduce your exact conditions, with v5.9, however we did fix a KDE related minimize issue here. It's available in the latest nightly build if you want to try that, available here: https://community.mattermost.com/core/channels/desktop-builds

ilyasaharov commented 4 days ago

@devinbinnie , This build fixed the problem: mattermost-desktop_5.11.0-nightly.20241120-1_amd64.deb You can close the issue.