Bug 500871 - Tools (non-Palette) defined in a disabled/deactivated layer are active
Summary: Tools (non-Palette) defined in a disabled/deactivated layer are active
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 4.0.0   Edit
Hardware: PC Windows 8
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-09-05 11:19 EDT by Nikolay Manolov CLA
Modified: 2016-09-07 09:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Manolov CLA 2016-09-05 11:19:45 EDT
I have  the following diagram description:
I have a layer "Tools" (optional) in which I have defined, among other things, Double Click and Direct Edit Label tools that act on mappings in layer "A" (ActiveByDefault). I have layer "B" (optional) which reuses some of the mappings in layer "A". When layer "Tools" is disabled the Palette tools are removed as expected, however the Double Click and Direct Label Edit are still active in both layers "A" and "B". 

Expected/intuitive behavior is that when a layer is disabled tools are not just hidden but also non-active.

Current outcome - tools are active even after the respective layer is deactivated.

For me this is a major bug since it allows users to interact with the diagram in a way that is not intended.
Comment 1 Nikolay Manolov CLA 2016-09-06 02:58:09 EDT
This bug is available on Both Eclipse Neon with Sirius 4 and Eclipse Luna with Sirius 2
Comment 2 Laurent Fasani CLA 2016-09-07 09:23:27 EDT
Thanks for your detailed bug report.
We have reproduced this issue and we consider it as valid.
Nevertheless, it's not yet in the scope of a future release.