touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #117554
[Bug 1515848] Re: (w, 0) and (0, h) requests are not scaled correctly
** Changed in: thumbnailer (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to thumbnailer in Ubuntu.
https://bugs.launchpad.net/bugs/1515848
Title:
(w,0) and (0,h) requests are not scaled correctly
Status in thumbnailer package in Ubuntu:
In Progress
Bug description:
By definition, (w,0) and (0,h) should be the same as (w,w) and (h,h), respectively.
They are not, and the qml test tests for the wrong outcome:
function test_scale_vertical() {
requestedSize = Qt.size(0, 240);
loadThumbnail("orientation-1.jpg");
compare(size.width, 320);
compare(size.height, 240);
}
For this request, size.width() cannot possibly be larger than 240.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thumbnailer/+bug/1515848/+subscriptions
References