Bug with message Box please test and confirm
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Bug with message Box please test and confirm
Hi LC enthusiasts,
I seem to have stumbled against a very annoying bug in LC 9.0.
if i by mistake do the following statement 'put "xyz text" tMsgVar' (I forgot the into by purpose).
From that moment on the Msg Box keeps popping up as wel as a message box without any action buttons.
To show you what I mean I have made a simple stack for you to test.
Please let me know if you encounter the same problem in LC 9.0 and on what platform?
Regards,
Paul
I seem to have stumbled against a very annoying bug in LC 9.0.
if i by mistake do the following statement 'put "xyz text" tMsgVar' (I forgot the into by purpose).
From that moment on the Msg Box keeps popping up as wel as a message box without any action buttons.
To show you what I mean I have made a simple stack for you to test.
Please let me know if you encounter the same problem in LC 9.0 and on what platform?
Regards,
Paul
-
- Livecode Opensource Backer
- Posts: 9358
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Bug with message Box please test and confirm
Nothing unduly alarming "over here": Xubuntu Linux 18.04
Re: Bug with message Box please test and confirm
Same here LC 9, macOS 10.13.5
I get the script error but that's it, nothing unususal happens after that.
I can also save the stack whenever I want to.
I get the script error but that's it, nothing unususal happens after that.
I can also save the stack whenever I want to.
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: Bug with message Box please test and confirm
Thanks..... now lets wait for someone to test on Windows 10 with LC 9.0 ....
Re: Bug with message Box please test and confirm
LC9.0 and win10
Geen probleem.
The messagebox comes up as normal and an Error:
button "Button": execution error at line 4 (Handler: can't find handler) near "tMsg", char 5
Rename your preferences file. Then restart LC. try it again.
Geen probleem.
The messagebox comes up as normal and an Error:
button "Button": execution error at line 4 (Handler: can't find handler) near "tMsg", char 5
Rename your preferences file. Then restart LC. try it again.
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: Bug with message Box please test and confirm
Where is the preferences file situated ?
Can't find it.....
Can't find it.....
Re: Bug with message Box please test and confirm
Open the message box:
put the filename of stack "revpreferences"
Et voila!
put the filename of stack "revpreferences"
Et voila!
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: Bug with message Box please test and confirm
Great tip.
Renamed the file. Got a new one after restart of LC. Tested my test stack
And ..... stil got the issue....... @(^%$#()*&@^
I will reinstall LC9.0 to see if that helps. I will post the results...
Renamed the file. Got a new one after restart of LC. Tested my test stack
And ..... stil got the issue....... @(^%$#()*&@^
I will reinstall LC9.0 to see if that helps. I will post the results...
Re: Bug with message Box please test and confirm
Ok that's strange indeed.
With some weird faults, which you normally don't have, this can be a solution.
I had it a few times, but mostly when a new version was installed.
With some weird faults, which you normally don't have, this can be a solution.
I had it a few times, but mostly when a new version was installed.
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: Bug with message Box please test and confirm
An update on the problem.
After reinstalling a clean LC9.0 version there was no problem .
But I always want to know the root cause of the problem so I kept on testing until I got the issue back.
I got this issue back when I set the path for User Extensions. I seems that there is a problem with one of the items in that folder or subfolders. I do not know what item but I will keep on testing by process of elimination one by one ......
Keep you posted....
After reinstalling a clean LC9.0 version there was no problem .
But I always want to know the root cause of the problem so I kept on testing until I got the issue back.
I got this issue back when I set the path for User Extensions. I seems that there is a problem with one of the items in that folder or subfolders. I do not know what item but I will keep on testing by process of elimination one by one ......
Keep you posted....
Last edited by mrcoollion on Tue Jul 03, 2018 6:08 am, edited 1 time in total.
Re: Bug with message Box please test and confirm
Top!=Great!
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: Bug with message Box please test and confirm
Seems to be caused by any of the two script-only stacks i developed myself I have put in the plugins folder as an external. I have no idea what is going wrong.
Maybe I did not follow the correct setup/procedure for using my own script-only stack as an external?
Any pointers on where to find information ? because I do need them!
Maybe I did not follow the correct setup/procedure for using my own script-only stack as an external?
Any pointers on where to find information ? because I do need them!
-
- VIP Livecode Opensource Backer
- Posts: 7228
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Bug with message Box please test and confirm
Script only stacks probably won't work as plugins. LC writes some custom properties to plugin stacks, but script only stacks don't save any custom properties when they close (which is why they are called "script only").
You can try making a normal stack that opens the script only stacks, and use the normal one as the plugin. Or easier, just make the script only stacks into normal ones.
A third way would be to put the scripts into a couple of buttons in the plugin stack and when it opens, insert the button scripts as backscripts. I've been doing this for years for my custom developer handlers.
You can try making a normal stack that opens the script only stacks, and use the normal one as the plugin. Or easier, just make the script only stacks into normal ones.
A third way would be to put the scripts into a couple of buttons in the plugin stack and when it opens, insert the button scripts as backscripts. I've been doing this for years for my custom developer handlers.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: Bug with message Box please test and confirm
Thanks Jacque,
If will take your advise and run with it.
If will take your advise and run with it.