Bug 392456 - Dolphin does not update search results view after a file is deleted or renamed
Summary: Dolphin does not update search results view after a file is deleted or renamed
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 19.12.0
Platform: Neon Linux
: HI normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 400095 412980 413184 417269 417501 419727 423549 475440 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-28 15:39 UTC by Federico Acosta
Modified: 2023-10-12 02:32 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Acosta 2018-03-28 15:39:17 UTC
Bug, or bad implementation on version: in all the versions.

Hello, when I do a search in Dolphin, and it gives me a list of files. When you erase any of them, it keeps showing up. One would expect the search results to update and stop showing the file that has just been deleted. 

Greetings and excellent work.
Comment 1 David Tejada 2018-04-05 19:23:14 UTC
When I Delete a file listed in a search, it continue appearing the file I have deleted till I close dolphin and open it again
Comment 2 Patrick Silva 2018-04-22 21:22:45 UTC
File disappears from search result when I press F5 after deletion.
Use del or shift+del to delete makes no difference.

Tested on Arch Linux, plasma 5.12.4.
Comment 3 Julian Steinmann 2018-07-03 18:54:15 UTC
The search results do update correctly after refreshing the view with Dolphin 18.04.2, but it'd probably be nice if we would automatically refresh after the deletion. I'll keep this report open, but re-word the title/tags.
Comment 4 Ismael Asensio 2019-08-17 20:54:19 UTC
*** Bug 400095 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2020-02-11 21:39:57 UTC
*** Bug 417269 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2020-02-12 20:27:05 UTC
*** Bug 413184 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2020-02-12 20:27:16 UTC
*** Bug 417501 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2020-04-10 00:01:11 UTC
*** Bug 419727 has been marked as a duplicate of this bug. ***
Comment 9 Patrick Silva 2020-06-27 05:57:03 UTC
*** Bug 423549 has been marked as a duplicate of this bug. ***
Comment 10 Ismael Asensio 2021-01-12 22:36:12 UTC
*** Bug 412980 has been marked as a duplicate of this bug. ***
Comment 11 tagwerk19 2021-01-17 14:29:34 UTC
See also Bug 392793

There is a special case where baloo does not pick up on changes in a folder if a parent folder is renamed
Comment 12 S-Paliwal 2021-07-05 19:13:34 UTC
*** Bug 439517 has been marked as a duplicate of this bug. ***
Comment 13 tagwerk19 2023-01-01 19:06:38 UTC
Dennis Schridde changed:

>       What  |Removed     |Added
> ----------------------------------------------------------------------------
>     See Also|            |https://bugs.kde.org/show_bug.cgi?id=392793,
>             |            |https://bugs.kde.org/show_bug.cgi?id=429006

The issues of:

    Baloo not noticing changes in the filesystem and/or not indexing the changed files

and:

    Dolphin caching results and not showing changes.

are quite distinct. There is a command line test to check whether the issue is a "baloo thing" or not, try:

    balooshow -x the-file-in-question.txt

or

    baloosearch the-file-in-question

and see whether they give you details of the file.

If they do not then need to troubleshoot baloo. If baloosearch works and you don't see what you expect in Dolphin then need to check how dolphin is doing the search (Dolphin uses baloo when it can but this can get complicated) or whether there's an issue with caching.
Comment 14 fanzhuyifan 2023-10-12 02:32:34 UTC
*** Bug 475440 has been marked as a duplicate of this bug. ***