touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #117553
[Bug 1515848] [NEW] (w, 0) and (0, h) requests are not scaled correctly
Public bug reported:
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.
** Affects: thumbnailer (Ubuntu)
Importance: High
Assignee: Michi Henning (michihenning)
Status: New
** Changed in: thumbnailer (Ubuntu)
Assignee: (unassigned) => Michi Henning (michihenning)
** Changed in: thumbnailer (Ubuntu)
Importance: Undecided => High
--
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:
New
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
Follow ups
-
[Bug 1515848] Re: (w, 0) and (0, h) requests are not scaled correctly
From: Michi Henning, 2016-01-07
-
[Bug 1515848] Re: (w, 0) and (0, h) requests are not scaled correctly
From: Michi Henning, 2015-11-13
-
[Bug 1515848] Re: (w, 0) and (0, h) requests are not scaled correctly
From: Launchpad Bug Tracker, 2015-11-13
-
[Bug 1515848] Re: (w, 0) and (0, h) requests are not scaled correctly
From: Michi Henning, 2015-11-13