Bug 559336 - Decorations tooltips are not displayed
Summary: Decorations tooltips are not displayed
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.3.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2020-01-20 06:24 EST by Mehdi Belatrous CLA
Modified: 2020-01-24 06:22 EST (History)
1 user (show)

See Also:


Attachments
Use case to reproduce (20.64 KB, application/x-zip-compressed)
2020-01-20 06:24 EST, Mehdi Belatrous CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mehdi Belatrous CLA 2020-01-20 06:24:04 EST
Created attachment 281548 [details]
Use case to reproduce

Decorations tooltips are not displayed in the diagram editor though the corresponding function is correctly trigerred. Attached is a use case to reproduce.
Comment 1 Florian Barbin CLA 2020-01-24 05:22:03 EST
Indeed, we have a bug in org.eclipse.sirius.diagram.ui.tools.internal.decoration.DescribedDecorationDescriptorProvider.DecorationDescriptorWithLazyTooltip.getTooltipAsString() which use the DDiagramElement instead of the semantic element as parameter.

A possible workaround is changing the service signature with DSemanticDecorator as parameter type and it should works.