touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #16293
[Bug 1359177] Re: Showing results when available
** Project changed: unity-scopes-api => unity-scopes-api (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1359177
Title:
Showing results when available
Status in “unity-scopes-api” package in Ubuntu:
Fix Committed
Bug description:
Sometimes, the server doesn't return the results immediately. In some
cases, it even starts to send information, and keep producing it
during time (because to produce the desirable set of results imply
hitting the backend several times, which takes time).
For example, the results delivery times may be:
Result 0 (2855 msec)
Result 1 (3339 msec)
Result 2 (3343 msec)
...
Result 9 (6871 msec)
Currently, the client is waiting for everything to finish, and shows
the whole page at once (with empty images, though, and after 7seconds,
it starts to retrieve the images and show them).
The ideal result is that the first result appear at 2.8s, the second
at 3.3s, etc (and that the images start to be retrieved at *that*
time).
Pawel told in a mail that these results are handled by
SmartScopesClient proxy in scopes middleware, and unfortunately it
waits for all results before processing them and pushing them to the
shell (via a "dummy" local smart scope).
Marcus added that currently HttpClient is to request uri, and wait for
the response. He should change the way QNetworkAccessManager is used
to support this.
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1359177/+subscriptions