mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #387] ResumePause doesn't always register. Play/Pause Icon is confused. #206
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#206
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MrGibus on GitHub (Mar 4, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/387
Describe the bug
The Icon may show play icon while it is actually paused (and vice versa) pressing space will correct the icon but not play.
To Reproduce
Run program -> pause shown
Press space -> music plays, icon flips from paused to play to pause again.
Press space -> icon flips to play
press space -> music pauses, icon flips from play to pause and the play again.
Press space -> icon flips to pause.
If we navigate to another song after loading the program and play that it will play initially but the icons still get confused when resuming.
Expected behaviour
Run program -> pause shown
Press space -> music plays, icon flips from paused to play
press space -> music pauses, icon flips from play to pause
Log and backtrace
The following log snippet looks related.
Screenshots
If applicable, add screenshots to help explain your problem.
Can add on request.
Environment
Additional context
Following may be relevant:
@aome510 commented on GitHub (Mar 4, 2024):
@MrGibus thanks for reporting. Should be fixed by https://github.com/aome510/spotify-player/pull/388. Can you checkout and try that patch?
@MrGibus commented on GitHub (Mar 5, 2024):
Wow that was quick.
Tried the patch and it's working as expected.
Thanks. :)
ratatui#663ratatui#1601