[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Microblog port to Akonadi pushed into a branch
From:       Martin Klapetek <martin.klapetek () gmail ! com>
Date:       2012-10-31 22:34:23
Message-ID: CAPLgePp7g5Z3csSSwkS5XYc9LyHsxONmjFHMMfZrX__S1M0ebg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sat, Oct 27, 2012 at 7:23 PM, Martin Klapetek
<martin.klapetek@gmail.com>wrote:

> * refreshing the list pushes garbage/no data into qml, I'm not yet sure
> where this problem originates, simple reloading of the applet fixes it
> 

Found the issue today, was a bug in Akonadi, posted a patch which now
awaits review [1], so the major issues are now solved \o/

About the scrollbar and uniform items height - today I realized the items
cannot be all the same height, because some of them has links, some has
pictures, some say "Retweeted by...", so unless the height is as big as all
possible combinations of things, I don't think this is feasible (and that
would looks bad on posts without images, which are 100px high -> 100px
blank space).

One possible solution would be to limit the number of shown items to say
200 and then make the list load 200 delegates, but obviously the memory
costs could go really up. I'm actually quite curious about the amount, so
I'll do a benchmark tomorrow.

[1] - https://git.reviewboard.kde.org/r/107153<https://git.reviewboard.kde.org/r/107153/diff/#index_header>
                
-- 
Martin Klapetek | KDE Developer


[Attachment #5 (text/html)]

On Sat, Oct 27, 2012 at 7:23 PM, Martin Klapetek <span dir="ltr">&lt;<a \
href="mailto:martin.klapetek@gmail.com" \
target="_blank">martin.klapetek@gmail.com</a>&gt;</span> wrote:<br><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>  * refreshing the list pushes garbage/no data into qml, I&#39;m not yet sure \
where this problem originates, simple reloading of the applet fixes \
it</div><div></div></blockquote></div><div><br></div><div>Found the issue today, was \
a bug in Akonadi, posted a patch which now awaits review [1], so the major issues are \
now solved \o/</div>

<div><br></div><div>About the scrollbar and uniform items height - today I realized \
the items cannot be all the same height, because some of them has links, some has \
pictures, some say &quot;Retweeted by...&quot;, so unless the height is as big as all \
possible combinations of things, I don&#39;t think this is feasible (and that would \
looks bad on posts without images, which are 100px high -&gt; 100px blank space).  \
</div>

<div><br></div><div>One possible solution would be to limit the number of shown items \
to say 200 and then make the list load 200 delegates, but obviously the memory costs \
could go really up. I&#39;m actually quite curious about the amount, so I&#39;ll do a \
benchmark tomorrow.</div>

<br clear="all"><div>[1] -  <a \
href="https://git.reviewboard.kde.org/r/107153/diff/#index_header">https://git.reviewboard.kde.org/r/107153</a></div>-- \
<br><div><span style="color:rgb(102,102,102)">Martin Klapetek | KDE  \
Developer</span></div>

<br>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic