Opened 8 years ago
Closed 8 years ago
#4198 closed enhancement (invalid)
OMEdit expands all in a way that is difficult to reverse
Reported by: | anonymous | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.12.0 |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description
1) Simulate a model. E.g. Modelica.Electrical.Analog.Examples.Rectifier. In the variables browser the variable list is correctly collapsed.
2) write in Filter Variables field "t" as if you want to search this character in variables' names (or because you start writing a search string beginning with "t"). The variable tree is totally unfolded by OMEdit
3) delete "t". The variables tree stays unfolded. This means that many variables are listed, making it difficult to find the wanted one. To fold everything back it seem that the only possibility is to manually fold many branches, or re-simulate the model.
I think it is advisable to add a context menu "fold everything" command. Optimal would be to have this on any tree branch, so that everything below it can be folded using this command.
As a minimal solution, this command should be made available on the already existing output file name context menu, in the Variables Browser.
We already have "Expand All" and "Collapse All" buttons. Click on the drop down button next to "Filter Variables" text box.