Page 2 of 2
Re: revCursors magically attaches to my stacks
Posted: Wed Dec 18, 2019 12:47 pm
by Lagi Pittas
Hi
12 years later and I get it again after a year without getting it.
I think the "Recipe" is - you rename the stack and then do a build.
The system get's it's knickers in a twist (technical explanation).
The fix above from mark still works and to save people looking ...
Code: Select all
lock messages
delete stack "revCursors" of stack "myStack"
save stack "myStack"
unlock messages
Lagi
Re: revCursors magically attaches to my stacks
Posted: Wed Feb 05, 2020 11:25 am
by EAL
Hi all,
I am getting this repeatedly when saving as standalone.
I also get strange cursor icons, or there is no icon at all.
Do I need a revCursors stack in my project when I save as standalone?
But why the error messaage: already in memory?
But why oh why am I getting also the stacks Color Chooser, File Selector, Page Setup, Page Setup Dialog, Print Dialog and Printer Chooser?
What do I need to do to restore the cursors to what I see in the developing environment?
TIA
Elly
Re: revCursors magically attaches to my stacks
Posted: Wed Feb 05, 2020 4:08 pm
by FourthWorld
Those stacks are normally added only to a copy of the mainstack when a standalone is built.
The recipe for removing them is above in an earlier post.
I'm very interested in seeing if we can reproduce this so it can be prevented.
@Lagi, is your recipe a reliable means of reproducing this issue?
@anyone: has a bug report been filled against this?
Re: revCursors magically attaches to my stacks
Posted: Wed Feb 05, 2020 5:54 pm
by dunbarx
QCC shows nothing when I searched for "revCursors"
Craig
Re: revCursors magically attaches to my stacks
Posted: Wed Feb 05, 2020 8:05 pm
by FourthWorld
dunbarx wrote: Wed Feb 05, 2020 5:54 pm
QCC shows nothing when I searched for "revCursors"
Thanks for checking, Craig.
Anyone with a recipe for reproducing this have a moment to submit a report for it?
https://quality.livecode.com/
Re: revCursors magically attaches to my stacks
Posted: Thu Feb 06, 2020 11:47 am
by Lagi Pittas
Hi Richard,
I would'nt say its 100% foolproof because if memory serves, whenever I "savesas" to change the name (not the first time) and then I did a compile more often than not the problem surfaced - so I make sure if I do a "saveas" I exit LC and come back in - which is why I went for over a year without it happening.
Just decided to test my hypothyesis ... and it turns out to be a wild goose chase.
I took a single stack with maybe 25 lines of code , did a save as and tried to compile a standalone. It came back with that useless error of "there is a stack with the same name" Save, Cancel , Purge - which always seems to go into a loop whatever I press, but no cursor problem.
I then did the same for the main stack with thousands of lines and multiple stacks where this problem has surfaced before, and guess what? It compiled without a problem. I tried a second time (I don't trust computers

) still no problems. Then again I think I have only had the problem once in the 9X series - it happened multiple times in the 6x series.
Sorry for the false "recipe"
Lagi
Re: revCursors magically attaches to my stacks
Posted: Thu Feb 06, 2020 3:26 pm
by FourthWorld
Thanks for testing that out, Lagi. At least we can now rule out one hypothesis.
We're not seeing a lot of these issues, but just enough that I still wonder if it's either a bug in the IDE, or something the IDE may be enhanced to prevent.
As I see more cases I'll try to work with those affected to see what we can learn. So far it's only about three, free enough that it's not likely a simple recipe, but just enough to suggest some sort of workflow pattern.