question

Mischa Spelt avatar image
2 Likes"
Mischa Spelt asked Mischa Spelt commented

Template popups readonly in 2023?

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


FlexSim 23.0.10
bug reportcode editorcustom code template
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Mischa Spelt commented

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.

· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

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

1 Like 1 ·
Mischa Spelt avatar image Mischa Spelt Matthew Gillespie ♦♦ commented ·
That was quick, thanks for the update!
0 Likes 0 ·
Mischa Spelt avatar image Mischa Spelt commented ·
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 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Mischa Spelt commented ·
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.
1 Like 1 ·
Mischa Spelt avatar image Mischa Spelt Matthew Gillespie ♦♦ commented ·
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 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.