Review Request: completed jobs automatically get destroyed after some time, but only while the computer is not being used.

Aaron Seigo aseigo at kde.org
Mon May 4 22:36:49 CEST 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/671/#review1052
-----------------------------------------------------------

Ship it!


looks good :) just a couple minor niggles, but nothing major or of commit-blocking-severity


/trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/applet.h
<http://reviewboard.kde.org/r/671/#comment705>

    we shoudl get rid of these empty lines in the header; i know, nitpicky and has nothing to with this patch, other than the extra empty line it introduces. but if we keep adding lines like this, our headers become like emental cheese ;)



/trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/applet.cpp
<http://reviewboard.kde.org/r/671/#comment706>

    maybe another const int like the timer delay? :)


- Aaron


On 2009-05-04 13:10:36, Rob Scheepmaker wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/671/
> -----------------------------------------------------------
> 
> (Updated 2009-05-04 13:10:36)
> 
> 
> Review request for Plasma.
> 
> 
> Summary
> -------
> 
> As an experiment, I'd tried this possible approach to the issue that (< wow, review board is * too * smart :p) we probably want the completed jobs to get automatically destroyed, as discussed in the Systray Jobs mailing list discussion. The current timeout time is a bit arbitrary (5 minutes), but works pretty well imo. The nice thing here is we don't start the timeout until the computer is actually being used, so if you go away from your computer to make some nice delicious meal (hmm, maybe a nice curry?), and a job completes in the meantime, it will still show after you get back behind your computer.
> I think this behavior is quite nice, but let me know what you think, and if you think we should use a different timeout time. But be quick, feature freeze is today :p 
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdebase/workspace/plasma/applets/systemtray/CMakeLists.txt 963164 
>   /trunk/KDE/kdebase/workspace/plasma/applets/systemtray/config.h.in PRE-CREATION 
>   /trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/applet.h 963164 
>   /trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/applet.cpp 963165 
>   /trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/extendertask.cpp 963164 
> 
> Diff: http://reviewboard.kde.org/r/671/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Rob
> 
>



More information about the Plasma-devel mailing list