← Back to team overview

touch-packages team mailing list archive

[Bug 1439263] [NEW] Backport QQuickAsyncImageProvider from upstream-dev

 

Public bug reported:

In Qt <= 5.5 there is exactly one thread that handles loading of images
that come from custom image providers, this means that if a given image
provider is very slow it will block the rest of image providers.

Qt 5.6 introduces QQuickAsyncImageProvider that is a job based API that
allows the custom image providers to run threads on their side, this way
they won't block other requests.

By backporting QQuickAsyncImageProvider we can solve
https://bugs.launchpad.net/thumbnailer/+bug/1425043 by making the
thumbnailer have a "slow" thread for thumbnails that it needs to do and
a "fast" one for thumbnails that are already done as shown by the proof
of concept implementation at
https://code.launchpad.net/~aacid/thumbnailer/asyncprovider/+merge/253188

** Affects: qtdeclarative-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtdeclarative-opensource-
src in Ubuntu.
https://bugs.launchpad.net/bugs/1439263

Title:
  Backport QQuickAsyncImageProvider from upstream-dev

Status in qtdeclarative-opensource-src package in Ubuntu:
  New

Bug description:
  In Qt <= 5.5 there is exactly one thread that handles loading of
  images that come from custom image providers, this means that if a
  given image provider is very slow it will block the rest of image
  providers.

  Qt 5.6 introduces QQuickAsyncImageProvider that is a job based API
  that allows the custom image providers to run threads on their side,
  this way they won't block other requests.

  By backporting QQuickAsyncImageProvider we can solve
  https://bugs.launchpad.net/thumbnailer/+bug/1425043 by making the
  thumbnailer have a "slow" thread for thumbnails that it needs to do
  and a "fast" one for thumbnails that are already done as shown by the
  proof of concept implementation at
  https://code.launchpad.net/~aacid/thumbnailer/asyncprovider/+merge/253188

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1439263/+subscriptions


Follow ups

References