I've determined this is caused by file access from QML in the avatar
cache .  It's actually significantly faster using remote URLs for the
avatars.  Using the remote URLs also means QML will handle local caching
of the avatars for us, so we don't need to manage the avatar cache in
the backend at all.  The only remaining need for a cached version of the
avatar is the notify-osd integration, which doesn't support a url to a
remote image.

For now we'll drop the avatar caching logic from the friends dispatcher
and start storing the URLs in the model.  However, the dispatcher will
need to cache an avatar long enough for the notification.  Perhaps cache
in /tmp which will get purged on restart?

** Also affects: friends
   Importance: Undecided
       Status: New

** Changed in: friends
     Assignee: (unassigned) => Robert Bruce Park (robru)

** Changed in: friends
       Status: New => Confirmed

** Changed in: friends
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1177945

Title:
  scrolling very slow on ubuntu-touch

To manage notifications about this bug go to:
https://bugs.launchpad.net/friends/+bug/1177945/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to