Bug 494089 - Dolphin forgets your current directory when you "search everywhere" if Baloo is disabled and cache purged
Summary: Dolphin forgets your current directory when you "search everywhere" if Baloo ...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-04 07:10 UTC by tagwerk19
Modified: 2024-11-06 22:46 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tagwerk19 2024-10-04 07:10:30 UTC
SUMMARY:
    If you move to a folder in Dolphin and search within it, and then decide to
    broaden your search to "Your Files", "From Here" switches up to your home
    directory.

    Means if you click on the "From Here" (and not notice the change), you are
    not doing the same search.

STEPS TO REPRODUCE:
1...
    Open Dolphin, move down to a subfolder 

2...
    Type in a search, feel free to mistpye it... You don't find anything.

3...
    Be confused and click on "Your Files" to see if the file is elsewhere. Still
    not find it...

4...    
    Click back on the "From Here"...

OBSERVED RESULT:   
    The "From Here" has been changed to your home directory, you won't be
    going back to your earlier state of searching in the subfolder.
    
EXPECTED RESULT:
    The "From Here" folder shouldn't change; the "Your Files" a separate search.

SOFTWARE/OS VERSIONS:
    Neon Unstable
    Dolphin: 24.11.70
    Plasma: 6.1.90
    Frameworks: 6.7.0
    Qt: 6.7.2

ADDITIONAL INFORMATION:
    This is independent on whether the folder is indexed with Baloo or you are
    doing a filenamesearch, it is also independent of whether you are doing a
    filename or content search.

    Dolphin doesn't really forget, it knows where you were - it has it in the "<" back
    button even if it does not show you.
Comment 1 TraceyC 2024-11-04 23:03:57 UTC
I am not able to reproduce this on git-master with Dolphin compiled from sources
Following the steps outlined, the folder in "From Here" does not change
Comment 2 tagwerk19 2024-11-05 22:39:12 UTC
(In reply to TraceyC from comment #1)
> Following the steps outlined, the folder in "From Here" does not change
Thank you very much for checking...

I've gone back to a couple of clean installs of Neon Testing: neon-testing-20240929-1300.iso and neon-testing-20241029-0033.iso

I do not see the behaviour if I have indexed the folder with Baloo (and Dolphin is querying the Baloo index). If I disable Baloo and purge the index, I do see the described behaviour.

It's admittedly unsettling that I cannot reproduce the issue reliably :-/
Comment 3 TraceyC 2024-11-06 20:58:09 UTC
Thanks for the additional testing. I confirm that I *can* reproduce this on git-master if I first do:
Settings - File Search - unchecked Enabled for File indexing and purged cache at the prompt

Then, if I follow your testing steps, the bug is reproduced.
Comment 4 TraceyC 2024-11-06 20:58:18 UTC
.
Comment 5 tagwerk19 2024-11-06 22:46:54 UTC
(In reply to TraceyC from comment #3)
> Then, if I follow your testing steps, the bug is reproduced.
Thank you again....