Bug 306385

Summary: Very wide image have bad proportions
Product: [Unmaintained] plasma4 Reporter: José JORGE <lists.jjorge>
Component: widget-frameAssignee: Anne-Marie Mahfouf <annma>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.8.5   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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 ***