Review Request 119199: RFC: Debugging tool for plasma

David Edmundson david at davidedmundson.co.uk
Thu Jul 10 10:57:57 UTC 2014


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



src/plasma/private/applet_p.cpp
<https://git.reviewboard.kde.org/r/119199/#comment43174>

    just put the ifdef here?



src/plasma/private/containment_p.cpp
<https://git.reviewboard.kde.org/r/119199/#comment43175>

    (and here)


would be faster and still leave time tracker code to be less if-defy

- David Edmundson


On July 9, 2014, 3:41 p.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119199/
> -----------------------------------------------------------
> 
> (Updated July 9, 2014, 3:41 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-framework
> 
> 
> Description
> -------
> 
> Since the tool in davidedmundson/plasmoidloader was discarded, I've been thinking we need a way to tell how things are run in the plasma shell. The argument was that we need to run the plasmoids in a containment, so escentially the only way to get it is doing it within the plasmashell.
> 
> What I did here is to create a small class that keeps track of an object the changes in the properties and relates them to a point in time. This way we can see how things change and react to each other. Then, this information is outputted in a json file to analyze.
> 
> Take this review request as a request for comments, there's many things we can add there.
> 
> 
> Diffs
> -----
> 
>   src/plasma/private/containment_p.cpp 6a3b09c 
>   src/plasma/private/timetracker.h PRE-CREATION 
>   src/plasma/private/timetracker.cpp PRE-CREATION 
>   src/plasma/applet.h 6effcc7 
>   src/plasma/containment.h c3907b0 
>   src/plasma/private/applet_p.cpp 2f680bf 
>   src/plasma/CMakeLists.txt 3801857 
> 
> Diff: https://git.reviewboard.kde.org/r/119199/diff/
> 
> 
> Testing
> -------
> 
> Runs fine.
> 
> Here I'm attaching an example that portraits how the pager plasmoid changes status many times for no apparent reason and how I'm not ever getting the isUiReady(true).
> 
> 
> File Attachments
> ----------------
> 
> example
>   https://git.reviewboard.kde.org/media/uploaded/files/2014/07/09/8e3bb455-9c5e-48fd-8471-f2726e6ed6af__debug-apol.json
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140710/036edc49/attachment.html>


More information about the Plasma-devel mailing list