Review Request: Folderview : label when empty folder
Aaron Seigo
aseigo at kde.org
Mon Jul 19 22:39:44 CEST 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4519/#review6643
-----------------------------------------------------------
/trunk/KDE/kdebase/apps/plasma/applets/folderview/iconview.cpp
<http://reviewboard.kde.org/r/4519/#comment6396>
this will cause a full repaint of the entire folderview widget every time the listing is completed. it would be good to find a way to trigger it only when needed.
i assume this happens only when the file count change to or from 0.
this would probably mean having to keep some state to know when it is/was empty, and only when it becomes empty or is no longer empty then call for a full update().
/trunk/KDE/kdebase/apps/plasma/applets/folderview/iconview.cpp
<http://reviewboard.kde.org/r/4519/#comment6397>
if it is a containment, rather than used as a widget, it probably shouldn't paint this.
- Aaron
On 2010-07-12 17:13:34, Iamluc wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/4519/
> -----------------------------------------------------------
>
> (Updated 2010-07-12 17:13:34)
>
>
> Review request for Plasma.
>
>
> Summary
> -------
>
> Hello,
>
> This patch add a Plasma::Label with text "This folder is empty." in Folderview's Popup when the folder is empty.
>
> The related bug number in kde bugzilla is 201542.
>
> Luc
>
>
> This addresses bug 201542.
> https://bugs.kde.org/show_bug.cgi?id=201542
>
>
> Diffs
> -----
>
> /trunk/KDE/kdebase/apps/plasma/applets/folderview/iconview.cpp 1145373
>
> Diff: http://reviewboard.kde.org/r/4519/diff
>
>
> Testing
> -------
>
> Delete/add files several times. The label disappears/appears correctly.
>
>
> Screenshots
> -----------
>
> folderview empty folder
> http://reviewboard.kde.org/r/4519/s/444/
> version 2
> http://reviewboard.kde.org/r/4519/s/455/
>
>
> Thanks,
>
> Iamluc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20100719/552c9996/attachment.htm
More information about the Plasma-devel
mailing list