Review Request 129838: fix no-display of CPU bars per core (and fix some warnings)
Kåre Särs
kare.sars at iki.fi
Mon Jan 16 08:40:56 UTC 2017
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129838/#review102056
-----------------------------------------------------------
The current/old version uses "connectSource(source)" to add the CPUs when they are added in onSourceAdded, but that is not good if the sources are added before SystemLoadViewer.qml (a problem when adding a second SytemLoadViewer)
I'm fine with this change, but it seems indeed strange that you first only connect "system/cores"
What happens if you use connectSource(...) in onNewData in stead of setting all of connectedSources again?
- Kåre Särs
On Jan. 15, 2017, 2:36 p.m., Martin Koller wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129838/
> -----------------------------------------------------------
>
> (Updated Jan. 15, 2017, 2:36 p.m.)
>
>
> Review request for Plasma and Kåre Särs.
>
>
> Bugs: 373776
> http://bugs.kde.org/show_bug.cgi?id=373776
>
>
> Repository: kdeplasma-addons
>
>
> Description
> -------
>
> See bug #373776
> The CPU bars do not show a value when using separate bars per CPU, and the tooltip never
> shows a value per CPU, since the data sources per CPU are not subscribed.
>
> AFAICT this could never have worked.
>
>
> Diffs
> -----
>
> applets/systemloadviewer/package/contents/ui/CompactBarMonitor.qml 32d98dd
> applets/systemloadviewer/package/contents/ui/SystemLoadViewer.qml 5a0bc06
>
> Diff: https://git.reviewboard.kde.org/r/129838/diff/
>
>
> Testing
> -------
>
> yes
>
>
> Thanks,
>
> Martin Koller
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170116/54b8b3d2/attachment.html>
More information about the Plasma-devel
mailing list