Summary: | Can't find file which starts with "+" | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | dagobertram |
Component: | search | Assignee: | yushuoqi <yusq77> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | akselmo, bugseforuns, dagobertram, justin.zobel, kdedev, tagwerk19, yusq77 |
Priority: | NOR | ||
Version First Reported In: | 22.08.1 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
dagobertram
2019-03-10 12:32:25 UTC
I can confirm on my system. Operating System: Arch Linux KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.57.0 Qt Version: 5.12.3 Confirmed on Dolphin from git master. Still valid on git master. I think this is normal. The search box uses regular expression search. If you want to search for text +, you can use the following format \+ I think this is normal. The search box uses regular expression search. If you want to search for text +, you can use the following format \+ I'm reopening this at Justin's request. While the behavior might be technically correct and working as designed, this is not a great UX. A regular user has no way of knowing about this limitation. Also, a regular user has the expectation that their search term will be treated as-is (aka as plain text). Other applications such as Kate, VS Code and Obsidian Notes have this behavior. Searches will be treated as plain text unless you enable regex mode. As such, we can make this report about improving the search UX to better align with user expectations and provide some flexibility with plain text vs regex searches. cc'ing Aks who was discussing this in Matrix A possibly relevant merge request was started @ https://invent.kde.org/network/kio-extras/-/merge_requests/453 The pr has been merged, so this issue can be closed. |