Bug 498039

Summary: Search doesn't work if you start in a folder whose name has 2 adjacent spaces
Product: [Applications] krusader Reporter: Marian Ciobanu <mciobanu>
Component: searchAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: krusader-bugs-null, toni.asensi
Priority: NOR    
Version First Reported In: 2.8.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Marian Ciobanu 2024-12-29 20:57:56 UTC
SUMMARY
Search doesn't work when the folder you're searching in has 2 adjacent spaces in its name

STEPS TO REPRODUCE
1. Create a folder that has 2 spaces in its name, e.g. "a  b"
2. Add some files to that folder
3. Navigate in Krusader to that folder
4. Search for * in that folder

OBSERVED RESULT
No files are found.

EXPECTED RESULT
Krusader should find the files that were added.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241226
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.6-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630

ADDITIONAL INFORMATION
If you rename the folder so it contains a single space, the files will be found.