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: Dietmar Winkler Owned by: Adeel Asghar
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 by Adeel Asghar, 10 years ago

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

comment:2 by Adeel Asghar, 10 years ago

Status: newaccepted

comment:3 by Dietmar Winkler, 10 years ago

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

comment:4 by Dietmar Winkler, 10 years ago

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. :-)

Version 0, edited 10 years ago by Dietmar Winkler (next)

comment:5 by Adeel Asghar, 10 years ago

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 by Dietmar Winkler, 10 years ago

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.

in reply to:  6 comment:7 by Adeel Asghar, 10 years ago

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 by Adeel Asghar, 10 years ago

The group image is now supported in r22116.

comment:9 by Dietmar Winkler, 10 years ago

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

in reply to:  9 comment:10 by Adeel Asghar, 10 years ago

Replying to dietmarw:

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

Thanks for testing and reporting such things :)

comment:11 by Adeel Asghar, 10 years ago

Resolution: fixed
Status: acceptedclosed

comment:12 by Dietmar Winkler, 9 years ago

Milestone: Futurepre1.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 by Martin Sjölund, 7 years ago

Milestone: pre1.9.41.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.