Bug 441279 - filename search error message in root owned folder
Summary: filename search error message in root owned folder
Status: CONFIRMED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: 21.08.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-21 09:59 UTC by zborowska40
Modified: 2021-08-23 19:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
error msg in dolphin (24.68 KB, image/png)
2021-08-21 09:59 UTC, zborowska40
Details

Note You need to log in before you can comment on or make changes to this bug.
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.