mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[GH-ISSUE #107] Double click on playlist should start playback #79
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#79
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 @jforberg on GitHub (Aug 18, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/107
It would be nice if you could double-click on a playlist to make it play from the first track automatically, or random track if shuffle is on. This would match the behaviour of the official client.
I looked through the code but it wasn't immediately obvious how to implement it. I couldn't find any concept of double-clicks supported by the UI toolkit.
BTW what a great application, I love it!
@jpochyla commented on GitHub (Aug 18, 2021):
I'm not sure whether we shouldn't support this for all playable links in the app, not just playlists in the sidebar: artists, albums, playlists (in the search results i.e.), but for these double-click would need to delay the single-click action, and we don't want that. What about a unified "Play" item in the right-click menu, on the first position?
@steffenhaug commented on GitHub (Aug 19, 2021):
The behavior of the official client is that a single click on the playlist navigates to it, and a double click navigates to it and also starts playback, so unless there is a limitation in the UI framework it shouldn't be necessary to delay navigating to the playlist until the second click, since that happens regardless.
This doesn't seem super straight-forward to do right now though. Would be nice if the library had some kind of "on-click with optional double-click" with two separate callbacks, but maybe that's a too niche thing to want to do.