Hello,
I've seen some strange behaviour in a windows build of an application: (8.30 version of EW)
I have a Gui component that has a property 'DataSource' that takes a class type.
Inside the 'set method for the property':
// usual boilerplate...
pure DataSource = value;
attachobserver mySlot, ^DataSource.MyBoolProperty;
Inside the 'DataSource' class's 'onSetMyBoolProperty': (This is just a plain Chora class)
notifyobservers ^MyBoolProperty;
This is called after a timeout. via MyBoolProperty=true.
In the IDE emulation environment this works fine: after the timeout, the GuidClass.mySlot is called when notifyobservers is called.
When I build for windows, the slot is not called.
By adding a button to the GUI, I called 'notifyobservers' from within the GUI component (notifyobservers ^DataSource.MyBoolProperty'.
- this works in windows and simulation.
It seems that the 'notifyobservers' only works if called within the context of the GUI component.
Has anyone else seen this? (I've also checked the 'ref' passed into the EW C call and it's the same in both cases.)