Dyalog / ewc-client

Other
1 stars 4 forks source link

Multi-point text does not appear (originally: Form is not drawn until Size is set) #116

Closed mkromberg closed 3 months ago

mkromberg commented 9 months ago

Run Demo_Issue116. Nothing appears. Run Demo_Issue116p, which is identical except that it adds one message after the WS of the BCol:

{"WS":{"ID":"F1","Properties":{"Size":[95,745]}}}

... now the form appears.

mkromberg commented 9 months ago

After the original problem was solved, it is still a problem that the text does not appear on the form.

mbaas2 commented 3 months ago

There seems to be some sort of regression, as Demo_Issue116 and Demo_Issue116p both just produce an empty screen. grafik

mkromberg commented 3 months ago

I suspect that a fix that allowed a multi-line text to be displayed using a single co-ordinate has broken this case, where a three-element text has three distinct points.

The problematic text property is created using: {"WC":{"ID":"F1.TEXT1","Properties":{"HAlign":1,"Points":[[[10,25,40],[190,190,190]]],"Text":[" ","Operation Cancelled"," "],"Type":"Text"}}}