D6880: [Folder View] Indicate cut items

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Jul 24 15:50:45 UTC 2017


broulik created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  This dims cut items similar to how Dolphin does it.

TEST PLAN
  Cut a couple of files on my desktop, they got dimmed. If I copied something else they showed up again.
  Also, cutting files from Dolphin updated FolderView right away.
  
  I noticed that `KUrlMimeData::urlsFromMimeData` seems quite slow, when I cut an entire folder in Dolphin, even if it's one we don't show in a FolderView, it can lead to a noticeable (as in a second or two) hickup in Plasma :/
  
  Code is adapted from Dolphin.
  F3819063: Screenshot_20170724_175024.png <https://phabricator.kde.org/F3819063>

REPOSITORY
  R119 Plasma Desktop

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

AFFECTED FILES
  containments/desktop/package/contents/ui/FolderItemDelegate.qml
  containments/desktop/plugins/folder/foldermodel.cpp
  containments/desktop/plugins/folder/foldermodel.h

To: broulik, #plasma, hein, #vdg, emmanuelp, dfaure
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170724/4e118968/attachment.html>


More information about the Plasma-devel mailing list