FireTray icon indicating copy to clipboard operation
FireTray copied to clipboard

Intermittently no Tray Icon MINT 18.3

Open IanBlakeley opened this issue 6 years ago • 9 comments

Sometimes it works and then stops, other time the whole day I see no icon. I am pretty sure TB is still running as it restores quickly.

4.15.0-43-generic #46~16.04.1-Ubuntu SMP Fri Dec 7 13:31:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

TB 60.2.1

IanBlakeley avatar Jan 23 '19 02:01 IanBlakeley

Same issue on Linux Mint 19.1

sotux avatar Jan 24 '19 00:01 sotux

Are you using libappindicator or GtkStatusIcon? (Firetray settings -> Windows -> Use appindicator icon)

Ximi1970 avatar Jan 24 '19 19:01 Ximi1970

firetray-settings icon missing firetray

I noticed that when starting TB a gap appears for the FireTray Icon but it does nothing, if I switch desktop themes from light to dark or vice versa then often that will make the Icon appear.

There is no setting to choose appindicator or GtkStatusIcon, I checked and for me appindicator3.1 is installed

IanBlakeley avatar Jan 25 '19 04:01 IanBlakeley

Does the icon also disappear when you choose a custom icon? (Settings -> Mail -> Display custom icon)

Which version of Firetray are you using?

Ximi1970 avatar Jan 25 '19 09:01 Ximi1970

It is same/similar behaviour. I changed to a custom icon, don't get the notifications and after turning the pc back on this morning no icon, toggled through a couple of themes and it came back

IanBlakeley avatar Jan 26 '19 02:01 IanBlakeley

What version of Firetray are you using?

Ximi1970 avatar Jan 26 '19 15:01 Ximi1970

TB has auto updated since I raised the issue, behaviour is still the same, pretty well always toggle the desktop theme and the icon comes back. image image

IanBlakeley avatar Jan 27 '19 06:01 IanBlakeley

I have the same issue on Linux Mint 19.1, FireTray 0.6.5

When I was toggling the "Show tray icon only if a window is hidden" the icon reappeared. Having a quick look in the init of the FiretrayAppIndicator everything looks fine (but I am also not a js / gtk expert) so I added the following dirty hack which is working for me. What I noticed is that I needed a delay between disabling and enabling the icon, that is why I added the "showHideIcon" call in the "startup-done" timer

diff --git a/src/modules/FiretrayHandler.jsm b/src/modules/FiretrayHandler.jsm
index 5ac62d3..0b16042 100644
--- a/src/modules/FiretrayHandler.jsm
+++ b/src/modules/FiretrayHandler.jsm
@@ -170,6 +170,7 @@
     }
     vc.applyHooksAndWatchUninstall();
 
+    firetray.Handler.setIconVisibility(false);
     this.initialized = true;
     return true;
   },
@@ -261,6 +262,7 @@
     firetray.Handler.timers['startup-done'] =
       firetray.Utils.timer(FIRETRAY_DELAY_STARTUP_MILLISECONDS,
         Ci.nsITimer.TYPE_ONE_SHOT, function() {
+    	  firetray.Handler.showHideIcon();
           firetray.Handler.appStarted = true;
           log.info("*** appStarted ***");
 

sk33t3r avatar Feb 03 '19 12:02 sk33t3r

I have a kludge that works for me, not elegant but...

Tried running at start from a cron job but it doesn't run so have saved as a script, run from start up applications with a 90 second delay to ensure everything else is up and working


/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Dark" 
/usr/bin/gsettings set org.cinnamon.theme name "Mint-Y-Dark"
sleep 1s #wait
/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Red" 
/usr/bin/gsettings set org.cinnamon.theme name "Mint-Y-Red"
sleep 1s #wait
/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Dark" 
/usr/bin/gsettings set org.cinnamon.theme name "Mint-Y-Dark"
sleep 1s #wait
/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y" 
/usr/bin/gsettings set org.cinnamon.theme name "Mint-Y"
sleep 1s #wait
/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Linux Mint" 
/usr/bin/gsettings set org.cinnamon.theme name "Linux Mint"
sleep 1s #wait```

IanBlakeley avatar Feb 09 '19 03:02 IanBlakeley