Many thanks for solving this.
bwmilby wrote:I'm not sure if this is a bug or an intended change. I wouldn't think LC should crash if the OnSave handler is missing (since in this case it was omitted on purpose). I did look at the docs, and it just says that the core handlers should be included.
I think none of the widgets on github (livecode/extensions/widgets/) has all core handlers included. For example colorswatch.lcb contains not OnSave() nor OnLoad().
bwmilby wrote:Before I made the change, a corrupted version of the stack was left (with the ~ version also remaining).
The stack bears possibly another problem because it contains the LC 8 widget. But without the OnSave() the widget crashed LC 9 also with a new stack.
Anyway: As soon as the widget is installed in LC 9 it is removed for LC 8. So it is impossible to develop for LC 9 and LC 8 at the same time.
LC 8 is much more stable than the regularly crashing LC 9. I had no crash with final widgets until now with LC 8.
Of course, one could do an automatic recompiling/reinstalling when switching LC8/LC9 as LC does. But by that one cannot use one of the (recently very rare) new LCB-features ...
So currently it is, sadly, better to stay with LC 8.