Review Request 119176: Update kickoff when user's name or face image changed

Aleix Pol Gonzalez aleixpol at kde.org
Tue Jul 8 13:02:57 UTC 2014


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



applets/kickoff/core/kuserproxy.h
<https://git.reviewboard.kde.org/r/119176/#comment43101>

    The 2 name properties always change at the same time. Maybe we want them to share the signal?



applets/kickoff/core/kuserproxy.h
<https://git.reviewboard.kde.org/r/119176/#comment43100>

    The attribute name could be better.



applets/kickoff/core/kuserproxy.cpp
<https://git.reviewboard.kde.org/r/119176/#comment43099>

    No need to do this, QStringLiteral is static by definition.



applets/kickoff/core/kuserproxy.cpp
<https://git.reviewboard.kde.org/r/119176/#comment43094>

    Maybe we should open a wish in Qt? Or implement it in IconItem?
    
    We can't be always doing that.



applets/kickoff/core/kuserproxy.cpp
<https://git.reviewboard.kde.org/r/119176/#comment43096>

    tmpFaceIcon only has 2 different values, AFAIU:
    - ""
    - "invalid image"
    
    It would probably be better with a bool value.



applets/kickoff/package/contents/ui/Header.qml
<https://git.reviewboard.kde.org/r/119176/#comment43097>

    Unicode change that broke encoding, apparently at least.


- Aleix Pol Gonzalez


On July 8, 2014, 12:49 p.m., Sebastian Kügler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119176/
> -----------------------------------------------------------
> 
> (Updated July 8, 2014, 12:49 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Bugs: 336792
>     https://bugs.kde.org/show_bug.cgi?id=336792
> 
> 
> Repository: plasma-desktop
> 
> 
> Description
> -------
> 
>     Since KUser doesn't provide any change signalling, we're watching both,
>     /etc/passwd (if it exists) and the face icon path for changes. The
>     latter is a pretty static thing in KUser, so it's safe to assume it
>     doesn't change at runtime.
>     
>     This makes updating the user's full name and face image from
>     Personal Settings / Password & User Account update Kickoff's header work
>     at runtime
> 
> 
> Diffs
> -----
> 
>   applets/kickoff/core/kuserproxy.h ec77217 
>   applets/kickoff/core/kuserproxy.cpp 713a182 
>   applets/kickoff/package/contents/ui/Header.qml 75e2d97 
> 
> Diff: https://git.reviewboard.kde.org/r/119176/diff/
> 
> 
> Testing
> -------
> 
> Changed user information, watched Kickoff update automatically.
> 
> 
> Thanks,
> 
> Sebastian Kügler
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140708/111dbd5e/attachment.html>


More information about the Plasma-devel mailing list