Thumbnail of photo/video displays incorrect size in preview page

Bug #1515091 reported by TarotChen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thumbnailer (Ubuntu)
Triaged
Undecided
Unassigned
unity-scope-mediascanner (Ubuntu)
New
Undecided
Unassigned

Bug Description

Test Env.
~$ system-image-cli -i
current build number: 171
device name: krillin
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2015-11-12 08:12:47
version version: 171
version ubuntu: 20151110.1
version device: 20150821-736d127
version custom: 2015111

Steps:
1. take photos by camera
2. go to photo scope
3. tap on a photo to preview page
4. check the page

Actual:
Thumbnail of photo displays original size in preview page

Expected:
Thumbnail of photo should have a fixed size in preview page

Revision history for this message
TarotChen (tarotchen) wrote :
Revision history for this message
TarotChen (tarotchen) wrote :

same issue in my videos scope while previewing the video recorded by camera, update the title

summary: - Thumbnail of photo displays incorrect size in preview page
+ Thumbnail of photo/video displays incorrect size in preview page
Revision history for this message
Michi Henning (michihenning) wrote :

OK, so the problem appears to be that tapping on a photo in the scope does show the preview, but the image shown with the preview is full size, so the "Open"/"Play" button near the bottom is not visible until after I scroll down. The preview should indeed show something smaller that doesn't blow all of the screen real estate.

This is not a thumbnailer bug, re-assigning to photo scope.

Revision history for this message
Michi Henning (michihenning) wrote :

Setting to "triaged" for thumbnailer so we don't lose track.

Changed in thumbnailer (Ubuntu):
status: New → Triaged
Revision history for this message
Dave Morley (davmor2) wrote :

So this behaviour is currently acceptable as it brought massive improvements to the speed and processing of images by using thumbnailer, it used to fetch art directly and then process it.

This means better battery and better speed experience so I think it is not likely to change.

See https://bugs.launchpad.net/hanloon/+bug/1485423 for more info.

Revision history for this message
Michi Henning (michihenning) wrote :

Hmmm... I wouldn't call the current behavior "acceptable". The photo scope shouldn't show a preview image that's too large. The thumbnailer really has nothing to do with it. It'll produce a thumbnail of pretty much any size very efficiently. This really is a UI bug in the photo scope: the screen layout gets messed up by the too-large preview image. By the looks of things, the photo scope just displays the original image full size. I haven't verified whether it goes to the thumbnailer to obtain the image. But, seeing that it is full size, I suspect it is not.

Revision history for this message
Michi Henning (michihenning) wrote :

Here is what I see in the thumbnailer log when I tap on a single image in the photo roll:

Note that, even though I asked to see one image, the app issues requests for two images. As far as I can see, it should ask only for the image I want to see?

For each image, there are two requests, one for 768, and one for 2304. There should be only one request.

Asking for the image at 2304 is meaningless, in the sense that the thumbnailer won't deliver anything larger than 1920. It doesn't do any harm as such, the actual image that is returned will be scaled to 1920. But the image that is shown is too large and displaces the "Open button" near the bottom, so I can see the button only once is scroll. The preview image should be displayed at a size that doesn't push the rest of the card off the screen.

Revision history for this message
Michi Henning (michihenning) wrote :

thumbnailer-service: [09:14:33.205] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091016454.jpg (768,0): 0.067388 sec (MISS)"
thumbnailer-service: [09:14:33.259] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091016454.jpg (2304,0): 0.103494 sec (MISS)"
thumbnailer-service: [09:14:33.293] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091014432.jpg (768,0): 0.047703 sec (MISS)"
thumbnailer-service: [09:14:33.342] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091014432.jpg (2304,0): 0.095895 sec (MISS)"

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.