D19784: Avoid calling QT_LSTAT and accessing recent documents

Méven Car noreply at phabricator.kde.org
Fri Jul 26 09:10:14 BST 2019


meven added a comment.


  Since this patch icons for folders in recent documents have been replaced with the application-octet-stream icon.
  SkipMimeTypeFromContent should be avoided for local directories.
  
  We need a better way to detect if the folder is a network folder before making assumptions.
  isLocalFile is probably not enough given mounted drives can have urls such as file://mount.
  Could we for instance use solid to detect if a folder is a network one before skipping mime type detection ?
  
  CCBUG:  401579

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D19784

To: hoffmannrobert, #frameworks, dfaure, #dolphin
Cc: meven, apol, ngraham, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190726/34b14432/attachment.htm>


More information about the kfm-devel mailing list