Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4409 closed defect (fixed)

Object moving in block diagram unfolds all annotations in text view

Reported by: Andrea Bartolini Owned by: Adeel Asghar
Priority: high Milestone: 1.12.0
Component: OMEdit Version: v1.12.0
Keywords: Cc:

Description

to move an object in the block diagram unfolds all annotations in the text view.

OMEdit 1.12.0~dev-290-g1b6ac20
Connected to OpenModelica 1.12.0~dev-703-g46bfb1f
sysop: linux ubuntu 16.04

Change History (5)

comment:1 by Jan Kokert, 8 years ago

Good ticket - I also observed that behavior and wanted to create a ticket :P

comment:2 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in 2474cec/OMEdit.

comment:3 by Jan Kokert, 8 years ago

One minor issue is present in the latest nightly build, where the cursor in the TextView jumps always at the end of the file when a component is moved in the DiagramView. Can this be fixed?

comment:4 by Adeel Asghar, 8 years ago

It might be possible to fix it.
But IMO we shouldn't do it. When you update something in the diagram View of course the state of the text view is changed.

comment:5 by Jan Kokert, 8 years ago

IMO this should be fixed, but in a very simple way: The corsor don't need to be exactly on the same statement as it was before the graphical change.

I suggest, that simply the old corsor position (line and column) is restored. This is better, than seeing the very end of the file every time.

Note: See TracTickets for help on using tickets.