Thumbnails are returned one by one to QML thus already existing thumbnails can be blocked

Bug #1425043 reported by Florian Boucault
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Thumbnailer
Fix Released
High
Unassigned
qtdeclarative-opensource-src (Ubuntu)
Fix Released
High
Timo Jyrinki
qtdeclarative-opensource-src (Ubuntu RTM)
Fix Released
Undecided
Unassigned

Bug Description

Thumbnail requests made via the QML thumbnailer image provider are enqueued and processed one by one which has some nasty UX consequences:
1) if a thumbnail already exists it won't be returned immediately if other thumbnails are ahead in the queue
2) video thumbnails are much slower to be generated so if one is being generated, all other thumbnails are blocked until it finishes

This issue would be alleviated if not for https://bugreports.qt.io/browse/QTBUG-37988
But even with the Qt bug fixed, 1) would still be an important issue in many cases

Related branches

Changed in thumbnailer:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Albert Astals Cid (aacid) wrote :

Added my take on how to fix this using an un-merged Qt upstream patch

Revision history for this message
Albert Astals Cid (aacid) wrote :

Suggested to backport QQuickAsyncImageProvider from Qt upstream https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1439263

Changed in qtdeclarative-opensource-src (Ubuntu):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
status: New → In Progress
importance: Undecided → High
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

QtDeclarative part in the overlay PPA now.

---
qtdeclarative-opensource-src (5.4.1-1ubuntu7) vivid; urgency=medium

  * debian/patches/Add-QQuickAsyncImageProvider.patch:
    - Backport QQuickAsyncImageProvider (LP: #1439263) (LP: #1425043)
  * debian/patches/Always-remove-reply-from-replies-when-processing-can.patch:
    - Drop, replaced by the new patch.

 -- Timo Jyrinki <email address hidden> Tue, 28 Apr 2015 08:50:56 +0000
---

Changed in qtdeclarative-opensource-src (Ubuntu):
status: In Progress → Fix Released
Changed in qtdeclarative-opensource-src (Ubuntu RTM):
status: New → Fix Released
Changed in thumbnailer:
status: Confirmed → Fix Committed
Changed in thumbnailer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.