Click previews slow to load

Bug #1478022 reported by Sebastien Bacher
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-scope-click (Ubuntu)
Confirmed
Medium
Unassigned
unity-scopes-shell (Ubuntu)
Confirmed
Undecided
Unassigned
unity8 (Ubuntu)
Fix Released
Undecided
Albert Astals Cid

Bug Description

Using a bq 4.5 on rc-proposed r76, hold a tap on an icon to get the details view, the info are slow to load (like the page is empty for 1O seconds before content start being displayed and internet is not laggy in the browser/other devices) and while the "load-bar-at-the-bottom" is bouncing it's not possible to scroll on the page (either vertically nor horizontally in the images row)

Related branches

description: updated
summary: - Can't scroll click previews while loading is not done
+ Click previews slow to load and can't scroll while loading is not done
kevin gunn (kgunn72)
Changed in unity8 (Ubuntu):
assignee: nobody → Albert Astals Cid (aacid)
Revision history for this message
Albert Astals Cid (aacid) wrote : Re: Click previews slow to load and can't scroll while loading is not done

The fact that the view is disabled while contents are loading is a design decision, you'll have to take it up with them if you think it's a bad idea.

About the slowlyness from what i can see we're making the calls to the lower layers as fast as we can and the delay comes because the lower layers take some time in populating the models we get returned with content.

Adding the lower layers for comment.

Revision history for this message
Paweł Stołowski (stolowski) wrote :

After investigating it a bit it seems that unity8 is still requesting multiple previews at a time (it was originally implemented that way to have next preview readily available when user swipes between previews, but I thought it was supposed to be disabled?) - I see even 4 preview requests at a time on longpress. Moreover, in the logs it looks like among them there is always a request for the first app from Apps category (Amazon in my case), even though I long-press one of the last app icons in that category. For every preview request clickscope performs two network queries (for package details and for its reviews).

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

I'll use this bug for "takes too much to load" because as Pawel found out we're using too many previews some of them in the wrong order.

As mentioned if you disagree with blocking the view until the loading is done please file a new bug so we can add ubuntu-ux there

summary: - Click previews slow to load and can't scroll while loading is not done
+ Click previews slow to load
Changed in unity8 (Ubuntu):
status: New → In Progress
Revision history for this message
Sebastien Bacher (seb128) wrote :

Sounds good to me, thanks. I'm going to wait for those fixes to land and see how things feel then

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-scope-click (Ubuntu):
status: New → Confirmed
Changed in unity-scopes-shell (Ubuntu):
status: New → Confirmed
dobey (dobey)
Changed in unity-scope-click (Ubuntu):
importance: Undecided → Medium
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.