Opened 8 years ago

Last modified 8 years ago

#4294 accepted defect

OMEdit: Icon Editor - Bring to Front/forward and Send to Back/Backward

Reported by: Jan Kokert Owned by: Adeel Asghar
Priority: normal Milestone: Future
Component: OMEdit Version: v1.11.0
Keywords: z-order options Undo Cc:

Description

Issue 1:
I just wondered why all z-order alignment options (Bring to Front/forward and Send to Back/Backward) are disabled. Is the feature still in development? In 1f6c73/OMEdit support for this feature was added.

Issue 2:
I think in Modelica there is no dedicated z-order property. Instead, the order of the annotations is deciding. So I realized when deleting a component which is in the back and then doing an "UNDO", the order is not restored, so the deleted component comes to the front.

I know that the IconEditor is not the most critical component, but it would be really nice, if this works properly. As we now have this wonderful UNDO-feature which makes OMEdit totally usable!

Change History (4)

comment:1 by Adeel Asghar, 8 years ago

Status: newaccepted

The z-order alignment options are disabled because when we introduced the undo feature then we didn't update that feature to support it. I will update it and will enable it.

I think I can also make it to remember the order so that the deleted shapes are added back to the same position.

comment:2 by Jan Kokert, 8 years ago

Hi! This sounds terrific and will help me in my current work. Thanks!

comment:3 by Jan Kokert, 8 years ago

Thanks to 385b2dd/OMEdit the z-order with UNDO works now and Issue 2 is fixed.
All that is left is to enable the context menu options, right?

comment:4 by Jan Kokert, 8 years ago

I guess that only enabling the context menu options is needed to close that ticket, isnt't it?

Note: See TracTickets for help on using tickets.