Bug 498050

Summary: Select model element variable : When typing in the search, it doesn't expand the tree
Product: [Modeling] Sirius Reporter: Axel RICHARD <axel.richard>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: maxime.porhel, steve.monnier
Version: 4.0.0Keywords: triaged
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
sampleTools none

Description Axel RICHARD CLA 2016-07-18 07:17:10 EDT
In a container creation tool (or any other creation tool), add a "Select model element variable" configured with a tree.

The, when typing in the search field of the wizard, it doesn't expand the tree, if the searched element is a leaf of the tree.
Comment 1 Steve Monnier CLA 2016-07-20 05:43:20 EDT
Thanks for your detailed bug report. Is it possible to add your sample?
Comment 2 Axel RICHARD CLA 2016-07-21 10:42:11 EDT
Sorry, I have no sample to share.
Comment 3 Maxime Porhel CLA 2016-07-25 02:47:11 EDT
Created attachment 263281 [details]
sampleTools

Steps to reproduce: 
. open the attached diagram
. select one of the provided tools
. type a in the filter section

Note: the provided VSM contains 2 selection wizard tools (tree and !tree) and 2 generic tool with a select element variable (tree and !tree). I noticed a difference between the generic tool wizard and the other ones: it uses the contained variables to compute the precondition, the use of a selectElementModelVariable triggers the popup for each precondition check.