Bug 195500 - Picture shape should take the initial frame into account
Summary: Picture shape should take the initial frame into account
Status: RESOLVED FIXED
Alias: None
Product: koffice
Classification: Unmaintained
Component: flake-picture (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KOffice Bug Wranglers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-06 21:51 UTC by Jeremias Epperlein
Modified: 2009-06-06 22:38 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 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