Bug 497259 - The thumbnails inside of icons of folders don't update when the file of the thumbnail is trashed/deleted
Summary: The thumbnails inside of icons of folders don't update when the file of the t...
Status: CONFIRMED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (other bugs)
Version First Reported In: 24.08.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: privacy
Depends on:
Blocks:
 
Reported: 2024-12-10 03:37 UTC by Fernando Marcelino Muniz
Modified: 2026-04-17 01:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
I've only tested this issue on /home subfolders, but it might happen with all folders. (2.90 MB, video/x-matroska)
2024-12-10 03:37 UTC, Fernando Marcelino Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Marcelino Muniz 2024-12-10 03:37:15 UTC
Created attachment 176478 [details]
I've only tested this issue on /home subfolders, but it might happen with all folders.

It's quite complicated to explain with words, so see the attachment.
Comment 1 Fernando Marcelino Muniz 2024-12-10 03:39:36 UTC
Notice how you can also see the same file on the Desktop folder, so moving files also has this issue.
Comment 2 Akseli Lahtinen 2024-12-13 14:05:16 UTC
Can confirm, it seems to happen only with images. Couldn't get it to happen with a video file however.

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.0
Kernel Version: 6.11.11-300.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
Comment 3 Fernando Marcelino Muniz 2024-12-13 20:52:41 UTC
I can do this with a video, but it's likely because of "ffmpegthumbs".
Comment 4 Fernando Marcelino Muniz 2025-07-20 22:08:31 UTC
I've noticed that when dragging items from the Trash folder into another tab, or to one of the folders under "Places", the item still appear inside the Trash until F5 is pressed.
Comment 5 Akseli Lahtinen 2025-08-28 12:01:10 UTC
I am unable to reproduce this anymore, does it still happen to you?

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.1
Kernel Version: 6.15.10-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Comment 6 Fernando Marcelino Muniz 2025-08-28 17:57:27 UTC
Had a tab in /home and a second one in /documents . I moved an screenshot to /documents it updated it's preview on /home , but it didn't update when I deleted it. Exactly as shown in the attachment.

Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 7 Akseli Lahtinen 2026-01-07 11:51:57 UTC
(In reply to Fernando M. Muniz from comment #6)
> Had a tab in /home and a second one in /documents . I moved an screenshot to
> /documents it updated it's preview on /home , but it didn't update when I
> deleted it. Exactly as shown in the attachment.
> 
> Operating System: Arch Linux 
> KDE Plasma Version: 6.4.4
> KDE Frameworks Version: 6.17.0
> Qt Version: 6.9.1
> Kernel Version: 6.16.3-arch1-1 (64-bit)
> Graphics Platform: Wayland
> Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
> Memory: 9 GB of RAM (8.1 GB usable)
> Graphics Processor 1: NVIDIA GeForce GTX 1650
> Graphics Processor 2: Intel® Iris® Xe Graphics
> Manufacturer: LENOVO
> Product Name: 82MG
> System Version: IdeaPad Gaming 3 15IHU6

Can confirm

Operating System: KDE Linux 2026-01-06
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Comment 8 Bug Janitor Service 2026-01-08 14:46:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/2106
Comment 9 Akseli Lahtinen 2026-01-09 15:59:56 UTC
Git commit bddc77cd03e2e3c388a7c0ee77131c56ce2699bc by Akseli Lahtinen.
Committed on 09/01/2026 at 11:05.
Pushed by akselmo into branch 'master'.

KCoreDirLister: Add parentDirs of dirs that have not been deleted to pendingUpdates list

We never told the pendingUpdates list about the parent folders of
files/folders that got deleted. This caused situations where for example
directory thumbnails would show old items, since it never was told to
update.

M  +7    -0    src/core/kcoredirlister.cpp

https://invent.kde.org/frameworks/kio/-/commit/bddc77cd03e2e3c388a7c0ee77131c56ce2699bc
Comment 10 Fernando Marcelino Muniz 2026-02-28 06:12:53 UTC
1. Take a screenshot and save on Desktop
2. Open Dolphin and be on /home
3. Delete the screenshot on the Desktop area (through the Desktop itself, not Dolphin)
4. Look at Dolphin's thumbnail of the desktop on /home

OBSERVED RESULT
Dolphin doesn't update the Desktop thumbnail, the thumbnail of the screenshot that is no longer there is still visible.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.6.1
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.19.3-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 11 Fernando Marcelino Muniz 2026-02-28 11:49:57 UTC
I wonder if it has something to do with Bug 501016
Comment 12 Nate Graham 2026-03-02 21:36:51 UTC
I can also still reproduce the issue; marking as CONFIRMED again.

It's easy to *think* the issue has been fixed since the thumbnails on the folder look like they get regenerated on refresh and may be different from what they were before.