Tools Pallet goes missing

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

user#606
Posts: 217
Joined: Sun Jan 27, 2008 12:25 pm
Contact:

Tools Pallet goes missing

Post by user#606 » Fri Jul 19, 2013 3:10 pm

With LC6.1 on PC, has anyone found the Tools Pallet vanishing and not retrievable unless restarting LC?
I know you can select Pointer or Browser from the Tools Menu, but it still does not come back.
I have been coding with Drag & Drop and I wonder if that has somehow messed up the system.

Has anyone else experienced this issue?

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Tools Pallet goes missing

Post by LCNeil » Fri Jul 19, 2013 3:24 pm

Hi User#606

The next time the tools pallet vanishes try running the following script in the message box-

Code: Select all

set the visible of stack "revTools" to true
This should hopefully show the tools pallet again if it has been hidden

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--

user#606
Posts: 217
Joined: Sun Jan 27, 2008 12:25 pm
Contact:

Re: Tools Pallet goes missing

Post by user#606 » Fri Jul 19, 2013 3:27 pm

Thanks for the tip.
never had this issue before though.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Tools Pallet goes missing

Post by dunbarx » Fri Jul 19, 2013 5:16 pm

Hi.

What runRevNeil said.

My two cents is just that all window objects in LC are simple (!) stacks. They are not mysterious gadgets. You can deal with them as simply (!) as Neil said: show them if they are not visible, and at a certain loc if you wish. Note that they are also modifiable. I always do this with the script editor, based on an idea from Mr. Thierry, that gets rid of system globals in the variable pane when stepping through code.

Craig Newman

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Tools Pallet goes missing

Post by Simon » Fri Jul 19, 2013 6:57 pm

Found the code Craig,
Nice upgrade!

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Tools Pallet goes missing

Post by dunbarx » Sat Jul 20, 2013 12:52 am

Simon.

I hated those globals. They took up so much room, and sat at the top of the field to boot.

There is a switch in the preferences at the script editor pane that ostensibly does just this, but it does not seem to work. Never has.

Craig

exheusden
Posts: 170
Joined: Fri Oct 09, 2009 5:03 pm
Contact:

Re: Tools Pallet goes missing

Post by exheusden » Tue Aug 13, 2013 12:30 pm

I used to have the same problem with RunRev. Hasn't changed with LiveCode: tools palette still disappears and no amount of menu use will make it reappear. The Set Visible is all that seems to do the trick (and I always forget it!).

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Tools Pallet goes missing

Post by FourthWorld » Tue Aug 13, 2013 6:02 pm

It would be helpful if we could pin down what's causing this. I've never seen it, but I don't doubt you have, and that we're both using the same install almost rules out both the engine and the IDE as the root cause.

What plugins do you have installed?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

exheusden
Posts: 170
Joined: Fri Oct 09, 2009 5:03 pm
Contact:

Re: Tools Pallet goes missing

Post by exheusden » Tue Aug 13, 2013 7:08 pm

Richard, if you mean plug-ins for LiveCode, then no additions: just use the basic package as it comes. I have noticed, however that LiveCode fails a lot more than RunRev used to. This seems to happen most when using or after having used the Dictionary: text input is impossible; script editing window is shown empty (very worrying!)… I then have to quit and restart, after which I'm back to normal. Also, saving takes considerably longer now that it did in RunRev.

OS X 10.8.4
LiveCode 6.1.1-rc-2 Build 2007

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Tools Pallet goes missing

Post by FourthWorld » Tue Aug 13, 2013 7:34 pm

Thanks, exheusden, that background is helpful. If you find a repeatable recipe for this please log a bug report:
http://quality.runrev.com/

After you do it would be helpful to post the report number here so we can follow its progress.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

exheusden
Posts: 170
Joined: Fri Oct 09, 2009 5:03 pm
Contact:

Re: Tools Pallet goes missing

Post by exheusden » Wed Aug 14, 2013 12:17 pm

I can actually make the tools palette disappear, though I don't know if this would be considered normal behaviuor.

Firstly, because the tools palette is hardly ever present, I do a "set the visible of stack "revTools" to true" and it shows up nicely. I can even use it. I then execute a "go to stack "eBook templates" (a substack of the stack in which that line of code is executed) and the tools palette promptly disappears, even though it is still shown as active in the Tools menu (Tools Palette ticked). Deselecting and reselecting Tools>Tools Palette has no effect; the only way to get the palette back is to once again run a "set the visible of stack "revTools" to true".

As for the other errors, I shall see if I can find a recipe for them!

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Tools Pallet goes missing

Post by FourthWorld » Wed Aug 14, 2013 3:07 pm

exheusden wrote:I then execute a "go to stack "eBook templates" (a substack of the stack in which that line of code is executed) and the tools palette promptly disappears, even though it is still shown as active in the Tools menu (Tools Palette ticked).
Do you see a change if you use this instead?:

Code: Select all

open stack "eBook template"
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

exheusden
Posts: 170
Joined: Fri Oct 09, 2009 5:03 pm
Contact:

Re: Tools Pallet goes missing

Post by exheusden » Wed Aug 14, 2013 6:48 pm

With open stack… the tool palette remains visible.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Tools Pallet goes missing

Post by FourthWorld » Wed Aug 14, 2013 7:03 pm

exheusden wrote:With open stack… the tool palette remains visible.
Thanks. I think I see what's happening here, and would welcome suggestions from those familiar with the IDE code on how we might fix this.

The "go" command can sometimes be used to replace the window which has focus at the time it's used. This normally occurs only with the "go...in window..." form, so it seems something is amiss here if you're not using the "in window" option.

The "open" command is never used to replace the window, always opening the specified stack in a new window.

What may have happened is that when you open the tool palette with no other windows open, the "go" command is acting on the tool palette, and for some reason it seems to be acting as though the "in window" option was used, effectively replacing the tool window with the window for the specified stack.

So using "open" seems to fix the problem, but I'm still curious about why this happened at all. I can't reproduce it here - any tips I might try for making it happen?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

exheusden
Posts: 170
Joined: Fri Oct 09, 2009 5:03 pm
Contact:

Re: Tools Pallet goes missing

Post by exheusden » Wed Aug 14, 2013 8:02 pm

Firstly, note that a stack window is already open, together with the Tools Palette, when a substack is opened with "go", causing the Tool Palette to disappear.

Then,
FourthWorld wrote:So using "go" seems to fix the problem…
No, using "open stack" seems to fix the problem.

You also write that using "go" effectively causes the tool window to be replaced. Well, in a way, though the newly opened window does not occupy the same place as the disappearing Tool Palette.

I don't know if it has anything to do with this, but closing a window with the red close button always causes the "Do you want to save changes to stack…" message, even when no changes have been made (indeed, even when nothing at all has been done with the stack, other than oening it). I've tried this with reasonably complex stackes (stacks with many cards and with substacks) and also with simple one-card stacks: I *think* this always happens with LiveCode.

Post Reply