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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515848
Title:
(w,0) and (0,h) requests are not scaled correctly
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thumbnailer/+bug/1515848/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs