Template popups readonly in 2023?

Template popups readonly in 2023?

mischa_spelt
Advisor Advisor
2,061 Views
6 Replies
Message 1 of 7

Template popups readonly in 2023?

mischa_spelt
Advisor
Advisor

[ FlexSim 23.0.10 ]

A customer just pointed out to me that as of FlexSim 2023 it seems like template popups (the one used when no other popup is specified) have turned readonly.

I assume (and hope, because it would be a painful exercise to create all custom popups for this customer's module) that this is a bug.

Steps to reproduce:

In any code editor, use the /**/ notation to create a templated script, e.g.

return /**The value is: *//***tag:value*//**/42/**/;

Click the 1697441937409.pngProperties button.

Expected result:

The template popup is editable:

1697442067705.png

Observed result:

The popup is readonly and greyed out

1697442090394.png


Accepted solutions (1)
2,062 Views
6 Replies
Replies (6)
Message 2 of 7

philboboADSK
Autodesk
Autodesk
Accepted solution

I'll add a case to the dev list to look into this.

The base software doesn't have any templates without popup UIs anymore, so it is likely that an unrelated change inadvertently affected this.



Phil BoBo
Sr. Manager, Software Development
Message 3 of 7

mischa_spelt
Advisor
Advisor
Thanks Phil. Looking forward to the dev team's assessment so that we can decide to wait for a bug fix or if we need to plan a rewrite of the UI.
0 Likes
Message 4 of 7

Matthew_Gillespie
Autodesk
Autodesk
It looks like this was an unintentional change after updating to a newer version of Scintilla. We should be able to fix this for a bug fix release. However, I would discourage using the old template popups. It's basically a deprecated feature that we no longer use.


Matthew Gillespie
FlexSim Software Developer

Message 5 of 7

mischa_spelt
Advisor
Advisor
Thanks Matthew, much appreciated! I think there are more legacy modules / user libraries out there than you may realize, so if it's a relatively easy fix to keep it working for the near future that would be great. At least it'll make this particular customer quite happy (and me, for not having to create a bunch of specific panels).
0 Likes
Message 6 of 7

Matthew_Gillespie
Autodesk
Autodesk

@Mischa Spelt This issue is now fixed in 23.0.12 and 23.2.2



Matthew Gillespie
FlexSim Software Developer

Message 7 of 7

mischa_spelt
Advisor
Advisor
That was quick, thanks for the update!
0 Likes