Bug 257514

Summary: Scaling of Pictures for print
Product: [Applications] digikam Reporter: Jens Westemeier <Jens_Westemeier>
Component: Plugin-Generic-PrintCreatorAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: anaselli, caulier.gilles, kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 1.8.0
Sentry Crash Report:

Description Jens Westemeier 2010-11-21 14:18:25 UTC
Version:           1.5.0 (using KDE 4.5.3) 
OS:                Linux

I want to print a picture (2:3, Portrait) with fixed size. In the print dialog I use "Scaled to" and "Fixed Aspect ratio" (I'm using the German version, some of the menues in my description might not been translated correctly). Printig scales with or heights to paper size.

Reproducible: Always

Steps to Reproduce:
Select a portrait 2:3 picture.
Enter "7,6 cm" in the left field, the right one adjusts to "11,4 cm". Printing the picture results to the correct heights, but the picture is scaled to paper width (DIN A4).
Entering the "11,4 cm" first in the right field, the left one is corrected to "7,6 cm" and printig works (I also had during evaluation of this problem the fact, that the picture was printed with correct width, but stretched to the paper height. This was unreproducable).
The effect can be seen for printing to paper as well as printing to pdf.

Actual Results:  
Lost aspect ratio in print result
Comment 1 Jens Westemeier 2010-12-30 17:22:32 UTC
The problem still exists in Digikam (Plugins) 1.7
Comment 2 Angelo Naselli 2011-01-02 14:05:49 UTC
Hi, 
are you using print assistant or print images plugin?

if you think translation is not ok to provide more info you can run
digikam (or gwenview) from konsole with the following command (all in one line):
LC_ALL=C digikam

Thanks,
  Angelo
Comment 3 Jens Westemeier 2011-01-03 20:27:50 UTC
Seems I'm using the print images plugin.

Image -> Print Images -> Options -> Image Settings
Scaling -> Scale to: (Keep ratio)
Unit is "centimeters"
Comment 4 Angelo Naselli 2011-01-04 01:55:28 UTC
SVN commit 1211416 by anaselli:

BUG: 257514

 M  +4 -1      printoptionspage.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1211416
Comment 5 Angelo Naselli 2011-01-04 21:03:55 UTC
SVN commit 1211747 by anaselli:

CCBUG: 257514
Fixed also first photo scaling and scale to default value (10x15 cm).
Reporter you've just opened a pandora pot :) 

 M  +15 -7     printoptionspage.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1211747
Comment 6 Jens Westemeier 2011-02-23 12:32:32 UTC
Hi Angelo,

I just installed 1.8 and can confirm, that my problem is solved.

Many thanks for your good work, Jens.