[GH-ISSUE #203] Search in playlist has some difficulties #1039

Closed
opened 2026-03-14 13:08:53 +03:00 by kerem · 4 comments
Owner

Originally created by @Icelk on GitHub (May 28, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/203

Describe the bug
When you search in a playlist (to e.g. cue songs), the filtered list of songs don't persist.

To Reproduce
Search in a playlist.

Expected behavior
When searching, Enter should return the focus to the playlist instead of playing the hovered song. To clear the search, press / again and remove the search text.

Environment

  • OS: Arch
  • Application version: 0.14.0
  • Application features: -F notify,image,lyric-finder,pulseaudio-backend,streaming,media-control --no-default-features

Thanks for the awesome app!

Originally created by @Icelk on GitHub (May 28, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/203 **Describe the bug** When you search in a playlist (to e.g. cue songs), the filtered list of songs don't persist. **To Reproduce** Search in a playlist. **Expected behavior** When searching, Enter should return the focus to the playlist instead of playing the hovered song. To clear the search, press `/` again and remove the search text. **Environment** - OS: Arch - Application version: 0.14.0 - Application features: `-F notify,image,lyric-finder,pulseaudio-backend,streaming,media-control --no-default-features` Thanks for the awesome app!
kerem 2026-03-14 13:08:53 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (May 28, 2023):

This is intended behavior. Personally, I don't like the idea of "enter should return the focus to the playlist ... press / again and remove the search text".

The search popup only captures character inputs, so you can still use up, down, ctrl-{char}, etc to select filtered items in the playlist.

<!-- gh-comment-id:1566230535 --> @aome510 commented on GitHub (May 28, 2023): This is **intended behavior**. Personally, I don't like the idea of *"enter should return the focus to the playlist ... press / again and remove the search text"*. The search popup only captures character inputs, so you can still use `up`, `down`, `ctrl-{char}`, etc to select filtered items in the playlist.
Author
Owner

@Icelk commented on GitHub (May 30, 2023):

I noticed that too. How do you recommend doing things when wanting to queue multiple songs with the same search term? Because after entering the song's context menu, the search is reset.

<!-- gh-comment-id:1568576264 --> @Icelk commented on GitHub (May 30, 2023): I noticed that too. How do you recommend doing things when wanting to queue multiple songs with the same search term? Because after entering the song's context menu, the search is reset.
Author
Owner

@aome510 commented on GitHub (May 30, 2023):

Because after entering the song's context menu, the search is reset.

For add to queue, there is a command to do that: AddSelectedItemToQueue, so you don't need to go through the track menu. The command is binded by default to Z, which doesn't work well with search, so you'll need to bind a different key to the command. For example,

[[keymaps]]
command = "AddSelectedItemToQueue"
key_sequence = "C-z" 

Then you can use ctrl-z to add an item to queue while keeping the search popup open.

<!-- gh-comment-id:1568688935 --> @aome510 commented on GitHub (May 30, 2023): > Because after entering the song's context menu, the search is reset. For add to queue, there is a command to do that: `AddSelectedItemToQueue`, so you don't need to go through the track menu. The command is binded by default to `Z`, which doesn't work well with search, so you'll need to bind a different key to the command. For example, ```toml [[keymaps]] command = "AddSelectedItemToQueue" key_sequence = "C-z" ``` Then you can use `ctrl-z` to add an item to queue while keeping the search popup open.
Author
Owner

@Icelk commented on GitHub (May 30, 2023):

Thank you!

<!-- gh-comment-id:1568768838 --> @Icelk commented on GitHub (May 30, 2023): Thank you!
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#1039
No description provided.