Opened 6 years ago
Closed 6 years ago
#5443 closed defect (fixed)
File is opened in OMEdit if I expand and unexpand elements in the tree view
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | low | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | v1.13.2 |
Keywords: | Tree view | Cc: |
Description
In OMEdit on Windows:
OMEdit v1.13.2 (64-bit)
Connected to v1.13.2 (64-bit)
Connected to OMSimulator v2.0.1-mingw
Issue:
When expanding elements in the tree view and then quickly clicking back and forth on expand and unexpand on a specific node it is possible to open other nodes in the text or the schematic view
Change History (3)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Hello Adeel!
I tried it again just now to try to replicate it on my machine (Windows), and initialy I failed to do so!
However, now I know how to more exactly. Here are details step to reproduce this issue on Windows 10 v1.13.2:
1 Open OMEdit (Version as described in the ticket)
2 Open Modelica.Blocks.Math (Package does not really matter)
3 By mistake just select Pythagoras so that it is blue
4 Close Modelica.Blocks.Math
5 Click on Complex math to expand it once
6 Change your mind and close Complex Math
7 Change your mind several times and slowly open Complex math a couple of times
8 OMEdit will change around and you are now back at Pythagoras (And since Pythagoras was once seleced (Blue) It means that it does not matter were in OMEdit we are from time to time we will seemingly randomly open Pythagoras again and again)
It is not at all a critical bug, more something of a minor annoyance. So I keep prio as low.
I guess it has to do with OMEdit keeping state in the tree view even after we close a selection thus it partly believes that we are still at Pythagoras and is clicking that as well. So the solution should be to disremeber selection when a sub tree is collapsed
(Where this is in OMEdit I do not know however)
(As the product owner of OMEdit, do you think it is hard or can this be my first OMEdit issue?
Currently my schedule is quite crammed since I am partly at my old job, but I could take it and maybe you could guide me?)
Best regards
John
comment:3 by , 6 years ago
Milestone: | Future → 1.14.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Thanks for the detailed description. I have fixed this one now in 8eb0d6f/OpenModelica. Perhaps you can take your other ticket #5444 as your first OMEdit issue.
I am unable to reproduce this issue. But it might be that the windows interprets the quick clicking as a double click.