xou816 / spot

Native Spotify client for the GNOME desktop
MIT License
2.29k stars 123 forks source link

Spot hides when closed, no tray icon in top bar #647

Closed perroboc closed 1 year ago

perroboc commented 1 year ago

Describe the bug The app doesn't have a tray / top bar icon. Closing the app hides it from the dock, but since it doesn't have an icon in the bar, the only way to bring it to the front is by opening again.

To Reproduce Steps to reproduce the behavior:

  1. Run the app
  2. Play a song
  3. Close spot
  4. No tray icon

Expected behavior I expect a tray icon to be there, so I can see what's playing, change tracks, or open Spot again.

General information:

Stack trace: If applicable, run the application from a terminal and paste relevant log output.

flatpak run --env=RUST_BACKTRACE=full dev.alextren.Spot

Additional context Add any other context about the problem here.

bragefuglseth commented 1 year ago

Spot uses MPRIS to show what's playing and enable playback control. You should be able to see it in the notifications panel.

XGZepto commented 1 year ago

the standard behaviour after gnome 43 should be self-report as background app?

ZtereoHYPE commented 1 year ago

image spot does indeed appear in the background apps in gnome 44

Caliel666 commented 10 months ago

can this be reopened? in some other setups it does not appear in the tray bar and besides, would be really nice to have a option in the preferences to choose if you want it to run in the background or not, also ask the user when they close for the first time, it's really annoying not being able to control that

bragefuglseth commented 10 months ago

Those other setups should be updated to take advantage of the new freedesktop standards. It’s fully possible for them to replicate a behavior similar to an old tray icon with Spot if they use the xdg-background portal to add entries to the tray. I believe that’s a better long-term solution than trying to make Spot support the current, flawed tray icon method.