Bug 440315 - Tooltip missing on bordered node with border label
Summary: Tooltip missing on bordered node with border label
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.0.1   Edit
Assignee: Maxime Porhel CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 440439 440362
  Show dependency tree
 
Reported: 2014-07-24 06:07 EDT by Melanie Bats CLA
Modified: 2015-05-20 07:55 EDT (History)
1 user (show)

See Also:


Attachments
Modeler with displayed tooltip (4.21 KB, application/x-zip-compressed)
2014-07-24 09:58 EDT, Maxime Porhel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Melanie Bats CLA 2014-07-24 06:07:32 EDT
If I define a tooltip on a border node with the label defined as "border", the tooltip will not appear else if the label is defined as "node" it works.
Comment 1 Maxime Porhel CLA 2014-07-24 09:58:32 EDT
Created attachment 245345 [details]
Modeler with displayed tooltip

Step to reproduce: 
. Open the diagram from the attached use case
. Check all tooltips fo the grayed nodes
=> The tooltip is not shown for the bordered node with labelPositon=node
Comment 2 Maxime Porhel CLA 2014-07-24 10:16:52 EDT
See https://git.eclipse.org/r/30431

DiagramBorderNodeEditPartOperation called the setTooltipText only when the labelPositio was node.

DiagramNodeEditPartOperation is calling setTooltipText for both positions. But is called the refresh of the border only when labelPosition=node. This is also corrected by the current patch set.
Comment 3 Maxime Porhel CLA 2014-07-24 11:12:36 EDT
Corrected by commit 4b8e0c57da412df5b9e49732621ed785dc53eaf5
Comment 4 Pierre-Charles David CLA 2015-05-20 07:55:30 EDT
Available in Sirius 1.0.1.