Bug 306385 - Very wide image have bad proportions
Summary: Very wide image have bad proportions
Status: RESOLVED DUPLICATE of bug 305175
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-frame (show other bugs)
Version: 4.8.5
Platform: Mageia RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Anne-Marie Mahfouf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-07 06:23 UTC by José JORGE
Modified: 2015-03-26 07:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description José JORGE 2012-09-07 06:23:02 UTC
I have ten photo frames in my desktop changing pictures every hour. When a very wide picture (example 2800x400) is displayed, it is half heighted.

Example image : http://fotosjorge.free.fr/fotos/jose/fotos/200x/2009/2009-08-18_neouvielle/photo-000033-photo-000037.jpg

Reproducible: Always

Steps to Reproduce:
1.Put this image in a small sized frame (ie. 1/8 of the desktop)
2.Compare proportions to what Gwenview shows.
Comment 1 José JORGE 2012-09-14 09:23:03 UTC
Tried to change in imagescaler.cpp the aspect ratio part, but it changes nothing :

QImage img = m_image.scaled(m_size, Qt::KeepAspectRatio,

In fact the bug is there for all images, the ratio is changed for all images. It is just less visible for square images, and very visible for images with a big ratio, like 3:1 or more..
Comment 2 José JORGE 2015-03-26 07:45:40 UTC
*** This bug has been marked as a duplicate of bug 305175 ***