Bug 477313

Summary: System Settings: incremental search through shortcuts produces fewer results when relaxing the search
Product: [Applications] systemsettings Reporter: Dan Dascalescu <ddascalescu+kde>
Component: kcm_keysAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, kde, nate
Priority: NOR    
Version: 5.27.8   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.0
Sentry Crash Report:
Attachments: screencast

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.