[GH-ISSUE #107] Double click on playlist should start playback #79

Open
opened 2026-02-28 14:30:27 +03:00 by kerem · 2 comments
Owner

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!

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!
Author
Owner

@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?

<!-- gh-comment-id:901139733 --> @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?
Author
Owner

@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.

<!-- gh-comment-id:901825330 --> @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.
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/psst#79
No description provided.