SUMMARY: If you quote the phrase to search for an exact phrase rather than all the words (using the Baloo index). Dolphin allows you to type "Just this" and gives you the hits with the exact match however when you press return Dolphin strips the quotes and returns the hits with all words. STEPS TO REPRODUCE: 1... Make sure Baloo is running and indexing your test folder 2... Create a couple of test files: $ echo "Just this" > letter-to-mary.txt $ echo "Just want to say this" > letter-to-agatha.txt 3... Open Dolphin search, choose "Content" rather than "Filename" and type, with double quotes, "Just this" and check the results. Then press return. OBSERVED RESULT: The search for "Just this", as you are typing, gives you just the letter-to-mary.txt (as it is an exact match) When you press return, you get both the letter-to-mary.txt and letter-to-agatha.txt You will see the search string "as used" displayed the Dolphin title change from '"Just this"' to 'Just this', the results switch from matching the phrase to matching all the words EXPECTED RESULT: If the search string is quoted, it stays quoted. SOFTWARE/OS VERSIONS: Neon Unstable Dolphin: 24.11.70 Plasma: 6.1.90 Frameworks: 6.7.0 Qt: 6.7.2 ADDITIONAL INFORMATION: This affects Baloo searches as Dolphin's internal search does not find quoted phrases (See Bug 494584) Note that single quotes round the phrase are kept, it is only the double quotes that are lost, and also it only fails with "Content" search, not if you have selected "Filename".
Checking back through old .iso's, it seems this behaviour changed between neon-testing-20240102-0250.iso and neon-testing-20240130-0309.iso The latter lets you type "Just this giving you the "letter-to-mary.txt", when you complete the phrase "Just this" the quotes are stripped from the search string. When you then type return you are given both the "letter-to-mary.txt" and the "letter-to-agatha.txt"
I've confirmed this behavior on git-master