mattermost-desktop snap has been having some difficulty moving forward to
core20 and the later
5.x releases, but I’m pleased to say that I think we’ve cracked it!
You can test Mattermost 5.1.0 by installing from
edge today - we welcome any feedback!
# Install fresh
sudo snap install mattermost-desktop --channel edge
# Refresh from existing
sudo snap refresh mattermost-desktop --channel edge
@jamesh, @mardy and @sergiusens for their assistance getting this sorted!
Just tried it, seems to work well. I do have a very shared indicator now
I switched the tray icon theme to Dark under Settings and it is all good now. I suspect that maybe this could be related to the base change and new GNOME stack kicking in; any thoughts
Is there any prospect of removing
DISABLE_WAYLAND? I’ve run other Electron apps on Wayland…
it depends on whether mattermost-desktop from upstream uses a new enough electron.
I can take a look at this - will experiment over the next few days as time allows
Thanks, I tried unsquashing and removing
edge. After that
mattermost-desktop --ozone-platform=wayland appears to be working.
Interesting - I’ve started playing here:
But am getting an odd issue where the window decorations aren’t rendered. the PR is probably safe to merge either way. I’d like to use
--ozone-platform-hint=auto, but I don’t think they’re passing that through to the electron runtime from what I can tell.
mattermost-desktop --enable-features=WaylandWindowDecorations --ozone-platform=wayland
So that works… kinda… the window decorations definitely aren’t
Hmm, looked OK to me…
…but I’ve hijacked the thread. Sorry.
I just wanted the
DISABLE_WAYLAND removed so that this stuff can be tested easily. By default it will still start using X11 because that’s what Electron does. (Making Wayland the default is a whole other story that I don’t suggest is ready.)
we welcome any feedback!
I’ve been using for a day now and not noticed any problems that were not of my own making
Would be even better with the, hopefully benign,
DISABLE_WAYLAND request included.
That PR merged, so a snap with no DISABLE_WAYLAND should land on edge shortly
We’re at about 550 installs on
candidate now with no reports of bugs/errors, and it’s been stable for me so I’ll bump into
For those crazy enough to try the Wayland native support on
$ diff /var/lib/snapd/desktop/applications/mattermost-desktop_mattermost-desktop.desktop ~.local/share/applications/
< Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/mattermost-desktop_mattermost-desktop.desktop /snap/bin/mattermost-desktop %U
> Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/mattermost-desktop_mattermost-desktop.desktop /snap/bin/mattermost-desktop --enable-features=WaylandWindowDecorations --ozone-platform=wayland %U
It is usable, but there are definitely some issues, so it isn’t ready for default