It turns out I think I'm not doing something wrong, but I fixed it anyway. ;-)
It appears the "clone" command doesn't match the documentation. For me, in LC 8 on a Mac, it seems that issuing a clone command for a card in another stack doesn't clone the card in its owner, but to the stack running the script. This isn't just a Navigator thing, I tested with two new stacks. "go"ing to the stack containing the card to be cloned before cloning it eliminates the issue. So, much the same as I do for relayering controls for drag and drop, I now store the current topstack, lock messages and the screen, go to the card to be cloned, and then return. There appear to be some anomalies associated with this: after it's done the topstack doesn't have the right decorations, and there were some other issues as well; but the main problem of the cloned card going into Navigator is, I think, fixed. You can update Navigator to get the fix: Get Navigator here <https://www.dropbox.com/s/kz3zqi4botzglgq/navigator.zip?dl=1>. Or grab it from GitHub <https://github.com/gcanyon/navigator>. On Tue, Aug 21, 2018 at 1:13 AM Geoff Canyon <gcan...@gmail.com> wrote: > Wow, that's a brutal bug. You're not doing anything wrong, I am ;-) > > I'm looking at it now... > > On Tue, Aug 21, 2018 at 12:35 AM Matthias Rebbe via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi, >> >> today i wanted to clone a card with Navigator, but the cloned card then >> is added to the revNavigator stack instead to the original stack. And much >> more important, after cloning the card revNavigator is going to that cloned >> card. So no way to use Navigator until i restart. >> >> I tried both, cloning from the card list and also cloning when “this >> card” is selected. >> >> Am i doing something wrong or am i missing something? >> >> Regards, >> >> Matthias >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode