[GH-ISSUE #734] Mouse movement causes music playback to rewind unexpectedly #1370

Open
opened 2026-03-14 14:33:44 +03:00 by kerem · 1 comment
Owner

Originally created by @Danialsamadi on GitHub (May 24, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/734

Describe the bug
When I hover my mouse over the interface and move it around, the currently playing music unexpectedly rewinds or goes backward.


To Reproduce
Steps to reproduce the bug:

  1. Launch spotify-player
  2. Start playing any song
  3. Hover the mouse over the application window
  4. Move the mouse around
  5. Observe that the playback goes backward (rewinds)

Expected behaviour
The mouse movement should not affect music playback. I expect the song to continue playing normally regardless of mouse interaction.


Log and backtrace

spotify-player-25-05-24-15-01.log


Screenshots

https://github.com/user-attachments/assets/e1fe607b-9e75-40db-85c4-781524be3bf5


Environment

  • OS: macOS (Sequoia 15.5)
  • Application version: v0.20.5
  • Application features: just Notify

Additional context
This bug makes the application difficult to use with a mouse, especially while browsing or navigating the UI. The issue seems related to mouse input being incorrectly interpreted as playback control.

Originally created by @Danialsamadi on GitHub (May 24, 2025). Original GitHub issue: https://github.com/aome510/spotify-player/issues/734 **Describe the bug** When I hover my mouse over the interface and move it around, the currently playing music unexpectedly rewinds or goes backward. --- **To Reproduce** Steps to reproduce the bug: 1. Launch `spotify-player` 2. Start playing any song 3. Hover the mouse over the application window 4. Move the mouse around 5. Observe that the playback goes backward (rewinds) --- **Expected behaviour** The mouse movement should not affect music playback. I expect the song to continue playing normally regardless of mouse interaction. --- **Log and backtrace** [spotify-player-25-05-24-15-01.log](https://github.com/user-attachments/files/20428086/spotify-player-25-05-24-15-01.log) --- **Screenshots** https://github.com/user-attachments/assets/e1fe607b-9e75-40db-85c4-781524be3bf5 --- **Environment** - OS: macOS (Sequoia 15.5) - Application version: v0.20.5 - Application features: just Notify --- **Additional context** This bug makes the application difficult to use with a mouse, especially while browsing or navigating the UI. The issue seems related to mouse input being incorrectly interpreted as playback control.
Author
Owner

@aome510 commented on GitHub (Jun 22, 2025):

This is very interesting and I don't know why it happened. Maybe you can clone the repo and run the app with additional loggings in this function: github.com/aome510/spotify-player@7247aa6495/spotify_player/src/event/mod.rs (L34-L59)

to see what kind of terminal events are listened

<!-- gh-comment-id:2994412598 --> @aome510 commented on GitHub (Jun 22, 2025): This is very interesting and I don't know why it happened. Maybe you can clone the repo and run the app with additional loggings in this function: https://github.com/aome510/spotify-player/blob/7247aa64958ae8ba43edfe13ef983b18e9d52fd9/spotify_player/src/event/mod.rs#L34-L59 to see what kind of terminal events are listened
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#1370
No description provided.