When we tap in a photo, we are in fact opening a list of media that user can navigate when swiping right and left. The fact that we are seeing requests for videos when opening a photo is related with the way this list cache is implemented in gallery. With the new MR linked here, gallery should not request any thumbnail with (0, 0) but we still could request two videos thumbnails for each video. One for fullscreen and one for not fullscreen mode when in device (on desktop, we should request more sizes), since the sourceSize is linked with window height/width. Let me know if that is good enough or if we should go for a one size fits all approach, requesting a thumbnail big enough (maybe a single (0,0)) and using it as our thumbnail for all the window sizes.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1467743 Title: Lots of thumbnail requests with invalid size To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1467743/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs