select.lua support non-fuzzy filtering, and option to preserve initial sorting

Open
#18,794 7 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
lua
Domain
cli

Research direction

The request identifies select.lua and the history menu as the affected areas. Read the menu's filtering and sorting behavior first, then check how existing menu tests cover searches. Done means strict filtering can be selected and an option preserves the initial order when results are filtered; confirm that “kaa” matches “KAAmelott” but not “KAmiinA”.

Written by the indexing model from the issue text.

Description

meta:feature-request
Expected behavior of the wanted feature

The current menu searching behavior is quite unpleasant to use for me. Filtering menu entries break their initial sort order. This is particularly unconvenient for the history menu, where we generally want to see latest entries first. Also we should be able to deactivate the fuzzy find mode, and use a strict mode, where "kaa" should match "KAAmelott" and not "KAmiinA".

History menu without filter:

Image

History menu filtering "kaamelott":

Image
Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

Dominant language
C
Stars
38.2k
Forks
3.7k
Avg merge
1d 13h
Merged PRs (30d)
76

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mpv-player/mpv

All issues in mpv-player/mpv

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.