Opened 5 years ago
Closed 5 years ago
#5613 closed enhancement (fixed)
Double-click for parameter window doesn't work on several components
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | high | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | v1.13.0 |
Keywords: | Cc: |
Description
Double-click for parameter window doesn't work on several components, for example Modelica.Mechanics.Rotational.Components.Fixed, Modelica.Mechanics.Translational.Components.Fixed.
It works only if you have clicked on specified places within component box: a text with component's name, on lines of component's icon. If you click on empty space inside component bounding box - window won't shown.
So, you need to aim if you want to open component parameter window - not critical, but confusing - other components don't show this behavior.
Right click - works as expected.
Way to reproduce:
- Start OMEdit
- Create empty model
- Place Modelica.Mechanics.Translational.Components.Fixed on diagram
- Double-click within component box on empty space.
Tested on OMEdit 1.13.0 on Ubuntu 18.04, OMEdit 1.13.2 64-bit on Windows 7.
Change History (3)
comment:1 by , 5 years ago
Milestone: | Future → 1.14.0 |
---|---|
Priority: | normal → high |
comment:2 by , 5 years ago
Also click and drag to move objects works only when clicking in a line or filled part. Maibe also for this we should allow the operation when the click is on the extent of the object?
I also noticed this kind of behaviour, which I also found a bit annoying. I guess the difference is that some components have a filled-in white background, while some others don't. From a users's perspective, I think one would expect to get the parameter windows by double-clicking on the component's extent, not on the visibile part, so I agree this should be fixed accordingly.