Review Request 127426: [Svg] Don't reparse configuration in response to Theme::applicationPaletteChanged
Marco Martin
notmart at gmail.com
Sat Mar 19 19:29:52 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127426/#review93726
-----------------------------------------------------------
Ship it!
Ship It!
- Marco Martin
On March 19, 2016, 3:29 p.m., Kai Uwe Broulik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127426/
> -----------------------------------------------------------
>
> (Updated March 19, 2016, 3:29 p.m.)
>
>
> Review request for Plasma.
>
>
> 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/20160319/f9c9a727/attachment.html>
More information about the Plasma-devel
mailing list