Windows: not tested macOS: not tested Linux/KDE Plasma ------------------------------ SUMMARY The "Desktop Search" plugin of KRunner yields outdated results for file name based search compared to running "baloosearch" at the terminal. STEPS TO REPRODUCE (does not always work, see “ADDITIONAL INFORMATION”) 1. Configuration 1.1. Enable “Desktop Search” in KRunner. 1.2. Ensure that Baloo indexes ~/Documents 2. Creation of new file. 2.1. Run: “touch ~/Documents/'2031 - User et al. - Baloo is faster.pdf'” 2.2. Test “baloosearch 2031” and searching for “2031” with KRunner. OBSERVED RESULT “baloosearch 2031” instantly shows the newly created file, whereas typing “2031” into KRunner or Application Launcher does not show the file. After a while the file will also be shown in KRunner. After deleting or renaming “~/Documents/2031 - User et al. - Baloo is faster.pdf”, “baloosearch 2031” will instantly stop returning the result, while “KRunner” will still show the now outdated result. EXPECTED RESULT KRunner should update its result as fast as Baloo. SOFTWARE/OS VERSIONS Operating System: openSUSE Leap 15.2 KDE Plasma Version: 5.18.6 KDE Frameworks Version: 5.71.0 Qt Version: 5.12.7 Kernel Version: 5.3.18-lp152.87-default OS Type: 64-bit ADDITIONAL INFORMATION After a reboot the issue went away, but I expect it to return, as it always did so far. In the past I’ve also seen search results being updated after waiting for a long time, without rebooting -- but I can’t be entirely sure anymore. The issue was reproducible over the last 2 years in Application Launcher and KRunner. The conditions under which (temporarily) real-time updates work are not clear.
The issue DID return, as expected.
Does the runner show other matches for the query you typed? If so please make screenshot
Created attachment 141986 [details] Screenshot of discrepancy between baloosearch and Launcher / KRunner. Demonstration of the discrepancy. The entry "2021 Bamer" is curious in particular, since it doesn't show up in "baloosearch" and is an existing file.