Closed WelliSolutions closed 6 months ago
It seems like Package Explorer shows the first OPC (Open Packaging Conventions) thumbnail image that is described in the _rels/.rels
file. It does not consider the Identification/Thumbnail (semantic IDs https://www.hsu-hh.de/aut/aas/identification and https://www.hsu-hh.de/aut/aas/thumbnail).
So this issue is probably a feature request rather than a bug.
Let me change my mind again while I'm still learning... Each AAS has an AssetInformation. AssetInformation may have a DefaultThumbnail resource. Better use that one.
Hello, yes, the OPC convention foresees, that there only one thumbnail. For a thumbnail per AAS, use the AssetInformation/DefaultThumbnail ressource. For efficiency reasons, the AASX Package Explorer only changes the left-hand display, when the user selects an AAS (not for every sub-ordinate element of the tree). With the current branch: MIHO/Post_XMAS2023_Bugfixes I've checked the behaviour and it seems to work as intended: fallback is the OPC thumbnail, the AssetInformation/DefaultThumbnail is dominant (see attached modified AASX).
I think it is closed.
Unfortunately, I can't reproduce the described behavior with the current release (v2024-06-10).
@MichaelHoffmeisterFesto As long as this doesn't work in the current release, I wouldn't consider the issue as closed.
Describe the bug When an AASX file has 2 AAS, Package Explorer always displays the thumbnail of the first AAS.
To Reproduce Steps to reproduce the behavior:
Expected behavior The thumbnail of the selected AAS is displayed. No Thumbnail is displayed if the AAS does not have a thumbnail.
Screenshots With Festo selected:
With the new AAS selected
Desktop (please complete the following information):
Smartphone (please complete the following information): None
Additional context Version 2023-11-17