SUMMARY With Previews enabled, Dolphin doesn't show the preview for a file that has been renamed until the view is manually refreshed STEPS TO REPRODUCE 1. Have Previews enabled 2. Navigate to a directory where there's a file you'd like to rename that currently has a content preview as its icon 3. Rename the file that is showing a preview of the file OBSERVED RESULT The icon associated with the file changes from a content preview to a generic media type icon as though I either had previews turned off or there was an issue generating a preview for the new file. This happens in both local and remote (NFS via a mountpoint) operations. It also happens regardless of whether I hit F2 to rename or right click -> Rename. If I reload the file view in some way (either F5 or navigate out and then back into the directory), the preview is regenerated under that new filename, so that is a workaround. EXPECTED RESULT The preview associated with the old filename is now associated with the new filename without needing to reload anything SOFTWARE/OS VERSIONS Operating System: Gentoo 2.17 KDE Plasma Version: 6.2.80 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.1 KDE Plasma/Gear/Frameworks is from git-master, most recent commits as of 2024/12/07 @ ~7:30am EST ADDITIONAL INFORMATION Commit for dolpin is 18ced02b2ec74b92918fc4fce42b5bba5e6b8a20, although I first observed this issue maybe a few weeks ago I think
One additional nuance that I just noticed that may only be tangential to the issue I reported -- previews for video files do end up regenerating without reloading the view if I happen to mouse over the icon. It looks like that may be related to the fact that videos show different frames in the preview. Images don't have the same behavior on hover, at least non-animated images.
I'm not able to reproduce this on Dolphin 24.08.3 or built from today's git-master After I rename a file, the preview briefly changes to a generic icon, but then switches back to the correct file preview I'll keep this open in case someone else is able to reproduce
I can reproduce this, it happens with jpg and png files at least. Have to manually refresh or change folders for the preview to pop back up. dolphin 25.03.70 Operating System: Fedora Linux 41 KDE Plasma Version: 6.2.80 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.1 Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 15,5 GiB of RAM Graphics Processor: AMD Radeon RX 6600
This might be related to https://bugs.kde.org/show_bug.cgi?id=497259
*** This bug has been marked as a duplicate of bug 497555 ***