Bug 500871

Summary: Tools (non-Palette) defined in a disabled/deactivated layer are active
Product: [Modeling] Sirius Reporter: Nikolay Manolov <nik.manolov>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3 CC: laurent.fasani
Version: 4.0.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 8   
Whiteboard:

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.