Slack snap - window has no icon

The auto-start feature is not implemented yet. It is likely coming in snapd 2.32 or for sure in 2.33

1 Like

Ahh! Glad to hear even though it is a feature I’d very much like to see already implemented! Great, thanks!

I just noticed Slack 3.1.0 landed in stable a few hours ago. This appears to fix the icon.

image

You can either wait for the update and close/reopen slack, or force it with snap refresh and restart the app.

Also, the app shrank from 139.8MB down to 93.5MB :smiley:

3 Likes

I can confirm these changes now have icon included :smile:

1 Like

I have the same problem on Linux Mint with Cinnamon and Slack 3.1.0 installed by Snappy.
Screenshot from 2018-04-04 09-17-23

Does anybody knows of any workaround for this problem? (For now I’ll have to uninstall the snap and re-install slack from the ppa).

The .desktop file is missing a StartupWMClass entry to help the window manager connect the dots between the executable and the window class name.

1 Like

Thanks, I’ve just added StartupWMClass=Slack to /var/lib/snapd/desktop/applications/slack_slack.desktop and it has fixed the problem!

2 Likes

It still has no icon in the Xfce panel or alt-tab window with the latest version + the .desktop modification.

I have a freshly installed Ubuntu Budgie 18.04 and still see the same issues.
Screenshot from 2018-04-29 07:49:24

These are the Slack, Simplenote and Spotify snaps running next to each other, only Spotify has an icon associated?
Is this something I can fix myself, or part of the snap.

I use the Adapta theme, combined with the Papirus-Adapta icon set.
Alt-Tab shows the same, they do have the right icon in the menu.

@nroetert - Are you still having this issue?

** EDIT - Works in the system tray, but not in the icon task list applet. I misunderstood where the issue was. Slack is an issue, telegram-desktop is not. **

https://0x0.st/s18G.png

I’m also on 18.04 (budgie) without issue.

What version of the snap do you have?

What are your results for the snap info slack command?

Mine are posted below:

snap info slack
name:      slack
summary:   Team communication for the 21st century.
publisher: slack
contact:   https://get.slack.help/hc/en-us
license:   unknown
description: |
  Caution: Slack for Linux is in beta. We’re still busy adding features and
  ironing out potential issues.
  
  Slack brings team communication and collaboration into one place so you can
  get more work done, whether you belong to a large enterprise or a small
  business. Check off your to-do list and move your projects forward by
  bringing the right people, conversations, tools, and information you need
  together. Slack is available on any device, so you can find and access your
  team and your work, whether you’re at your desk or on the go.
  
  Scientifically proven (or at least rumored) to make your working life
  simpler, more pleasant, and more productive. We hope you’ll give Slack a
  try.
  
  Stop by and learn more at: https://slack.com/
commands:
  - slack
snap-id:   JUJH91Ved74jd4ZgJCpzMBtYbPOzTlsD
tracking:  stable
refreshed: 2018-03-30T15:45:51-07:00
installed:   3.1.1 (6) 98MB classic
channels:              
  stable:    3.1.1 (6) 98MB classic
  candidate: ↑              
  beta:      ↑              
  edge:      3.1.1 (6) 98MB classic

I also meant to show you this too… Telegram snap:

https://0x0.st/s18n.png

There are a few telegram snaps, and I am using the telegram-desktop one.

snap info telegram-desktop
name:      telegram-desktop
summary:   Official desktop client for the Telegram messenger
publisher: 3v1n0
contact:   https://github.com/3v1n0/telegram-snap/issues
license:   unknown
description: |
  Telegram is a popular messaging protocol with encryption and security as
  its key focus.
  
  Fast and secure desktop app, perfectly synced with your mobile phone.
commands:
  - telegram-desktop
snap-id:   jpdoHqMd90M39DdH2JSZbeQxipqHtwLo
tracking:  stable
refreshed: 2018-04-09T08:56:46-07:00
installed:   1.2.17            (142) 100MB -
channels:                            
  stable:    1.2.17            (142) 100MB -
  candidate: ↑                             
  beta:      ↑                             
  edge:      1.2.17+gita2606c4 (158) 100MB -

Indeed, I’m on the same snap/version.
System tray is okay, application icon is missing.

When I install that version of the Telegram snap and add my phone number, it comes back with an “Internal Server error.”
As an alternative I can install telegram-sergiusens, that works fine, show an app icon, but no system tray icon.

1 Like

Upon upgrade to bionic this issue and a few others around snap app icons seem fixed.

I just installed Ubuntu 18.04 and decided to install Slack via deb, which turns out to uninstall my version of virtualbox and other necessary packages. So I uninstalled the deb, and installed with snap. I don’t have an icon on the tray, but I do see an icon on the dock and in the app switcher.
I’ve rebooted but no change. I’ve read every post here, but it seems there’s no workaround to fix the tray icon. Does anybody know how to fix this?

EDIT: The problem was not Slack but TopIcons Plus, I decided to switch to Appindicator extension and now the icon is working.

Ubuntu 16.04, icon still missing from launcher and application switcher (alt+tab)

I’ve just added StartupWMClass=Slack to /var/lib/snapd/desktop/applications/slack_slack.desktop and it has fixed the problem!

Confirm that this fixes the problem.

1 Like

Hi gionn - reading through the thread, other commenters said that slack fixed it in release 3.1.0 so I’m curious what version of Slack you are using and what desktop environment and/or window manager you might be using.

Ubuntu 18.10, Plasma 5.14. Issue still exist :persevere:

Same problem with Manjaro 18, Xfce GTK3 4.13, snapd 2.35.5, and slack 3.3.3-9.

This continues to be a problem because Slack does not provide an icon using the NET_WM_ICON property.

1 Like