Bug 302856

Summary: Prints (or save as image) prints wrong when "keep aspect ratio" is disabled
Product: [Applications] ktuberling Reporter: mvillarino <mvillarino>
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED FIXED    
Severity: normal CC: kde-games-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.5
Attachments: This is a screenshot of a full screen Ktuberling.
Got via "File - >Save as image"

Description mvillarino 2012-07-01 22:08:15 UTC
If you select game->print, or game ->save as image, the resulting image is vertically stretched. It includes the game scene, and also parts of the zones to choose items to add to the potato (nose, ears...).


Reproducible: Always



Expected Results:  
Keep the aspect ratio, and do not  print the areas containing "stickers"
Comment 1 Albert Astals Cid 2012-07-02 08:25:07 UTC
Which ktuberling version are you using?
Which playground are you using?
Can you attach a screenshot of the running program and the output of save as image?
Comment 2 mvillarino 2012-07-12 21:26:24 UTC
Ktuberling 0.8.0 on KDE 4.8.3 on some Debian.
Tested with both  the Valley and the Potato man.

I'll add two  images, one taken through "Save as image", the other a screenshot.

Please note that the "Keep aspect ratio" option is  NOT enabled.
Comment 3 mvillarino 2012-07-12 21:28:31 UTC
Created attachment 72487 [details]
This  is a screenshot of a full screen Ktuberling.

This is the  screen capture with the playground as I expect it to be on any derived image.
Comment 4 mvillarino 2012-07-12 21:32:01 UTC
Created attachment 72488 [details]
Got via "File - >Save as image"

And this is the thing I got.You see, not full playground, and it includes part of the palette.
Comment 5 Albert Astals Cid 2012-07-14 15:58:35 UTC
Ok, see it now, the "keep aspect ratio" disabled is important
Comment 6 Albert Astals Cid 2012-07-15 16:29:07 UTC
SVN commit 1305813 by aacid:

Correctly save to file/print when aspect ratio is not fixed



 M  +1 -1      playground.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1305813
Comment 7 Albert Astals Cid 2012-07-15 16:31:38 UTC
SVN commit 1305814 by aacid:

Backport r1305813 | aacid | 2012-07-15 18:28:59 +0200 (Sun, 15 Jul 2012) | 4 lines

Correctly save to file/print when aspect ratio is not fixed



 M  +1 -1      playground.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1305814
Comment 8 Albert Astals Cid 2012-07-15 16:40:11 UTC
SVN commit 1305815 by aacid:

Backport r1305813 | aacid | 2012-07-15 18:28:59 +0200 (dg, 15 jul 2012) | 4 lines

Correctly save to file/print when aspect ratio is not fixed

FIXEX-IN: 4.8.5


 M  +1 -1      playground.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1305815