Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#2797 closed enhancement (fixed)

Documentation view and parameter dialogue do not render images

Reported by: dietmarw Owned by: adeas31
Priority: high Milestone: 1.9.4
Component: OMEdit Version: trunk
Keywords: Cc:

Description

If the info annotation contains images then these are not rendered in neither the documentation view nor the parameter dialogue.

Change History (13)

comment:1 Changed 10 years ago by adeas31

Parameter dialogue doesn't render images that true. But can you provide an example of documentation view?

comment:2 Changed 10 years ago by adeas31

  • Status changed from new to accepted

comment:3 Changed 10 years ago by dietmarw

Have a look at Modelica.Magnetic.FluxTubes.Shapes.FixedShape.Cuboid

comment:4 Changed 10 years ago by dietmarw

I just noticed that it is basically just a parameter view issue. Only Dymola also displays the parameter list (and hence the graphics therein) in the documentation view. So all you need to get fixed is the parameter view also rendering images and their display in the documentation view. :-)

Last edited 10 years ago by dietmarw (previous) (diff)

comment:5 Changed 10 years ago by adeas31

Well the Modelica specification only talks about "info" and "revisions" for the documentation view. See "17.2 Annotations for Documentation".

However, the tool can of-course decide to display parameters etc. I just noticed that Dymola also display extends information and connectors.

We can also display this information so I will keep this ticket alive and will hopefully implement it sometime in future.

comment:6 follow-up: Changed 10 years ago by dietmarw

Even if you decide to not include parameters in the documentation view, the lack of display of groupImage in the parameter dialogues is something that would need fixing first.

comment:7 in reply to: ↑ 6 Changed 10 years ago by adeas31

Replying to dietmarw:

Even if you decide to not include parameters in the documentation view, the lack of display of groupImage in the parameter dialogues is something that would need fixing first.

Yes. I will look at it.

comment:8 Changed 10 years ago by adeas31

The group image is now supported in r22116.

comment:9 follow-up: Changed 10 years ago by dietmarw

Excellent thanks. Will test it with the new nightly tomorrow.

comment:10 in reply to: ↑ 9 Changed 10 years ago by adeas31

Replying to dietmarw:

Excellent thanks. Will test it with the new nightly tomorrow.

Thanks for testing and reporting such things :)

comment:11 Changed 10 years ago by adeas31

  • Resolution set to fixed
  • Status changed from accepted to closed

comment:12 Changed 9 years ago by dietmarw

  • Milestone changed from Future to pre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:13 Changed 7 years ago by sjoelund.se

  • Milestone changed from pre1.9.4 to 1.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.