Today I updated one of my apps, changed since yesterday and was having problems when newly published .. not wishing to bore all with details, I managed to boil down the issue to what seems to be a change or bug introduced between 3.19104.33 and 3.19111.28.
It appears that the Default and/or Reset function has changed (?) when actioned on a control on a different screen in that in 3.19104.33 when a global variable is Set in one screen that a control in another screen has as it's default value, this action is reflected/actioned immediately .. whereas .. now in 3.19111.28 the action isn't reflect/actioned until the screen on which the control appears is visible. This appears to be either a bug or a fundamental change!
As an example, create an app with two screens, on the first screen create a button (button1) to set two global variables _temp1 & _temp2 both to false. On screen 2 create a toggle (toggle1) with it's default set to _temp2 and it's OnChange set to "If(toggle.value,Set(_temp2,false);Set(_temp1,true))" so when this toggle is checked it will set _temp1 to true. Back on screen 1, add a label to display the value of _temp1 (initially false) and add a button(button2) with it's OnSelect being "Set(_temp2,false);Set(_temp2,true);Reset(toggle1)".
When this is saved and run with 3.19104.33 (I used the following url https://create.powerapps.com/v3.19104.33.130671691/studio/ which I found by trawling and wish I'd know before!) then from screen1 pressing the button2 one immediately sees the label showing _temp1 become true .. so the toggle on screen2 has switched on and set _temp1
.. but ...
When this is saved and run with 3.19111.28 (default now for Studio - again would be good to know what version a Studio is set to?) and from screen1 pressing button2 nothing changes (label still shows false for temp1) but if you then navigate to screen2 then the toggle is switched on and _temp1 is set as can be seen by switching back to screen1.
So it appears that changes to global variables that are used as Default values for controls used to work correctly in 3.19104.33 and are actioned immediately regardless if on current screen or not and yet in 3.19111.28 it's only when the screen (on which a control exists) is visible that the action happens.
Forgive me if I'm missing something but isn't this a major bug or a fundamental change if not?
Hoping for some light being shed ..
Derek