1. Create any number global and assign it a value.
2. Call it somewhere else more than 4 times! Note: calling it indirectly for example assigning it to a local variable does count too.
Issue: the global stops functioning (outputs nothing/is empty). In the example below it should output 1, 2 and 3. Not for 4 because one slot is used up by creating the local variable!
5. Is calling multiple times the local variable… to prove/test if it is only for the number global.
This only happens for globals set to a formula, repro steps are:
Create any type of global (I’ll use a number global called n)
Set that global to a formula. Set the formula to 1 (for example).
Somewhere in the preset, access the global multiple times within one formula:
$gv(n)$$gv(n)$$gv(n)$$gv(n)$$gv(n)$$gv(n)$$gv(n)$
The formula output box in the formula editor for me shows 1111, while the text module on the preset preview after exiting the formula editor shows 11111.
Have you checked if the same thing happens in KWGT? Many Samsung users on S24/Android 15+ are reporting issues with KLWP specifically. It might be One UI’s way of handling the app’s resources.
You didn’t set the global to a formula, only put the formula in the text global. Tap the checkbox next to the global and then the calculator icon up top, then write the formula, then check using the global multiple times.
You can’t link other types of globals directly to fields, a colour property will only let you select colour globals, a numeric one number globals etc. - yes, there’s a workaround, you can set the property to a formula instead of a global, but it’s more work for the same result and this bug should just be fixed.
This is an ancient bug where if you have a root global set to a formula, and you link a komponent global to that root global, the komponent will get the raw formula text as the global value instead of the formula result. A workaround for this is to have another global in the komponent and evaluate the formula text there using fl(), like this: