Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3290 closed enhancement (fixed)

visual feedback when connecting components in OMEdit

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: normal Milestone: 1.9.3
Component: OMEdit Version: trunk
Keywords: Cc:

Description

When connecting two components, the cursor is changed into a cross: ok.
But, when starting a new connection, if the user does not move the mouse while the button is down, connection does not start
Similarly, when the user clicks on the target connector, even if connection is done the cross does not immediately convert into the usual cursor (arrow).

What I propose should be rather straightforward to implement, but indeed very useful:
1) when the user goes above a connector, and the cursor is a cross, and he clicks, the connection should start (there should be no need to drag the mouse with the button down)
2) when the user is already connecting and he clicks on the target connector, if connection is done the cursor is to be converted onto an arrow immediately (there should be no need to drag the mouse to see the cursor changed into an arrow).

Tested with r25570

Change History (2)

comment:1 by Adeel Asghar, 10 years ago

Resolution: fixed
Status: newclosed

We use to have the behavior you suggested in 1 but we had some problems and few tickets are also reported about it (i don't remember the ticket numbers). So we changed it to click drag to start the connection. This is specially important for components which are completely connector types e.g RealInput. Also is more consistent with other tools e.g Dymola. So I think we won't change it back to just click.

2 is done in r25709. Note that now we don't change the cursor to cross when user mouse over the connector. The cursor is only changed to cross when user starts creating connection and remains cross until the connection is finished.

comment:2 by massimo ceraolo, 10 years ago

Thank you.
I understand the difficulties with point 1.
Indeed point 2 was the most important also for me.
Coherence with Dymola is also important.

Thanks again.

Note: See TracTickets for help on using tickets.