I remember having some issue like that, but I'm not sure if this was the fix.
Try unchecking "Show desktop notifications when the song changes" on Spotify's settings (right now it's under the Display section).
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I remember having some issue like that, but I'm not sure if this was the fix.
Try unchecking "Show desktop notifications when the song changes" on Spotify's settings (right now it's under the Display section).
Thanks, that fixed it. I did not know that Spotify has its own settings.
I use Debian 12. I use Spotify. And I don't have this issue.
What I have had is various issues with kernel 6.1.0-21. I'm currently using 6.1.0-18 on my laptop and 6.1.0-15 on my desktop and the issue I had are gone. Because of my experience, I'd suggest trying those kennels.