View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011101 | Scribus | Graphics / Image Frames | public | 2012-09-28 08:39 | 2012-11-13 20:36 |
Reporter | cezaryece | Assigned To | jghali | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.5.0svn | ||||
Fixed in Version | 1.5.0svn | ||||
Summary | 0011101: [PATCH] fix for resizing image frame | ||||
Description | Resizning 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. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
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)); |
|
this specific issue seems to be fixed... but there is more :-) i'll open another ticket and ask if it's a real issue... |
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 |