Bug 195500

Summary: Picture shape should take the initial frame into account
Product: [Applications] koffice Reporter: Jeremias Epperlein <jeeree>
Component: flake-pictureAssignee: KOffice Bug Wranglers <koffice-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jeremias Epperlein 2009-06-06 21:51:22 UTC
Version:           trunk (using KDE 4.2.4)
OS:                Linux
Installed from:    Compiled From Sources

When you insert a picture shape, after clicking on the button you have to draw a rectangle and then select the picture to insert. The following dialog only shows the picture and after accepting it the picture is inserted with no scaling and therefore completely ignoring the rectangle I draw before. This is especially bad, because resizing a big picture with the mouse is very hard because the bottom right corner is not shown. I would propose to add a option to the dialog to insert the picture scaled to the inital frame and defaulting to it.
Comment 1 Marijn Kruisselbrink 2009-06-06 22:16:51 UTC
SVN commit 978347 by mkruisselbrink:

when changing the image in a picture shape, don't completely ignore the old size of the shape, but instead keep the total surface area of the shape constant, and only change the aspect ratio to match that of the new image.
BUG: 195500


 M  +8 -1      PictureShape.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=978347
Comment 2 Marijn Kruisselbrink 2009-06-06 22:38:54 UTC
SVN commit 978357 by mkruisselbrink:

backport r978347

when changing the image in a picture shape, don't completely ignore the old size of the shape, but instead keep the total surface area of the shape constant, and only change the aspect ratio to match that of the new image.
CCBUG: 195500



 M  +8 -1      PictureShape.cpp  


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