Bug 549004 - Autosize action does not work when used from a custom tabbar
Summary: Autosize action does not work when used from a custom tabbar
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.2.1   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2019-07-05 05:44 EDT by Pierre Guilet CLA
Modified: 2019-07-29 04:44 EDT (History)
1 user (show)

See Also:


Attachments
project to reproduce (40.08 KB, application/x-zip-compressed)
2019-07-05 05:44 EDT, Pierre Guilet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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/