View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015966 | Scribus | Scripter | public | 2019-11-26 19:05 | 2019-11-27 15:32 |
Reporter | ale | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.5.6.svn | ||||
Summary | 0015966: Scripter: copyObject(itemName) only copies from the current page | ||||
Description | in the scripter, if you copy an item by using its name, copyObject() will silently copy nothing, if the item is not on the current page. we should - document this - give an error if no item is copied or, better, allow copying items from any page.... | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
i've dived a little into this... the issue seems to happen when scribus_copyobject does currentDoc->m_Selection->addItem(i); from there it goes to sendSignals() and i would dare to guess that the issue happens when the selectionChanged() signal is received by some part of scribus. of course, it's sane to check if the item is on the page in the UI... maybe not alwys perfect when it's done from the scripter... : - ) i will try to further dive into that... |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-11-26 19:05 | ale | New Issue | |
2019-11-26 21:09 | ale | Summary | Scripter: pasteObject() does not paste on the current page => Scripter: copyObject(itemName) only copies from the current page |
2019-11-26 21:09 | ale | Description Updated | |
2019-11-27 15:32 | ale | Note Added: 0047154 |