Gallery app asks for same image multiple times at different sizes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
gallery-app (Ubuntu) |
Fix Released
|
High
|
Arthur Mello | ||
thumbnailer (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm seeing this with image 342 from rc-proposed.
When starting the gallery app with around 300 photos in my Pictures folder, I just noticed the request sequence shown below. Note that all requests are for the same image and are issued pretty much all at once. (There is about half a second elapsed time between the first and the last request.) The requests keep changing the size only, starting at 342 and working their way down to 216. This is supremely inefficient because each of the requests results in a separate scaling operation. In addition, each of these requests ends up in the cache on disk, so this behavior really hammers the battery and reduces cache efficiency.
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 41 lines (+9/-4)2 files modifiedrc/qml/Components/MediaGrid.qml (+4/-2)
rc/qml/OrganicView/OrganicMediaList.qml (+5/-2)
Changed in thumbnailer (Ubuntu): | |
status: | New → Triaged |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Bill Filler (bfiller) |
importance: | Undecided → High |
milestone: | none → backlog |
status: | New → Confirmed |
Changed in gallery-app (Ubuntu): | |
assignee: | nobody → Arthur Mello (artmello) |
Changed in canonical-devices-system-image: | |
milestone: | backlog → ww08-2016 |
Changed in gallery-app (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
This is really serious. I'm seeing around a dozen requests for each image (each request at a different size) when scrolling in the event view. I'm also seeing crashes. One way to reproduce seems to be to scroll all the way to the end of the event view and then scroll in the other direction. As soon as I try to go backwards from the end, I get a crash.