View Issue Details

IDProjectCategoryView StatusLast Update
0015966ScribusScripterpublic2019-11-27 15:32
Reporterale Assigned To 
Status newResolutionopen 
Product Version1.5.6.svn 
Summary0015966: Scripter: copyObject(itemName) only copies from the current page
Descriptionin 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....
TagsNo tags attached.



2019-11-27 15:32

manager   ~0047154

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...

Issue History

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