Closed antonpaisov closed 6 years ago
The thread you linked states
On Fedora 27 this is solved as the official repos updated snapd
Is everything up-to-date on your system?
Hm, reading that thread, it seems as if this could be solved by including the desktop
interface. That would also fix the "chinese fonts" issue. I took a shot at that, but then Mattermost also crashes on Ubuntu. I'll take another look at it this evening, I'll keep you updated!
thank you! yes, everything is and was up to date.
For some reason, mattermost tries to mmap
the fonts it gets from the OS. The security profile doesn't allow this, so fonts don't work at all if I include the desktop
interface.
More details here: https://forum.snapcraft.io/t/fonts-fail-to-load-when-desktop-plug-added/3414
I'm not sure how to proceed so if you have any suggestions, let me know..
Found the issue! Apparmor was killing mattermost because mattermost had the stackexec bit on. The fix is committed to this repo. Ubuntu build servers are down atm and it might take a few days until that's resolved (cpu's -_- ). I'll try to build the snap locally and upload it manually if it's still not working tomorrow.
pushed it manually to the beta
channel. Can you give it a try?
snap refresh mattermost-desktop --channel beta
@galgalesh yes, will do (a bit later today or tomorrow)! thank you!
@antonpaisov Any news?
@flexiondotorg I will try it out tonight had a family emergency since last message :(
@galgalesh @flexiondotorg it works, but fonts in settings are weird, I can't enable "Leave app running in notification area when application window is closed"
and an icon in the top bar looks bad
.
@antonpaisov Thanks for the feedback. We're actively working on correctly integrating desktop theme support, that is a general snapd
improvement. I'll close this and the OP issue is resolved. Thanks for helping :smile:
Just out of curiosity, any progress on the theme integration (the window is using a different themes, but pointers as well) and the "minimize to tray" feature just mentioned above?
@Kabouik
Minimise to tray works for me on Ubuntu 18.04. Note that your DE needs to support the tray for this to work. Latest versions of Gnome removed this support but Ubuntu adds it using an extension. Note that you need to change the settings of the mattermost desktop app in order to enable minimize to tray.
Theme integration isn't final yet, but it should work for most common themes. Which theme are you using and on which distro?
Thanks for your answer @galgalesh. I am using Budgie, so the tray is supported (and the non-snap Mattermost application minimizes to tray). The option is there in the snap version, but it cannot be enabled (same as @antonpaisov reported above).
My theme is Adapta (or Adapta-Nokto-Eta, the dark version, on another computer), the cursors are provided by breeze-cursor, and icons from Papirus (but I don't think icons are relevant).
@Kabouik Can you open a new issue for the "minimize to tray" problem?
Adapta is not yet supported, this is a snapd issue, we're waiting for better support for themes in snapd.
Hey there,
When I try running mattermost-desktop installed from a snap, it fails with:
This looks similar to this issue https://github.com/Foundry376/Mailspring/issues/389
Cheers