Bug 496536

Summary: Tab icon is not updated after re-mounting a removable device
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: akselmo, kfm-devel
Priority: NOR    
Version: 24.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2024-11-21 12:32:33 UTC
STEPS TO REPRODUCE
1. open a usb flash drive in a new tab
2. click on the tab where the device is mounted
3. close Dolphin
4. unmount the device via Disks & Devices applet in the system tray
5. unplug and re-plug the device
6. open Dolphin - the tab of the re-plugged device is focused, but it has an icon with a question mark
7. click on the device in the Places panel, so it is mounted and its contents are shown in the current tab

OBSERVED RESULT
the tab icon is still the one with a question mark. After restarting Dolphin, I see a folder icon, as expected.

EXPECTED RESULT
the tab icon is correct (folder icon) immediately after mounting the device in the last step

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Graphics Platform: Wayland
Comment 1 Akseli Lahtinen 2024-11-22 11:31:29 UTC
Can confirm. The behavior seems otherwise normal, only the icon wont update.

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.0
Kernel Version: 6.11.8-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