Bug 439517

Summary: Filtered folders/files remain visible after renaming
Product: [Applications] dolphin Reporter: popov895 <popov895>
Component: bars: filterAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: anuapalabdhi, elvis.angelaccio, kfm-devel, nate, popov895, rom1dep, tagwerk19
Priority: NOR    
Version: 21.04.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 21.08.1
Attachments: Filter bar

Description popov895 2021-07-05 13:48:58 UTC
Created attachment 139870 [details]
Filter bar

SUMMARY

After renaming folders/files, they remain visible even if they don't match the filtering query.

STEPS TO REPRODUCE

1. Create a folder with the name "zzzzz"
2. Open the filter bar and set the filter query to "zzzzz"
3. Rename folder "zzzzz" to "aaaaa"

OBSERVED RESULT

Folder "aaaaa" is visible.

EXPECTED RESULT

Folder "aaaaa" isn't visible.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20210702
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 1 S-Paliwal 2021-07-05 19:13:34 UTC

*** This bug has been marked as a duplicate of bug 392456 ***
Comment 2 popov895 2021-07-05 19:37:11 UTC
This error isn't related to search results, but to filtering results.
Comment 3 tagwerk19 2021-07-05 21:34:40 UTC
(In reply to popov895 from comment #0)
> 1. Create a folder with the name "zzzzz"
> 2. Open the filter bar and set the filter query to "zzzzz"
> 3. Rename folder "zzzzz" to "aaaaa"
Yes, can reproduce...

It works as it should (the "aaaaa" vanishes) if I "mv zzzzz aaaaa" but if I rename within Dolphin I still see the newly renamed "aaaaa".

It disappears when I refresh (press F5).
Comment 4 Bug Janitor Service 2021-07-26 20:47:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/246
Comment 5 Elvis Angelaccio 2021-08-29 17:36:59 UTC
Fixed with https://invent.kde.org/system/dolphin/-/merge_requests/246
Comment 6 Romain D. 2021-09-04 08:32:05 UTC
I always thought it was a feature to help work with/reorganize large directories