[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-29 13:52:29
Message-ID: CAPLgePqidTD=RwM8SMJpgttJ_V823iTY6-er-es6y1S5R7LrQg () 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:

>  * sometimes the plasmoid can get really really slow or even freeze when
> scrolling very fast as it tries to fetch all the avatars and post images,
> this might need some optimizations
>

 Just fixed this^. The model was queuing the same indexes waiting for the
image over and over again, so easily hundreds of the same indexes were
queued and once the image arrived, dataChanged(index) was emitted hundreds
of times for single index. Fixed now, the plasmoid is blazing fast when
scrolling with empty cache.

Update the SocialFeed from kde:scratch/mklapetek/socialfeed.

 * 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


I've started looking into this as well and the empty data actually arrives
to Akonadi's EntityTreeModel, it calls rowsInserted(..) for the new item,
but the data for that particular row is empty. Investigating now.

-- 
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>  * sometimes the plasmoid can get really really slow or even freeze when \
scrolling very fast as it tries to fetch all the avatars and post images, this might \
need some optimizations</div></blockquote><div><br></div>


<div>
</div></div><div>Just fixed this^. The model was queuing the same indexes waiting for \
the image over and over again, so easily hundreds of the same indexes were queued and \
once the image arrived, dataChanged(index) was emitted hundreds of times for single \
index. Fixed now, the plasmoid is blazing fast when scrolling with empty cache.</div>


<div><br></div><div>Update the SocialFeed from \
kde:scratch/mklapetek/socialfeed.</div><div><br></div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


  * 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</blockquote> \
<div><br></div><div>I&#39;ve started looking into this as well and the empty data \
actually arrives to Akonadi&#39;s EntityTreeModel, it calls rowsInserted(..) for the \
new item, but the data for that particular row is empty. Investigating now.</div>

<div><br></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