D8589: Make the folder model screen aware

Andras Mantia noreply at phabricator.kde.org
Wed Nov 1 09:43:14 UTC 2017


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

REVISION SUMMARY
  - store a map of url/screen ids in the configuration file
  - have a central mapping object shared by all folder views
  - if the model is used in a view that is a containment, filter out files
  
  not belonging to the current screen
  
  - if a screen is removed, the items are moved to the first available screen,
  
  but it is remembered on which screen they were
  
  - when a screen is plugged back, the items are moved back to the remembered
  
  location

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

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

AFFECTED FILES
  containments/desktop/package/contents/config/main.xml
  containments/desktop/package/contents/ui/FolderView.qml
  containments/desktop/package/contents/ui/FolderViewLayer.qml
  containments/desktop/plugins/folder/CMakeLists.txt
  containments/desktop/plugins/folder/foldermodel.cpp
  containments/desktop/plugins/folder/foldermodel.h
  containments/desktop/plugins/folder/folderplugin.cpp
  containments/desktop/plugins/folder/screenmapper.cpp
  containments/desktop/plugins/folder/screenmapper.h

To: amantia
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171101/c1d4b8dd/attachment.html>


More information about the Plasma-devel mailing list