Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4409 closed defect (fixed)

Object moving in block diagram unfolds all annotations in text view

Reported by: Andrea.Bartolini Owned by: adeas31
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 Changed 7 years ago by janK

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

comment:2 Changed 7 years ago by adeas31

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 2474cec/OMEdit.

comment:3 Changed 7 years ago by janK

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 Changed 7 years ago by adeas31

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 Changed 7 years ago by janK

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.