View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011019 | Scribus | Usability | public | 2012-08-09 09:33 | 2015-11-13 01:47 |
Reporter | cezaryece | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.5.0svn | ||||
Summary | 0011019: Bug: unwanted move of welded items if welding point of master items doesnt change its position | ||||
Description | If you have welded items and you resize master item but in way that welding point doesnt move then child item should not be moved, but it is. Below is small patch fixing it. | ||||
Additional Information | diff --git a/Scribus/scribus/pageitem.cpp b/Scribus/scribus/pageitem.cpp index cd7f342..2567165 100644 --- a/Scribus/scribus/pageitem.cpp +++ b/Scribus/scribus/pageitem.cpp @@ -9836,6 +9836,10 @@ void PageItem::updateClip() gr4.map(ma); double dx = gr4.point(0).x() - wp.x(); double dy = gr4.point(0).y() - wp.y(); + if (Xpos != oldXpos) + dx -= (Width - oldWidth); + if (Ypos != oldYpos) + dy -= (Height - oldHeight); moveWelded(dx, dy, i); wInf.weldPoint = gr4.point(0); weldList[i] = wInf; | ||||
Tags | No tags attached. | ||||
Patch | |||||
child of | 0012496 | acknowledged | Metabug: Marks & Footnotes & Weld (1.5.0.svn) |