Bug 441279

Summary: filename search error message in root owned folder
Product: [Frameworks and Libraries] kio-extras Reporter: zborowska40
Component: defaultAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: kfm-devel, meven29, nate
Priority: NOR    
Version: 21.08.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: error msg in dolphin

Description zborowska40 2021-08-21 09:59:05 UTC
Created attachment 140905 [details]
error msg in dolphin

SUMMARY


STEPS TO REPRODUCE
1. cd /usr/share/icons/
2. press "search" icon in dolphin
3. input "test" in search field
4. crash msg on dolphin screen

OBSERVED RESULT
crash msg on dolphin screen

EXPECTED RESULT
A liste with matching filenames

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Comment 1 Méven Car 2021-08-21 10:42:33 UTC
What you report is not a crash, but rather an unhelpful error message.

/usr/share/icons/ is a root owned folder that should be the main cause of this error.

filesearch uses KCoreDirLister behind, this is most likely a bug there.
Comment 2 zborowska40 2021-08-21 11:10:56 UTC
But why is it not possible for dolphin to search in a root owned directory? 
Rights for listing the files are apparently available
Comment 3 Méven Car 2021-08-23 07:35:01 UTC
(In reply to zborowska40 from comment #2)
> But why is it not possible for dolphin to search in a root owned directory? 
> Rights for listing the files are apparently available

I didn't say it was not possible.
Just that this context may trigger bugs in our implementation for this uncommon and hence little-tested usecase.