Review Request 127426: [Svg] Don't reparse configuration in response to Theme::applicationPaletteChanged

Kai Uwe Broulik kde at privat.broulik.de
Sun Mar 20 10:36:06 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127426/
-----------------------------------------------------------

(Updated March 20, 2016, 4:06 p.m.)


Status
------

This change has been marked as submitted.


Review request for Plasma.


Changes
-------

Submitted with commit bd354ecf702f2b7bd97b0eefc7055e68e89e1fc0 by Kai Uwe Broulik to branch master.


Repository: plasma-framework


Description
-------

Plasma::Theme emits the applicationPaletteChange signal only after it has already fetched the colors form KColorScheme and scheduled the caches to be nuked.

Avoids reparsing it a hundred times in all the SVGs.


Diffs
-----

  src/plasma/private/theme_p.cpp 943d3af 
  src/plasma/svg.cpp ccd248a 

Diff: https://git.reviewboard.kde.org/r/127426/diff/


Testing
-------

Changing colors in System Settings is now on-par with the opened applications performance-wise; previously Plasma froze for 10s of seconds.


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160320/cee0af70/attachment-0001.html>


More information about the Plasma-devel mailing list