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|
|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.|
- document this
- give an error if no item is copied
or, better, allow copying items from any page....
|Tags||No tags attached.|
i've dived a little into this...
the issue seems to happen when scribus_copyobject does
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...
|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|