Bug 549004

Summary: Autosize action does not work when used from a custom tabbar
Product: [Modeling] Sirius Reporter: Pierre Guilet <pierre.guilet>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: pierre-charles.david
Version: 6.2.1Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
project to reproduce none

Description Pierre Guilet CLA 2019-07-05 05:44:06 EDT
Created attachment 279181 [details]
project to reproduce

Auto sizing a node from the action available in a custom tabbar does not work the first time it is used. No resize is done.

Only the selection of an element that is not on the diagram will enable again the action.

Steps to reproduce,

- import the vsm project
- launch a runtime
- import sample project
- open the diagram
- click on the big node and click on auto size button.

KO no auto size is done
Click on an element of the model explorer then use again the auto size.
OK it works.
Comment 1 Pierre-Charles David CLA 2019-07-29 04:44:51 EDT
Initially reported on the forum: https://www.eclipse.org/forums/index.php/t/1099559/