Skip to content

[Bug]: 6.0.0 fails to show window on Ubuntu 24.04 with some Wayland configurations #3559

@jnsgruk

Description

@jnsgruk

Checks before filing an issue

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions