revNavigator - Cloning a card - am i doing something wrong?

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Tue Aug 21 11:58:38 EDT 2018


Geoff,
thanks for the quick update.

There´s another thing i noticed:

I moved the opened revNavigator stack on the right side of the LC Menu below the Mac OS X menu bar.
When i click the arrow icon to collaps the revNavigator stack, then it is moved outside of the screen.

I have to change  the y-coordinate from 29  to 155 to get it displayed again.  

Regards,
Matthias


> Am 21.08.2018 um 11:31 schrieb Geoff Canyon <gcanyon at gmail.com <mailto:gcanyon at gmail.com>>:
> 
> 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 <gcanyon at gmail.com <mailto:gcanyon at 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 at lists.runrev.com <mailto:use-livecode at 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 at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode <http://lists.runrev.com/mailman/listinfo/use-livecode>



More information about the use-livecode mailing list