Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932743 - media-sound/spotify-1.2.31 does not show tray icon on some WMs
Summary: media-sound/spotify-1.2.31 does not show tray icon on some WMs
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-25 17:35 UTC by satmd
Modified: 2024-05-25 17:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description satmd 2024-05-25 17:35:24 UTC
This bug consists of two related parts

1. xembed

spotify did not show tray icons for me on i3wm, because they do not support xembed anymore on spotify.

But i3 does not support the newer SNI protocol for tray icon support.

This is where snixembed comes into play: It runs in the background and proxies SNI tray icons to xembed.

2. the launcher wrapper script /usr/bin/spotify

The wrapper script rightfully does not detect neither gnome-integration-spotify nor spority-tray on my system.

The latter even not being supported in the gentoo portage tree anymore (supposedly because spotify gained upstream tray icon support).

Thus my system makes a fallback into the last else case of the script.

This `else` branch's text could be updated to a) drop spotify-tray mentioning and b) suggest snixembed as an alternative on unsupported WMs.

The message is out of date, maybe it could even launch snixembed if not running on the current X screen already.


Reproducible: Always

Steps to Reproduce:
1. Install spotify with a global USE=-introspection
2. launch spotify in i3wm
3. try to minimize spotify or try to start it --minimized
Actual Results:  
Spotify launches, but is unable to make use of a tray icon. No error message in the applications output, log or trace log.

Expected Results:  
Being able to launch spotify minimized or close it to tray

Some ideas about a solution have been added to the description field