Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Moreup is not updated after _advance/_reverse are sent to a griddata.

tested in Trigbuilder, in uiOneSDK 1.3.0.331641. Also tested (and bug present) in 1.2.1.

Test parcel attached. Pressing down/up in the left group sends _advance/_reverse to the griddata on the right hand side. The griddata iterates over a list containing the values 1,2,3.

The griddata shows the values:
value of current list element
moreup
dataindex

To demonstrate the bug:

Test 1, demonstrating that moreup is not updated following _advance
Press down.
Values change from 1,0,0 to 2,0,1. Value 0 for moreup is incorrect.

Test 2, demonstrating that moreup is updated following normal focus move
Restart
Press right - focus moves to griddata on right.
Press down.
Values change from 1,0,0, to 2,4,1. Value of 4 for moreup is correct.

Test 3, demonstrating that moreup recalculates correctly, and also that moreup is not updated following _reverse.
Restart
Press down
Values now 2,0,1 (incorrect value of moreup)
Press right
Focus now in griddata
Press down
Values now 3,9,2 (moreup has corrected)
Press left
Focus now in group on left
Press up
Values now 2,9,1 (moreup incorrect again, demonstrating that _reverse also has the bug)

Exists in the most recent internal release of 2.0 as well, filed a CR for the dev team to investigate.

Exists in the most recent internal release of 2.0 as well, filed a CR for the dev team to investigate.