Peter a écrit :
> Hi,

Hey Peter,

> I've been running Moovida from bz (relook), and I quite like the new
> look photo library (with the month selection buttons along the bottom
> of the screen). However, when browsing my photo library I see lots of
> this warning:
> 
> WARN  MainThread      photo_grid                  Nov 26 17:32:00  Use
> of non cancellable deferreds is deprecated. Please use
> 'elisa.core.utils.defer.Deferred'.
> (elisa/plugins/poblesec/base/hierarchy.py:77)

This is a known issue and the warning is there to remind us that at some
point it needs to be fixed. The problem is that the deferreds exposed by
twisted are not cancellable. Moovida has a custom cancellable deferred
built on top of twisted's, but its use hasn't been strictly enforced
until recently.

> Also (and I suspect this is related) if I try panning left/right with
> rapid use of the page up/down keys, the display gets confused. In
> particular wrong thumbnails are loaded and displayed (probably

This is indeed completely related. Since some deferreds cannot be
cancelled, wrong images will be displayed until they are replaced with
the correct ones, leading to this really confusing effect. Could you
please file a bug about that?

> deferred calls for other pages), and the blue highlight isn't always
> shown.

This one is another bug: https://bugs.launchpad.net/moovida/+bug/447315.

> Also, I find from the main menu loading the library takes far too long
> (about 10s - I have over 20000 photos).

There are probably some optimizations that could be done in the database
schema to fix that. If anyone is willing to take the task, we'll gladly
review patches. However, considering the current development focus, we
avoid spending time on media-scanner related issues.

> Peter

Reply via email to