Two thumbnail requests for each image in photo roll view
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
camera-app |
Confirmed
|
High
|
Unassigned | ||
camera-app (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
thumbnailer (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
I'm seeing two requests for thumbnails when scrolling in the photo roll view.
thumbnailer-
thumbnailer-
thumbnailer-
thumbnailer-
Note that, for each image, one requests is for (248,0), followed by another request for (248,248).
This is decidedly sub-optimal because it makes two round-trips to the thumbnailer for each image and causes the thumbnailer to cache two thumbnails. This reduces the effectiveness of the cache and wastes CPU.
To reproduce, take around 30 photos. In a shell on the device, run
thumbnailer-admin clear
Run a
tail -f ~/.cache/
Now start the camera app. Change to the photo roll view and slowly scroll down. As each new image comes into view, there are two requests sent to the thumbnailer for each image.
Changed in thumbnailer (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
importance: | High → Undecided |
Changed in camera-app: | |
importance: | Undecided → High |
Changed in camera-app: | |
status: | New → Confirmed |
Changed in camera-app (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |