[Kde-pim] Review Request 117818: Send the name in the ancestor list

Kevin Ottens ervin at kde.org
Tue Apr 29 08:15:45 BST 2014



> On April 29, 2014, 6:49 a.m., Volker Krause wrote:
> > The problem I see with this is that sometimes the displayed collection names are overwritten by an EntityDisplayAttribute, eg. commonly for top-level folders or translated special collections. With this approach you are displaying different names to the user in that case.
> > 
> > IIRC full ancestor chains are used by ETM, so this might increase memory consumption in KMail. That can probably be countered by making sure to share the same value instance instead of creating a new collection with a name every time (that's done in a few other places already).

So you mean I should send the content of EntityDisplayAttribute instead if available?

The problem I see with that is the fact that I've no way to know on the client end if that should be put in the Collection name or attribute. Or on the client side the name is supposed to be overriden by the EntityDisplayAttribute content anyway?


- Kevin


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


On April 28, 2014, 6:46 a.m., Kevin Ottens wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117818/
> -----------------------------------------------------------
> 
> (Updated April 28, 2014, 6:46 a.m.)
> 
> 
> Review request for Akonadi, Dan Vrátil and Volker Krause.
> 
> 
> Repository: akonadi
> 
> 
> Description
> -------
> 
> It's generally useful to at least have the name of the ancestors for
> user display purpose. It's kind of sad otherwise to have to fire up
> extra requests just for this very common information.
> 
> 
> Diffs
> -----
> 
>   server/src/handlerhelper.cpp 1b43c2b 
>   server/tests/unittest/handlerhelpertest.cpp 6686f9b 
> 
> Diff: https://git.reviewboard.kde.org/r/117818/diff/
> 
> 
> Testing
> -------
> 
> Unit tests pass.
> Used in production locally.
> 
> 
> Thanks,
> 
> Kevin Ottens
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list