When a file or directory is shared via Samba it gets an overlay icon denoting this. However, when I remove the share, the icon is not removed until I refresh the view. Reproducible: Always Steps to Reproduce: 1. Have a folder shared via Samba 2. Remove Samba share 3. Actual Results: Overlay is still visible Expected Results: Overlay is gone
Thanks for the bug report. I have no access to any Samba shares, so I cannot really test or debug this. Some questions: (a) Where do you see the icons with the overlays? Do you visit remote:, smb:, or something like that? (b) Do you happen to know how these overlays are implemented? I would assume that they are provided by KFileItem::overlays()? To fix this, Dolphin must obviously receive some notification that the share is removed. We already do listen to KDirLister's refreshItems signal, so if KIO would emit this signal when a share is removed, everything should be fine.
If you can provide at least a bit of additional information, please reopen and re-assign to kio or kio/smb if appropriate. I still cannot imagine that anything can be done about this inside Dolphin, but if you think that I'm wrong, I really need more information. Thanks.
What should we do with this report? I cannot triage this bug on my own (no Samba share available), and either this is still an "issue" or it has since been fixed. If it is still an issue we should probably file a bug against KIO to provide us with a signal related to Samba shares.
Please update this report if you are able to test this bug with newer versions of Dolphin. Thanks!
Confirmed on neon dev unstable. Bug 393122 seems related/duplicated.
This does indeed look like a duplicate of 393122. I'll close this bug, as the other one is correctly assigned to KIO. *** This bug has been marked as a duplicate of bug 393122 ***