meven added a comment.
My last change is more a Proof of Concept : using Solid to avoid mime check. I would be in favor of adding a static function to Solid encompassing this use case. For instance : bool Solid::isMountedOnNetworkShare(const QString &filePath) static; But the good part is that this solution actually works, we get back icons for local files and don't block plasma with a stale mount. I am open for suggestion. REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D23198 To: meven, #plasma, dfaure Cc: davidedmundson, ngraham, broulik, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart