Bug 403596 - Slack tray icon not working in Plasma
Summary: Slack tray icon not working in Plasma
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.14.5
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-25 18:39 UTC by Ryan
Modified: 2019-11-13 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Generic tray icon (1.08 KB, image/jpeg)
2019-01-25 18:39 UTC, Ryan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan 2019-01-25 18:39:46 UTC
Created attachment 117658 [details]
Generic tray icon

SUMMARY
Slack tray icon displays generic icon.  Message indications are not working.


STEPS TO REPRODUCE
1. Download Slack via official PPA or use Snap Package
2. Run Slack and observe the tray icon

EXPECTED RESULT

Other linux desktops are not having this issue.  Tested on Unity.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: KDE Neon 5.14
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2019-01-25 18:46:26 UTC
If you run "killall xembedsniproxy" does that icon disappear or stay?
Comment 2 Ryan 2019-01-25 18:47:32 UTC
(In reply to David Edmundson from comment #1)
> If you run "killall xembedsniproxy" does that icon disappear or stay?

It stays
Comment 3 David Edmundson 2019-01-25 18:51:17 UTC
Oh, that's good news.

Next:

Run

 qdbus org.kde.StatusNotifierWatcher /StatusNotifierWatcher org.kde.StatusNotifierWatcher.RegisteredStatusNotifierItems 


That'll give you a list in the form

:1.32/StatusNotifierItem


Run 

qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.Title
qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.AttentionIconName
qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.IconName
qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.IconTheme
qdbus :1.32     /StatusNotifierIte     org.kde.StatusNotifierItem.IconThemePath
qdbus :1.32     /StatusNotifierIte     org.kde.StatusNotifierItem.Status

(where :1.32 and potentially "/StatusNotifierItem" are from that list above.
Comment 4 Ryan 2019-01-25 19:00:02 UTC
(In reply to David Edmundson from comment #3)
> Oh, that's good news.
> 
> Next:
> 
> Run
> 
>  qdbus org.kde.StatusNotifierWatcher /StatusNotifierWatcher
> org.kde.StatusNotifierWatcher.RegisteredStatusNotifierItems 
> 
> 
> That'll give you a list in the form
> 
> :1.32/StatusNotifierItem
> 
> 
> Run 
> 
> qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.Title
> qdbus :1.32     /StatusNotifierItem   
> org.kde.StatusNotifierItem.AttentionIconName
> qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.IconName
> qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.IconTheme
> qdbus :1.32     /StatusNotifierIte    
> org.kde.StatusNotifierItem.IconThemePath
> qdbus :1.32     /StatusNotifierIte     org.kde.StatusNotifierItem.Status
> 
> (where :1.32 and potentially "/StatusNotifierItem" are from that list above.

ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.Title
slack
ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.AttentionIconName

ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.IconName
chrome_app_indicator2_8b0f938d131432377066b29db2acc344
ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.IconTheme
Error: org.freedesktop.DBus.Error.UnknownMethod
No such method 'IconTheme'
ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.IconThemePath
/run/user/1000/snap.slack/.org.chromium.Chromium.kAlzqv/icons
ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.Status
Comment 5 Ryan 2019-01-25 19:34:30 UTC
(In reply to Ryan from comment #4)
> (In reply to David Edmundson from comment #3)
> > Oh, that's good news.
> > 
> > Next:
> > 
> > Run
> > 
> >  qdbus org.kde.StatusNotifierWatcher /StatusNotifierWatcher
> > org.kde.StatusNotifierWatcher.RegisteredStatusNotifierItems 
> > 
> > 
> > That'll give you a list in the form
> > 
> > :1.32/StatusNotifierItem
> > 
> > 
> > Run 
> > 
> > qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.Title
> > qdbus :1.32     /StatusNotifierItem   
> > org.kde.StatusNotifierItem.AttentionIconName
> > qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.IconName
> > qdbus :1.32     /StatusNotifierItem    org.kde.StatusNotifierItem.IconTheme
> > qdbus :1.32     /StatusNotifierIte    
> > org.kde.StatusNotifierItem.IconThemePath
> > qdbus :1.32     /StatusNotifierIte     org.kde.StatusNotifierItem.Status
> > 
> > (where :1.32 and potentially "/StatusNotifierItem" are from that list above.
> 
> ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1   
> org.kde.StatusNotifierItem.Title
> slack
> ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1   
> org.kde.StatusNotifierItem.AttentionIconName
> 
> ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1   
> org.kde.StatusNotifierItem.IconName
> chrome_app_indicator2_8b0f938d131432377066b29db2acc344
> ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1   
> org.kde.StatusNotifierItem.IconTheme
> Error: org.freedesktop.DBus.Error.UnknownMethod
> No such method 'IconTheme'
> ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1   
> org.kde.StatusNotifierItem.IconThemePath
> /run/user/1000/snap.slack/.org.chromium.Chromium.kAlzqv/icons
> ace@grape:~$ qdbus :1.86     /org/ayatana/NotificationItem/Slack1   
> org.kde.StatusNotifierItem.Status


Above is the result for my KDE Neon using the snap.

Below is the output my Kubuntu 18.04 machine using the PPA:

ace@cherry:~$ qdbus :1.1775     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.Title
slack
ace@cherry:~$ qdbus :1.1775     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.AttentionIconName

ace@cherry:~$ qdbus :1.1775     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.IconName
chrome_app_indicator2_e349fb9bb0990f3749c2bd64bd1521d3
ace@cherry:~$ qdbus :1.1775     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.IconTheme
Error: org.freedesktop.DBus.Error.UnknownMethod
No such method 'IconTheme'
ace@cherry:~$ qdbus :1.1775     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.IconThemePath
/tmp/.org.chromium.Chromium.LQtajH/icons
ace@cherry:~$ qdbus :1.1775     /org/ayatana/NotificationItem/Slack1    org.kde.StatusNotifierItem.Status
Active
Comment 6 Ryan 2019-01-26 00:11:30 UTC
I also contacted Slack about this problem.  Seems they are working on a fix, here is their response:

--------------

 Michelle Jones (Slack)

Jan 25, 11:16 AM PST

Hi there. This is the right place for a bug report, thanks for submitting it. Our Linux team is actually already aware of this one and working on a fix for it. I've added your ticket to the bug report so that as soon as it's fixed I can let you know. I'm sorry for the inconvenience in the meantime.

Best,
Michelle
Comment 7 Bug Janitor Service 2019-02-10 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Christoph Feck 2019-02-15 17:25:56 UTC
Information was provided with comment #5; changing status.

Do I understand comment #6 correctly that this issue actually a distribution bug? If yes, the ticket could be re-assigned to product 'neon'.
Comment 9 Christoph Feck 2019-02-15 17:26:46 UTC
Ah, 'Slack', not 'Slackware', ignore comment #8.
Comment 10 Ryan 2019-02-15 17:57:02 UTC
I was told:

This is a Chromium/Electron issue under Plasma leading to the icon being scaled and cropped thus the notification indicator gets cut.

You can fix it with by running it prefixed with "XDG_CURRENT_DESKTOP=Unity"

XDG_CURRENT_DESKTOP=Unity slack

More info: https://forum.kde.org/viewtopic.php?t=139804
Comment 11 Konrad Materka 2019-10-14 15:16:39 UTC
I just tested using snap package, it is working correctly. Can you check on your side? Are you still affected?
Comment 12 Bug Janitor Service 2019-10-29 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Bug Janitor Service 2019-11-13 04:33:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!