View Issue Details

IDProjectCategoryView StatusLast Update
0011101ScribusGraphics / Image Framespublic2012-11-13 20:36
Reportercezaryece Assigned Tojghali  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0011101: [PATCH] fix for resizing image frame
DescriptionResizning image frame by move of top frame edge with fitImageToFrame set "on" is not working as expected (looks like free scaling behaviour).
Attached patch solving this bug.
TagsNo tags attached.
Patch

Activities

cezaryece

2012-09-28 08:39

updater  

imageScalingFix.diff (653 bytes)   
diff --git a/Scribus/scribus/canvasgesture_resize.cpp b/Scribus/scribus/canvasgesture_resize.cpp
index d642513..f293737 100644
--- a/Scribus/scribus/canvasgesture_resize.cpp
+++ b/Scribus/scribus/canvasgesture_resize.cpp
@@ -277,7 +277,7 @@ void ResizeGesture::doResize(bool scaleContent)
 			}
 			currItem->setImageXYScale(imgScX, imgScY);
 		}
-		else if (currItem->itemType() == PageItem::ImageFrame && currItem->PictureIsAvailable)
+		else if (currItem->itemType() == PageItem::ImageFrame && currItem->PictureIsAvailable && !currItem->fitImageToFrame())
 		{
 			QTransform mm = currItem->getTransform();
 			QPointF itPos = mm.map(QPointF(0, 0));
imageScalingFix.diff (653 bytes)   

ale

2012-09-28 17:16

manager   ~0028992

this specific issue seems to be fixed... but there is more :-) i'll open another ticket and ask if it's a real issue...

Issue History

Date Modified Username Field Change
2012-09-28 08:39 cezaryece New Issue
2012-09-28 08:39 cezaryece File Added: imageScalingFix.diff
2012-09-28 11:29 jghali Status new => resolved
2012-09-28 11:29 jghali Fixed in Version => 1.5.0svn
2012-09-28 11:29 jghali Resolution open => fixed
2012-09-28 11:29 jghali Assigned To => jghali
2012-09-28 17:16 ale Note Added: 0028992
2012-11-13 20:36 cbradney Status resolved => closed
2015-09-17 20:10 Kunda Category Graphics / Image Frames => Graphics/Img Frames
2015-09-17 20:11 Kunda Category Graphics/Img Frames => Graphics / Image Frames