[Differential] [Request, 2,551 lines] D2676: Improved and optimized Pager and Activity Pager

hein (Eike Hein) noreply at phabricator.kde.org
Tue Sep 6 10:11:43 UTC 2016


hein created this revision.
hein added reviewers: Plasma, davidedmundson.
hein added a subscriber: plasma-devel.
hein added dependencies: D2675: Add desktop layout rows property., D2674: Add optional filtering by SkipPager window state..
Restricted Application added a project: Plasma.

REVISION SUMMARY
  - Unify Desktop and Activity Pager applets. The latter was an out-of- sync fork of the former, with 99% code copied needlessly. Separate commit to kdeplasma-addons pending that slashes the Activity Pager down to a .desktop file.
  
  - Share window state monitoring backend with the Task Manager by porting to libtaskmanager. Reduces the window state monitoring in a typical plasmashell instance from two to one. Saves CPU time, memory use and improves support for Wayland.
  
  - Don't destroy and recreate all delegates every time window focus or other window state changes. Saves a lot of CPU time.
  
  - Save various items and objects by e.g. creating window icon and
  - desktop label items only when needed and cleaning up frontend code.
  
  Lazy-create
  
    the data source needed to show the activity manager once it's needed.
    Results in much lighter Pager (at least two items per window and one
    item per desktop) with default settings.
  
  - Avoid doing tons of unnecessary calculations during DND.
  
  - Some minor HiDPI scaling fixes.
  
  - Other cleanup: More visualization-agnostic backend, coding style.
  
  Depends on https://phabricator.kde.org/D2674, https://phabricator.kde.org/D2675.

REPOSITORY
  rPLASMADESKTOP Plasma Desktop

BRANCH
  master

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

AFFECTED FILES
  applets/pager/CMakeLists.txt
  applets/pager/package/contents/ui/configGeneral.qml
  applets/pager/package/contents/ui/main.qml
  applets/pager/package/metadata.desktop
  applets/pager/plugin/model.cpp
  applets/pager/plugin/model.h
  applets/pager/plugin/pager.cpp
  applets/pager/plugin/pager.h
  applets/pager/plugin/pagermodel.cpp
  applets/pager/plugin/pagermodel.h
  applets/pager/plugin/pagerplugin.cpp
  applets/pager/plugin/windowmodel.cpp
  applets/pager/plugin/windowmodel.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: hein, #plasma, davidedmundson
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160906/5e3bdeeb/attachment-0001.html>


More information about the Plasma-devel mailing list