desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Close to tray doesn't work with xfce4 notification area

Open JSkier21 opened this issue 6 years ago • 7 comments

Hi,

I've noticed this for awhile now; works fine in cinnamon, but xfce I don't get an item in the notification area (I did at some point last year).

Also, after clearing known applications, SN never comes back now (where it did previously).

If I close when the tray option is enabled, SN still runs (can be recalled to the window list by launching again, picks up where I left off).

I'm running ArchLinux, 4.14 for xfce core and components. Running version 3.3.3 of SN.

JSkier21 avatar Mar 15 '20 19:03 JSkier21

Not sure we can do much about that to be honest… The part of our tech stack that handles closing to tray hasn't changed so my first instinct would be to think there's an issue with xfce maybe? Our tech stack is on the road for an upgrade however (no ETA,) maybe that'll help :)

arielsvg avatar Mar 16 '20 10:03 arielsvg

Just checked cinnamon on laptop and desktop, no tray icon when this is enabled either.

JSkier21 avatar Mar 17 '20 13:03 JSkier21

Thanks for sharing more details! We'll definitely have to double-check for linux minimize to tray behavior in general then.

arielsvg avatar Mar 17 '20 14:03 arielsvg

I tried to reproduce this issue in some desktop environments, see below results:

  • GNOME: Working
  • Unity: Working
  • KDE Plasma: Working
  • Xfce: * Not working *

I installed xfce4-statusnotifier-plugin as a workaround.

image

In the meantime, we'll investigate why this is not working on some desktop environments.

Related: https://github.com/electron/electron/issues/21445

johnny243 avatar Mar 17 '20 19:03 johnny243

See my solution:

https://github.com/zulip/zulip-desktop/issues/910#issuecomment-608056150

dotenorio avatar Apr 02 '20 19:04 dotenorio

Thanks @johnny243! @dotenorio Thank you as well for the suggestion, but I'd rather we don't write and maintain some highly specific shell code just to cover for one desktop environment… It would be much better if this could be solved upstream

arielsvg avatar Apr 03 '20 09:04 arielsvg

FYI, this is not an issue for me on XFCE 4.16 + SN 3.8.18, SN is minimized to the notification area when closed.

chaserene avatar Aug 15 '21 10:08 chaserene