Bug 485198 - Desactivate a layer containing tool reuse leads to the suppression of default layer tool
Summary: Desactivate a layer containing tool reuse leads to the suppression of default...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.1.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-01-05 04:54 EST by Jerome Pequery CLA
Modified: 2019-04-01 11:35 EDT (History)
3 users (show)

See Also:


Attachments
simpel reproduction case (6.40 KB, application/x-zip-compressed)
2016-01-05 04:54 EST, Jerome Pequery CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Pequery CLA 2016-01-05 04:54:54 EST
Created attachment 258997 [details]
simpel reproduction case

In a diagram extension, I create a new layer containing a new tool section. This tool section references some tools from the default layer (yes, tools are duplicated in the palette). 

I activate my layer, the tool is visible in each section of the palette. When I desactivate the tool, the tool is removed from both sections, instread of only the section associated to the layer. 

I'm adding a reproduction sample in this issues.
Comment 1 Laurent Redor CLA 2016-01-28 08:08:49 EST
Bug confirmed (with reproduction case).
Comment 2 Nicolas PERANSIN CLA 2019-04-01 11:35:34 EDT
Similar use-case tested on Sirius 5.1.2 :

- Create a tool.
- import this tool in 2 differents layers of diagram extension.
- activate the 2 layers
=> the tool is available.

- desactivate 1 layer
=> the tool disappears while expected to be available.

Futhermore, 
- close/reopen the diagram (with 1 layer)
=> the tool is available.