Complete
over 3 years ago

VVA4-5274

Fixed

Obscurity flags wrong on Venu device but OK in simulator

I'm writing a complex data field for a user. He reported that the font size I'd chosen was too big for the middle positions of the 4-fields layout.

It turns out that getObscurityFlags() returns 5 (OBSCURE_LEFT | OBSCURE_RIGHT) when it should return OBSCURE_LEFT for the left hand position or OBSCURE_RIGHT for the right hand position.

This can be demonstrated by making a complex datafield app using the  Eclipse wizard, calling getObscurityFlags() in onUpdate() and displaying the result.

My workaround is to check the field width to see if it's one of the middle fields of the 4-fields layout or the middle one of the 3-fields layout (where OBSCURE_LEFT | OBSCURE_RIGHT is correct) but you can't tell the left field from the right one.

getObscurityFlags() returns the expected result in the simulator.