Opened 11 years ago
Closed 11 years ago
#2497 closed defect (fixed)
Connection misbehavior
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.1 |
Component: | OMEdit | Version: | trunk |
Keywords: | Connect connection editor connection mode connector edge symbol | Cc: |
Description
Some models of the Modelica Standard Library (MSL) have their connectors located at the edges of the symbol. Example: Modelica.Magnetic.FundamentalWave.Components.SinglePhaseElectroMagneticConverter
To better explain the problem I use the abbreviation EC model to refer to a model where connectors are located at the edges of the symbol.
In the OpenModelica graphical editor the connectors of such models cannot be connected.
- If one connects from and EC model to another model, the connection editor does not catch the connector
- If one connects from another model to the EC model, the connector is also not caught.
Clicking onto one of the edge connectors always resizes the symbol, but no connection is established. I guess this is a priority problem, so resizing seems to be treated before connecting. Since the connection mode can be turned on/off in the editor, the solution may be to change the priority: treat connecting before resizing. Then resizing can be performed when the connection mode is off.
Change History (2)
comment:1 by , 11 years ago
- If one connects from an EC model to another model, the connection editor does not catch the connector
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r21090.
You don't need to turn connection mode on/off. If the component is selected then the resizing is preferred. When the component is not selected then clicking on the port starts the connection.