Bug 459689

Summary: Items missing from search sometimes
Product: [Plasma] krunner Reporter: rbits0
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: alexander.lohnau, natalie_clarius, nate, rbits0
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rbits0 2022-09-26 08:58:58 UTC
SUMMARY

This happens quite often when trying to search for things, but here's one example:  I have 2 menu items for VSCode, one called "Visual Studio Code", with the description "VSCode", and one called "Visual Studio Code - School", with the description "VSCode School". 

If I search for VSCode it will only show VSCode School unless I type out the full title "visual studio code", in which case it will only show VSCode, not VSCode School. If I type "visual studio cod", it will only show VSCode School. If I type "vscode", it will also only show VSCode School. If I type "v" it will show VSCode School, but if I type "vs", Compositor is the only result, but if I type "vsc" it will show VSCode School again.

Also, sometimes randomly after a restart, it will swap, so VSCode is the only thing that shows up unless I type "visual studio code school"

STEPS TO REPRODUCE
1. Have menu items called "Visual Studio Code" and "Visual Studio Code - School"
2. Search for "visual studio cod" - only Visual Studio Code - School will appear
3. Search for "visual studio code" - Only Visual Studio Code will appear

OBSERVED RESULT
Only Visual Studio Code - School appears

EXPECTED RESULT
Visual Studio Code and Visual Studio Code - School should both appear in the search results

SOFTWARE/OS VERSIONS
KDE Neon 5.25
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
Screenshots: https://imgur.com/a/wNldlaH