How's this: the expected behavior is not documented (as far as I can find), so I don't know what the expected behavior is. I have tested modifying a widget, rebuilding it, and re-adding it to LC. That does not seem to cause existing widgets to update. Is that a bug in my code, and am I doing something wrong that is leading me down this path? 100% absolutely, positively, maybe, and then I'm just chasing a phantom...again... I also don't think there is a documented way to see what version each widget is in a particular...widget, but I think we might be able to. We can certainly tell which version of a widget is installed in LC (bug report 23952, whose code is going to go into the hack repo, soon).
If I am write, and it is not a bug in my code, then it absolutely is a disadvantage to using widgets...until this hack is complete. On Sun, Sep 25, 2022 at 12:59 PM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > On 9/25/2022 12:41 PM, Mike Kerner via use-livecode wrote: > > chasing all the things that aren't documented, but you need to know about > > LCB took me back into hacking liveCode. > > it's just getting started. if you have tools or pointers, the > > repo/wiki/issues/discussion are at https://github.com/macMikey/LC-HACK > > Project 1: extracting all properties of a widget (because "export" does > not > > export the "base" LC object properties) and applying those properties to > an > > updated version of the widget (because LC is releasing updates to the > > megabundle widgets almost weekly) > > Project 2: documenting the LC IDE API's? > > > > A clarification please: Are you saying that if I have version 1.1.2 of > PolyGrid (as an example) installed and I have made a stack using 1 or > more Polygrids and I now download and install version 1.3.1 (or some > newer version) of PolyGrid, that when I open my stack the PolyGrids in > that stack do not update from 1.1.2 to 1.3.1? > > If so, this is a terrible disadvantage of any use of widgets. I feel I > must be misunderstanding why exporting properties to re-apply them is > needed for updates. > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode