No, I think it is definitely a bug.
I exported the descriptions to Clipboard, look yourself (and try it):
1. the main Task:
Task: zTestAction
A1: Variable Set [
Name: %test
To: 0
Do Maths: On
Max Rounding Digits: 0 ]
A2: Show Scene [
Name: TestAction
Display As: Activity
Horizontal Position: 100
Vertical Position: 100
Animation: System
Continue Task Immediately: On
Allow Outside Boundaries: On
Blocking Overlay +: On
Overlay +: On ]
2. the Child Task:
Task: zTestActionVarTest
A1: Variable Set [
Name: %test
To: 3
Do Maths: On
Max Rounding Digits: 0 ]
A2: Return [
Value: %test
Stop: On
Local Variable Passthrough: On
Replace On Passthrough: On ]
And the Scene, I would like to export too, but the export is another buggy thing, lacking the most important parts, the Events, they are only a number, no information what they does.
And the two Actions are just not described at all.
I explain all those after the Scene's description.
2. The Scene:
Scene: TestAction
P:702x1248 L:-1x-1
Orientation: System
Background Colour: #FF000000
Action Bar Style: System
Title: TestAction
Subtitle:
Icon: null
Tab Labels:
Events:
Key: 998
Element: Button1/Button
Geometry:
P:227,673 234x248 L:-1,-1 -1x-1
Content:
Label: Test = 1
Label Size: 16
Label Width Scale %: 100
Label Colour: #FFFFFFFF
Font:
Position: Centre
Icon: null
Events:
Click: 991
Element: Button2/Button
Geometry:
P:227,401 234x271 L:-1,-1 -1x-1
Content:
Label: Alert Testvar
Label Size: 16
Label Width Scale %: 100
Label Colour: #FFFFFFFF
Font:
Position: Centre
Icon: null
Events:
Click: 992
So here what the Events do:
Key 998 is Destroy Scene on back
Click 991 is Alert %test
Click 992 is %test=1
Action 1 does Variable Set %test=2
Action 2 does Perform Task zTestActionVarTest
Priority = %priority + 1
Return Value Variable = %test
Local Variable Passthrough = On
Reset Return Variable = Off (if I check this, I get an empty var %test in my Button1-Alert)
Allow Overwrite Variables = On
(the other fields are unset or unchecked)
To conclude: the bug is, that
When I hit the ? near "Allow Overwrite Variables" (in the Perform Task Action) I can read:
"If enabled the child task is free to overwrite any variables that already exist in this parent task.
Please note that you need to enable the option to replace in the 'Return' action as well"
And this is checked (see above the Task 2 description "Replace On Passthrough: On").
So I hope that this issue could be fixed :) :)
I dont want to use global variables for it, though it would work.
Thank.frank
By the way, the App Factory on DropBox is still 6.0.9-beta and Tasker direkt is already 6.10-rc. Possible to update App Factory to the same version? Thank!