Bug 393122

Summary: Folder icon is not immediately updated when a Samba share is disabled
Product: [Frameworks and Libraries] frameworks-kio Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: David Faure <faure>
Status: CONFIRMED ---    
Severity: normal CC: alexkde, kde, kdelibs-bugs, nate, postix
Priority: NOR    
Version: 5.246.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Patrick Silva 2018-04-14 02:05:11 UTC
After a samba share creation, a smaller icon indicating shared folder overlaps the folder icon. This smaller icon only appears when I press F5 after sharing creation.

Reproducible on Arch and neon dev unstable
open dolphin, select a folder, press alt+enter to open its properties dialog
select "share" tab, check "share with samba (ms windows)", click "ok" button
no change is noticeable in folder icon
press F5, now a smaller icon indicating shared folder overlaps the folder icon
Comment 1 Kai Uwe Broulik 2018-04-16 05:59:28 UTC
Re-assigning to KIO, that overlay comes from KFileItem and KDirWatch probably doesn't signal/watch a change there.
Comment 2 Julian Steinmann 2018-04-26 08:59:14 UTC
*** Bug 324362 has been marked as a duplicate of this bug. ***
Comment 3 Patrick Silva 2020-01-18 12:46:56 UTC
folder icon also is not immediatelly updated after we disable a Samba share by unchecking "Share this folder with other computers on the local network" in "Share" tab of folder Properties window.

1. open Dolphin
2. right click on any folder and select "Properties"
3. select "Share" tab, check or uncheck "Share this folder with other computers on the local network", click on "Ok" button

No change is noticeable in folder icon until we press F5.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Comment 4 Patrick Silva 2022-08-13 19:20:30 UTC
Currently the folder icon is immediately updated when a share is created, but it's not when a share is disabled.

Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Graphics Platform: Wayland