https://bugs.kde.org/show_bug.cgi?id=442431
Bug ID: 442431 Summary: KRunner Desktop Search results out of sync with "baloosearch". Product: krunner Version: unspecified Platform: openSUSE RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: filesearch Assignee: baloo-bugs-n...@kde.org Reporter: kdb.de...@gmail.com CC: alexander.loh...@gmx.de, plasma-b...@kde.org Target Milestone: --- 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. -- You are receiving this mail because: You are watching all bug changes.