Bug 497234 - Search asterisk and question mark finds no files
Summary: Search asterisk and question mark finds no files
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: search (other bugs)
Version First Reported In: 24.07.80
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 428950 444896 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-12-09 11:49 UTC by grofaty
Modified: 2026-05-19 08:14 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grofaty 2024-12-09 11:49:23 UTC
SUMMARY
Searching files with asterisk or question marks in Windows returns no files.

STEPS TO REPRODUCE
1. I have two files AAA-BBB.txt and AAA_BBB.txt that I want to get search finds them.
2. CTRL+F and in search box type in AAA*BBB or AAA?BBB

OBSERVED RESULT
No files are listed.

EXPECTED RESULT
I expect both files AAA-BBB.txt and AAA_BBB.txt to be listed in both search cases.

SOFTWARE/OS VERSIONS
Windows: 11

ADDITIONAL INFORMATION
I actually use 24.07.70, but this selection is not available in bug reporting selection.

I also tested on today's master latest Dolphin version dolphin-master-4933-windows-cl-msvc2022-x86_64.exe but this version is even more broken, search does not wok at all. It produces file protocol error, that I have already reported few months ago: https://bugs.kde.org/show_bug.cgi?id=492453
Comment 1 Akseli Lahtinen 2024-12-16 09:39:49 UTC
Can confirm the issue.

However for me, when I search in parent folder of the folder where those files reside in, it works.
But if I search directly from home folder it doesnt work.

dolphin 25.03.70
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 2 aristsakas 2025-12-25 11:08:15 UTC
*** Bug 428950 has been marked as a duplicate of this bug. ***
Comment 3 aristsakas 2025-12-25 11:08:42 UTC
*** Bug 444896 has been marked as a duplicate of this bug. ***
Comment 4 aristsakas 2026-01-19 15:07:37 UTC
(In reply to Akseli Lahtinen from comment #1)
> Can confirm the issue.
> 
> However for me, when I search in parent folder of the folder where those
> files reside in, it works.
> But if I search directly from home folder it doesnt work.
> 
> dolphin 25.03.70
> Operating System: Fedora Linux 41
> KDE Plasma Version: 6.2.80
> KDE Frameworks Version: 6.10.0
> Qt Version: 6.8.1
> Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
> Memory: 15,5 GiB of RAM
> Graphics Processor: AMD Radeon RX 6600

The bug report is about the Windows: Version. I deleted some duplicates i had found because i was confused
Comment 5 Akseli Lahtinen 2026-01-20 13:56:17 UTC
(In reply to aristsakas from comment #4)
> (In reply to Akseli Lahtinen from comment #1)
> > Can confirm the issue.
> > 
> > However for me, when I search in parent folder of the folder where those
> > files reside in, it works.
> > But if I search directly from home folder it doesnt work.
> > 
> > dolphin 25.03.70
> > Operating System: Fedora Linux 41
> > KDE Plasma Version: 6.2.80
> > KDE Frameworks Version: 6.10.0
> > Qt Version: 6.8.1
> > Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit)
> > Graphics Platform: Wayland
> > Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
> > Memory: 15,5 GiB of RAM
> > Graphics Processor: AMD Radeon RX 6600
> 
> The bug report is about the Windows: Version. I deleted some duplicates i
> had found because i was confused

The components are shared in this case so the bug is in both windows and linux versions
Comment 6 aristsakas 2026-01-20 14:04:51 UTC
*** Bug 428950 has been marked as a duplicate of this bug. ***
Comment 7 aristsakas 2026-01-20 14:04:58 UTC
*** Bug 444896 has been marked as a duplicate of this bug. ***
Comment 8 Akseli Lahtinen 2026-05-11 13:39:42 UTC
This seems to now work, I think this bug can be closed. The search feature got a complete overhaul.
Comment 9 Tyson Tan 2026-05-14 00:54:07 UTC
Thanks!
Comment 10 tagwerk19 2026-05-14 17:24:51 UTC
(In reply to Akseli Lahtinen from comment #8)
> This seems to now work, I think this bug can be closed. The search feature
> got a complete overhaul.
You probably need to double check this in your environment.

Dolphin's internal "there and then" search obeys regex's. Heads up though, a regex is not the simple "glob" expansion you might be looking for if you are trying search asterisks and question marks.

If you're searching for indexed files (you've indexed folders with Baloo), then the search is for words and not regex's or globs.

The UI overhaul is a great improvement but there are still wrinkles...
Comment 11 Akseli Lahtinen 2026-05-19 08:14:23 UTC
(In reply to tagwerk19 from comment #10)
> (In reply to Akseli Lahtinen from comment #8)
> > This seems to now work, I think this bug can be closed. The search feature
> > got a complete overhaul.
> You probably need to double check this in your environment.
> 
> Dolphin's internal "there and then" search obeys regex's. Heads up though, a
> regex is not the simple "glob" expansion you might be looking for if you are
> trying search asterisks and question marks.
> 
> If you're searching for indexed files (you've indexed folders with Baloo),
> then the search is for words and not regex's or globs.
> 
> The UI overhaul is a great improvement but there are still wrinkles...

I can find both files as depicted in the original bug report.

Though instead of using AAA*BBB i need to use AAA.*BBB or AAA.?BBB