Bug 477313 - System Settings: incremental search through shortcuts produces fewer results when relaxing the search
Summary: System Settings: incremental search through shortcuts produces fewer results ...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (show other bugs)
Version: 5.27.8
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-21 05:37 UTC by Dan Dascalescu
Modified: 2023-11-30 21:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0
Sentry Crash Report:


Attachments
screencast (2.52 MB, video/mp4)
2023-11-21 05:37 UTC, Dan Dascalescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2023-11-21 05:37:15 UTC
Created attachment 163336 [details]
screencast

In System Settings -> Workspace -> Shortcuts, searching for a string then backspacing the last few characters may no longer show the shortcuts matching the prefix of that string. This apparently happens because one of the items in the middle panel gets selected, and that filters the results. This is easy to miss by the user (I missed it when recording the screencast several times, and only noticed it when watching the recording)

STEPS TO REPRODUCE
1. Go to System Settings, Shortctus
2. In the "Search..." field, type "f". Notice the many matches.
3. Continue typing "1", for "f1". Notice 3 matches.
4. Continue typing "2", for "f12". Notice one match.
5. Now press backspace. Instead of the 3 matches from step 3, only 2 will be shown.
6. Press backspace once more. Instead of the many matches for "f", only 9 will be shown.

OBSERVED RESULT


EXPECTED RESULT


Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Comment 1 Nate Graham 2023-11-30 21:42:11 UTC
Works for me in Plasma 6 exactly as you're doing it, so I guess some change in Qt probably fixed this.