Opened 8 years ago

Last modified 3 years ago

#4414 new defect

Protected (expandable) connectors within a component model are not suppressed in icon view of component when placed in other models

Reported by: anonymous Owned by: Adeel Asghar
Priority: high Milestone:
Component: OMEdit Version: v1.11.0
Keywords: expandable connector icon protected Cc:

Description

  1. Make a component with an expandable connector and appropriate icon (like Modelica.Icons.SignalBus)
  2. Make that expandable connector protected in the component
  3. View the icon layer of the component--you will see no connector icon
  4. Place that component in another diagram--the protected connectors are displayed and are available to make connections.

Change History (8)

comment:1 by anonymous, 8 years ago

This code works to recreate the issue

model TopLevel
  // make a part
  model Component
    Modelica.Icons.SignalBus PublicConn annotation(
      Placement(visible = true, transformation(origin = {0, 60}, extent = {{-20, -20}, {20, 20}}, rotation = 0), iconTransformation(origin = {0, 60}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
  protected
    Modelica.Icons.SignalBus ProtectedConn annotation(
      Placement(visible = true, transformation(origin = {0, 0}, extent = {{-20, -20}, {20, 20}}, rotation = 0), iconTransformation(origin = {1, 0}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
    annotation(
      Icon(coordinateSystem(grid = {1, 1})));
  end Component;

  TopLevel.Component component annotation(
    Placement(visible = true, transformation(origin = {0, 2}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  annotation(
    Icon(coordinateSystem(grid = {1, 1})),
    uses(Modelica(version = "3.2.2")));
end TopLevel;

comment:2 by anonymous, 8 years ago

Same thing appears to happen with normal connectors--not only expandable connectors--as well (like electrical pins).

comment:3 by Adeel Asghar, 7 years ago

Milestone: 1.12.01.13.0

comment:4 by Francesco Casella, 6 years ago

Milestone: 1.13.01.14.0

Rescheduled to 1.14.0 after 1.13.0 releasee

comment:5 by Francesco Casella, 5 years ago

Milestone: 1.14.01.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0

comment:6 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:7 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:8 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.