ivelkov/teams-for-linux

Tray icon problem

Opened this issue · 6 comments

Hello,
tray icon is not working properly on my Debian Sid/Kde 5.8 desktop.
First I was testing your package in nspawn container (debootstrap install of Debian Stretch).
Icon is ok in tray - it is proper icon, it has tooltip, when i click left button it shows/hide window

screenshot_20170511_121851

Then i installed your package in main system (because application running in container cannot contact notification daemon) , but there is wrong icon, tooltip doesn't show (i can live with both this problems), but clicking doesn't show/hide window - that's problem

screenshot_20170511_122150

What should be wrong? How to debug?
Right clicking icon works in both cases

Libor

jdvr commented

Hello @Elkropac its seems a problem of icon size, I have forked the repo and change icon size to 24x24 and now I can see it.

Anyway click on icon doesn't work.
I have created another issue #12 and a PR #13 to solve this adding a menu option.

Hi, just found out, that loging to localhost over ssh and than launching teams fixes icon display, also hiding of program with left click and keeps notification working

It also "fixes" problem #10 :)

Can be fixed by running

XDG_CURRENT_DESKTOP=Unity  teams

or in desktop file itself

diff -ur a/teams.desktop b/teams.desktop
--- a/teams.desktop     2018-01-16 08:41:14.379922163 +0100
+++ b/teams.desktop     2018-01-16 08:40:30.221600642 +0100
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=Microsoft Teams for Linux
 Comment=Unofficial client for Microsoft Teams for Linux
-Exec="/opt/teams-for-linux/teams" %U
+Exec=XDG_CURRENT_DESKTOP=Unity "/opt/teams-for-linux/teams" %U
 Terminal=false
 Type=Application
 Icon=teams

Check this fork and star it! https://github.com/IsmaelMartinez/teams-for-linux It is currently supported!
Maybe these issue is not there, tray icon is working fine on Ubuntu.

Thanks, this version is ok