D13793: [Icons KCM] Cache preview pixmaps

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Jun 29 09:51:40 UTC 2018


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

REVISION SUMMARY
  ListView deletes and recreates delegates as you scroll, leading to us recreating the icon pixmaps as you scroll up and down with many themes installed

TEST PLAN
  Verified that every icon theme is loaded only once
  Scrolling down initially is still a bit sluggish depending on themes (I should also delay loading the animated preview pixmaps..) but once it's loaded it's fast

REPOSITORY
  R119 Plasma Desktop

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

AFFECTED FILES
  kcms/icons/main.cpp
  kcms/icons/main.h

To: broulik, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180629/6c6d3e0d/attachment-0001.html>


More information about the Plasma-devel mailing list