Bug 439517 - Filtered folders/files remain visible after renaming
Summary: Filtered folders/files remain visible after renaming
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: bars: filter (show other bugs)
Version: 21.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-05 13:48 UTC by popov895
Modified: 2021-09-04 08:32 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 21.08.1


Attachments
Filter bar (52.82 KB, image/jpeg)
2021-07-05 13:48 UTC, popov895
Details

Note You need to log in before you can comment on or make changes to this bug.
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