"choose browse tool" Bug / Change?

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
MouseUp
Posts: 41
Joined: Sun Feb 14, 2010 3:41 pm

"choose browse tool" Bug / Change?

Post by MouseUp » Sat Apr 06, 2013 6:29 am

In my old v4.6 stack, "choose browse tool" would choose the browse tool everytime I opened my stack- whether LiveCode was previously running or not.

In v5.02, "choose browse tool" seems to get executed ONLY when LiveCode is already open. If I don't have LiveCode running and try to open the stack, the edit tool remains selected. I have found no way around this. I tried putting "choose browse tool" into openCard and openStack and still no luck. Was something changed in that way "choose browse tool" is handled or is this a bug?

(The "Can't Modify" checkbox is unchecked for the stack)

Code: Select all

on preOpenStack
   choose browse tool
end preOpenStack
Last edited by MouseUp on Wed Apr 24, 2013 2:15 am, edited 1 time in total.
Thanks,

MouseUp

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

Re: "choose browse tool" Bug / Change?

Post by Simon » Sat Apr 06, 2013 7:07 am

In 5.x everything in the startup is much slower now. You know, all those things in the dictionary marked "Important! ...library must load..." You may find even breakpoints are ignored in preOpenAnything.
Best to move those scripts to "on openCard/Stack"

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

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 264
Joined: Mon May 18, 2009 4:12 am

Re: "choose browse tool" Bug / Change?

Post by wsamples » Sat Apr 06, 2013 7:26 am

Try:

on openstack
send "browsetool" to me in 1 tick
end openstack

on browsetool
choose browse tool
end browse tool

Post Reply