Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing tracks produces "missed" notifications using the spotify flatpak #202

Open
drzoidberg opened this issue May 15, 2022 · 4 comments
Labels

Comments

@drzoidberg
Copy link

Environment:

  • GNOME 42 on Fedora 36, but I had the same issue in Fedora 35
  • Using wayland, but the bug persists in X.org
  • The flatpak version of spotify

Current behaviour:

The GNOME media player widget in the top bar that shows the album artwork and song, and media controls shows the song info correctly, but no notification box is shown in the desktop and dissapears when a new song starts playing. The notification is generated but it's automatically processed as a "missed notification", showing the bullet point sign next the date (I believe it's how GNOME treats missed notifications. I don't know the correct term). All other application notifications work as expected

Steps to reproduce the bug:

  • Launch spotify
  • Change a song manually, or leave it the current song to play until it ends and automatically play the next

Things I tried without luck:

  • I checked the GNOME configuration notifications and everything is activated for spotify. I also tried to deactivate/log out/log in/run spotify on each option
  • I tried to disable/enable spotify notifications in the very spotify app. It stops generating notifications and when I enable the option again it generates the missed notifications
  • I tried running spotify on wayland
  • I tried running spotify on x.org

Other:

  • I tried to generate a low urgency notification via the notify-send -u low 'sample notification' command and it replicates the exact behaviour I'm experiencing

Any help would be appreciated :)

@drzoidberg
Copy link
Author

Since Spotify is proprietary I don't think there is anything we can really do about this.

Then why that kind of notification works on the snap version? (I really don't know how snap or flatpak wraps an aplication)

@Erick555
Copy link
Contributor

Under KDE Plasma session spotify flatpak notifications are shown for every song.

@imran-iq
Copy link

I noticed in the recent update that this behaviour started for me (annoying notification sound on track change)

    Commit: 3577c3704229f8c744560ed541cb1135430d4e453565d34b908c83735097e198
    Parent: 51df931abc1fca310d736d61acd178f063d98f63d5b4a769c2c15eff5234c8c3
   Subject: Update libnotify-0.7.12.tar.xz to 0.8.0 (9ea6776d)
      Date: 2022-07-15 04:45:07 +0000

I fixed it by rollong back to the previous commit
doas flatpak update --commit=51df931abc1fca310d736d61acd178f063d98f63d5b4a769c2c15eff5234c8c3 com.spotify.Client

@hoshsadiq
Copy link

Not sure if this is related, but I notice the following log when I run journalctl -xe -f:

spotify[2038677]: App Name is not available when using Portal Notifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants