[dolphin] [Bug 486784] New: Files deleted from search results area remain in the results but not on disk

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed May 8 16:53:16 BST 2024


https://bugs.kde.org/show_bug.cgi?id=486784

            Bug ID: 486784
           Summary: Files deleted from search results area remain in the
                    results but not on disk
    Classification: Applications
           Product: dolphin
           Version: 24.02.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: search
          Assignee: dolphin-bugs-null at kde.org
          Reporter: fin-w at tutanota.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
The search function in Dolphin seems to operate with an outdated cache if you
delete files from the search area itself.

STEPS TO REPRODUCE
1. Search for files within Dolphin
2. Delete all results
3. Edit search such that it should still match the deleted results, i.e. delete
a character from the the search: note that there should not be any results now,
because they have been deleted. For me Dolphin correctly displays no results at
this point.
4. Re-enter the original search i.e. replace the deleted character

OBSERVED RESULT
The original search results are visible when you search again for the original
search string, even though the files no longer exist on disk. Perhaps because
the search results are cached in some way? I can click a deleted text file in
the results and it opens as a new file in Kate, for example. Exiting the search
will not show the deleted files, i.e. Dolphin's normal window is correctly
displaying only the files that really exist. HOWEVER, entering the search area
again and searching for the same thing will show the previously cached results
again! Searches where the search string is a substring of the original search
string will also sometimes show the deleted results i.e. "delete_" might show
results from an original search "delete_me". Pressing F5 seems to force-refresh
the search and it stops displaying deleted files *for that search*, but
substrings of the original search may still return the deleted files until F5
is pressed on those results too.

EXPECTED RESULT
Search results / results cache update to follow file additions / deletions on
disk.

SOFTWARE/OS VERSIONS
Dolphin 24.02.2
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-arch1-1 (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list