desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: graphics regression in 5.13.0

Open lczyk opened this issue 4 months ago • 1 comments

Checks before filing an issue

  • [x] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
  • [x] I have checked the issue tracker and have not found an issue that matches the one I'm filing. This should include closed issues.
  • [x] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
  • [x] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
  • [x] This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
  • [x] I have read the contribution guidelines.

Mattermost Desktop Version

5.13.0

Operating System

Ubuntu 25.10 aarch64

Mattermost Server Version

No response

Steps to reproduce

sudo snap install mattermost-desktop

Expected behavior

no graphical glitches

Observed behavior

Image

Log Output

09:18:56.564 › Logger Log level set to: info
[macos-notification-state] failed to load 'notificationstate' addon Error: Module did not self-register: '/snap/mattermost-desktop/793/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:1930:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2844)
    at Module.load (node:internal/modules/cjs/loader:1472:32)
    at Module._load (node:internal/modules/cjs/loader:1289:12)
    at c._load (node:electron/js2c/node_init:2:18013)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:242:24)
    at Module.require (node:internal/modules/cjs/loader:1494:12)
    at require (node:internal/modules/helpers:135:16) {
  code: 'ERR_DLOPEN_FAILED'
}
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
09:18:56.639 › [App.Initialize] Current working directory is /home/marcin, changing into /snap/mattermost-desktop/793/opt/Mattermost
Error org.freedesktop.DBus.Error.Failed: cannot set "default-url-scheme-handler" subproperty "mattermost" setting to invalid value "Mattermost.Desktop"
Gtk-Message: 09:18:56.654: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[1106475:0827/091856.723668:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1106759: Permission denied (13)
09:18:56.729 › [App.Config] config.autostart has been configured: true
09:18:56.742 › [App.Initialize] Autoupgrade disabled: false
[1106475:0827/091856.774044:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1106920: Permission denied (13)
[1106475:0827/091856.776670:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1106928: Permission denied (13)
09:18:56.777 › [ServerDropdownView] init
[1106475:0827/091856.780896:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1106945: Permission denied (13)
[1106475:0827/091856.785660:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1106958: Permission denied (13)
[1106475:0827/091856.790576:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1106974: Permission denied (13)
09:18:56.814 › [i18nManager] Failed to set new language en-US
09:18:56.815 › [i18nManager] Failed to set new language US
[1106475:0827/091856.894283:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.login1.Manager.Inhibit: object_path= /org/freedesktop/login1: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.5565" (uid=1000 pid=1106475 comm="/snap/mattermost-desktop/793/opt/Mattermost/matter" label="snap.mattermost-desktop.mattermost-desktop (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=1997 comm="/usr/lib/systemd/systemd-logind" label="unconfined")
09:18:57.139 › [App.Utils] clearAppCache TypeError: Object has been destroyed
[1106475:0827/091857.192224:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1107325: Permission denied (13)
[1106475:0827/091857.194470:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1107326: Permission denied (13)
09:18:57.205 › [App.Config] config.autostart has been configured: true
09:18:58.644 › [App.Config] config.autostart has been configured: true

Additional Information

Resolved with sudo snap revert mattermost-desktop (back to 5.12.1).

Related to: https://github.com/issues/created?q=is%3Aissue+archived%3Afalse+author%3A%40me+sort%3Aupdated-desc&issue=microsoft%7Cvscode%7C261237 in element-desktop and to: https://github.com/microsoft/vscode/issues/260732 in vscode

lczyk avatar Aug 27 '25 08:08 lczyk

Seeing as this is an issue in both VSCode and Chromium, it's likely going to need a fix from Electron. We'll monitor and update Electron once this is fixed upstream.

devinbinnie avatar Aug 27 '25 12:08 devinbinnie

@lczyk Is this fixed for you in v6? Looks like it's fixed for one user (on newer Ubuntu however): https://github.com/microsoft/vscode/issues/260732#issuecomment-3481379749

devinbinnie avatar Dec 12 '25 15:12 devinbinnie

yes, although i think i will stick with 5.12.1 for a bit longer since the new version's toolbar darkmode is not working:

old:

Image

new:

Image

(it initially works, and then switched back to light about 1sec after startup)

lczyk avatar Dec 12 '25 17:12 lczyk

closing this in lieu of https://github.com/mattermost/desktop/issues/3621

lczyk avatar Dec 12 '25 17:12 lczyk