Bug 486894

Summary: Windows runner does not prioritize exact matches for virtual desktops
Product: [Plasma] krunner Reporter: Kishore Gopalakrishnan <kishore96>
Component: windowsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, natalie_clarius
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kishore Gopalakrishnan 2024-05-11 16:15:50 UTC
SUMMARY
I have 16 virtual desktops. When I type 'desktop 1' in krunner, the windows runner shows desktops 16 through 10 as the top results, resulting in desktop 1 not being offered as a result at all

STEPS TO REPRODUCE
1. Have 16 virtual desktops
2. type 'desktop 1' in krunner

OBSERVED RESULT
Top results are:
Desktop 16
Desktop 15
Desktop 14
Desktop 13
Desktop 12
Desktop 11
Desktop 10

with Desktop 1 not being shown at all

EXPECTED RESULT
The top result should be Desktop 1, which is an exact match


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.6.30-1-lts (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Kishore Gopalakrishnan 2024-06-30 07:58:29 UTC
No longer reproducible with Plasma 6.1.1