Bug 475769 - Folders in search results in the details view can not be expanded / are shown as expandable
Summary: Folders in search results in the details view can not be expanded / are shown...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 24.02.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-18 00:47 UTC by Fabian Arndt
Modified: 2025-01-23 11:53 UTC (History)
2 users (show)

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


Attachments
The folder can not be expanded (by Greg Lepore) (3.18 MB, application/ogg)
2023-10-18 00:47 UTC, Fabian Arndt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Arndt 2023-10-18 00:47:49 UTC
Created attachment 162394 [details]
The folder can not be expanded (by Greg Lepore)

SUMMARY

The search results of the find bar show expandable folders, but they can't be expanded.


STEPS TO REPRODUCE
1. Open details view
2. Search in a populated folder, so that the results contain folders
3. Expand the folder


OBSERVED RESULT

The folder can not be expanded.


EXPECTED RESULT

The folder should be expandable or not give me hope that I can expand it.


SOFTWARE/OS VERSIONS
GNU/Linux: Manjaro Uranos 23.0.4
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION

The attachment is from Greg Lepore of Bug 430177.
I just opened a bug report, as I can not find any and it should be documented.
Comment 1 Fabian Arndt 2023-11-09 14:58:31 UTC
Setting status to confirmed, as I can confirm what Greg has posted.
Comment 2 Fabian Arndt 2024-04-28 15:37:30 UTC
I retested it on KDE Plasma 6.0.4 / Dolphin 24.02.2 and the bug is still present.
--
I have analysed the issue further and made some observations.
It happens, if all files of the folder are included in the search results.

Imagine this structure:
> txt
> > Text File.txt
> > Text File (1).txt

Now search for "txt"
> txt
> Text File.txt
> Text File (1).txt

You can not expand the folder. Adding some other file into the folder (eg. "HTML File.html") makes it expandable:
> txt
> > Text File.txt
> > Text File (1).txt
> > HTML File.html
> Text File.txt
> Text File (1).txt

---

BUT:
If you name at least one file of the matches with a leading number, it does not work!

> txt
> > 1a.txt
> > abc.txt

Search for txt:
> txt
> 1a.txt
> abc.txt

Adding the "HTML File.html" into the folder and search again:
> txt
> 1a.txt
> abc.txt

The folder is not expandable. It works with "a1.txt" though.
The ordering doesn't seem to have an influence.
Comment 3 postix 2025-01-23 11:53:16 UTC
The attachment plays an audio (song) for me.