mattermost / mattermost/desktop
[Bug]: 6.0.0 fails to show window on Ubuntu 24.04 with some Wayland configurations
Open
Nobody has claimed this yet.
Electron
Linux
Type/Bug
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 980
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 30
Description
Checks before filing an issue
- This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
- I have checked the issue tracker and have not found an issue that matches the one I'm filing. This should include closed issues.
- This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
- This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
- This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
- I have read the contribution guidelines.
Mattermost Desktop Version
6.0.0
Operating System
Ubuntu 24.04 LTS
Mattermost Server Version
No response
Steps to reproduce
- Install 6.0.0 release using the deb
- Try to launch mattermost
Expected behavior
Mattermost window should appear
Observed behavior
App appears to start, and tray icon is visible, but no window appears
Log Output
ubuntu@noble-desktop-vm:~$ mattermost-desktop
11:00:47.167 › Logger Log level set to: { level: 'info' }
[macos-notification-state] failed to load 'notificationstate' addon Error: Module did not self-register: '/opt/Mattermost/resources/app.asar.unpacked/node_modules/macos-notification-state/build/Release/notificationstate.node'.
at process.func [as dlopen] (node:electron/js2c/node_init:2:2617)
at Module._extensions..node (node:internal/modules/cjs/loader:1874:18)
at Object.func [as .node] (node:electron/js2c/node_init:2:2844)
at Module.load (node:internal/modules/cjs/loader:1448:32)
at Module._load (node:internal/modules/cjs/loader:1270:12)
at c._load (node:electron/js2c/node_init:2:17993)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
at Module.require (node:internal/modules/cjs/loader:1470:12)
at require (node:internal/modules/helpers:147:16) {
code: 'ERR_DLOPEN_FAILED'
}
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
11:00:47.229 › [App.Initialize] Current working directory is /home/ubuntu, changing into /opt/Mattermost
11:00:47.271 › [App.Config] config.autostart has been configured: { autostart: true }
11:00:47.298 › [SecureStorage] Secure storage initialized - encryption available
11:00:47.306 › [SecureStorage] Initialized secure storage cache
11:00:47.325 › [ServerDropdownView] init
11:00:47.334 › [App.Initialize] Autoupgrade disabled: false
[23266:1114/110047.337820:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
11:00:47.346 › [i18nManager] Failed to set new language { locale: 'en-US' }
11:00:47.346 › [i18nManager] Failed to set new language { locale: 'US' }
[23358:1114/110047.444602:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
11:00:47.560 › [ModalView] [welcomeScreen] preloading with /opt/Mattermost/resources/app.asar/internalAPI.js
11:00:47.643 › [WebContentsEventM...] [renderer] Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'sidebarBg')
11:00:53.065 › [BaseWindow] window closed
Additional Information
Seems to work fine on Ubuntu 25.10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running mattermost-desktop on Ubuntu 24.04 with the affected Wayland configuration and compare the startup output, especially the BaseWindow close and renderer errors. Trace the launch path that creates the window; done means the installed 6.0.0 app displays its Mattermost window instead of only showing a tray icon.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100