https://bugs.kde.org/show_bug.cgi?id=382341
David Faure <fa...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://commits.kde.org/kio | |/1449ecf136b5d170cb7c66e62a | |302bb9e9df164b Resolution|--- |FIXED Version Fixed In| |5.37 Status|CONFIRMED |RESOLVED --- Comment #5 from David Faure <fa...@kde.org> --- Git commit 1449ecf136b5d170cb7c66e62a302bb9e9df164b by David Faure. Committed on 22/07/2017 at 06:52. Pushed by dfaure into branch 'master'. Ensure KDirLister updates items whose target URL has changed. This fixes the bug where renaming a desktop icon would not update its target URL, so clicking on it would try to open the old file. The tricky bit in all this is that first KCoreDirLister::slotFileRenamed is called, which updates the item's name (and local path), but then later on desktopnotifier also triggers a full re-listing via KDirNotify::FilesAdded which calls KCoreDirLister::updateDirectory. That's when the dirlister should notice that the target URL of the item has changed. For consistency, also compare local paths, although this commit doesn't actually require it. Unittest improved in plasma-workspace/kioslave/desktop/tests. FIXED-IN: 5.37 M +2 -0 src/core/kfileitem.cpp https://commits.kde.org/kio/1449ecf136b5d170cb7c66e62a302bb9e9df164b -- You are receiving this mail because: You are watching all bug changes.