broulik added a comment.

  Taking for example the context menu code in FolderView:
  It does `KFileItem = m_dirModel->itemForIndex(index);`
  
  `item.localPath()`: `""`
  `item.isLocalFile()`: `false`
  `item.mostLocalUrl()`: `QUrl("desktop:/foo")`
  `item.targetUrl():` `QUrl("desktop:/foo")`
  `item.entry().stringValue(KIO::UDSEntry::UDS_LOCAL_PATH)`: `""`
  
  If you right click an item in desktop:/ the "Move to Trash" option will not 
be available, both in FolderView and Dolphin because it doesn't consider it a 
local file.

REPOSITORY
  R120 Plasma Workspace

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

To: broulik, #plasma, hein, dfaure
Cc: anthonyfieroni, plasma-devel, progwolff, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol

Reply via email to