[dolphin] [Bug 494584] Dolphin search for a quoted phrase gives no hits
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sun Oct 13 15:09:19 BST 2024
https://bugs.kde.org/show_bug.cgi?id=494584
--- Comment #2 from tagwerk19 at innerjoin.org ---
(In reply to Jin Liu from comment #1)
> Can confirm.
Thank you!
> ... The search string is treated as a regular expression, so quote
> only matches the quote character ...
I think a regex is beyond what people would expect. Would you ask people to
type "Letter.*Mary" in order to find "letter-to-mary.txt"? Or explain why a
search for "Mar*" found "Maggie"?
Of course there can/should be a flag to say "treat this is as a regex" for the
Computer Science students ;-) but the normal expectation would be that you give
a collection of terms (as you might in Google) and the back-end does it's best
to satisfy your request. If you've quoted a phrase, then the search should be
for that phrase.
> ... So we need a decision on to what extent their grammars should match ...
To start with, if you are putting work into the code, don't add to the
divergence. Then, where possible, follow the principle of "fewest surprises".
The behaviour with search terms and quotes is a very good example.
> ... For reference, the file manager in both GNOME (Nautilus) and COSMIC (COSMIC Files) don't support quotes ...
I know this was an aside at the bottom of the post - but the fact that we don't
it because Gnome doesn't do it is a dodgy argument 8-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list