Bug #2485
closed
On Macintosh, cannot connect from a relation
Added by Dan Higgins over 18 years ago.
Updated about 18 years ago.
Description
On A Macintosh, it is impossible to draw a connection from a 'relation' (diamond connector). One should be able to press the 'Apple cloverleaf' key (Command key) to drag from a relation. (Note: this should replace the Control drag on the PC). Instead the relation just moves.
Note that the CommandKey + drag DOES work on the Mac in Ptolemy 5.01!!! (So maybe we have a version problem with Diva?
Also, one cannot drag a connection from a port on a Mac.
Note: Using <Shift> + <Command> seems to work on the Mac! (under Java 1.5) At least for the relation.
Also, diva/canvas/event/MouseFilter class seems to be important for the problem. If one 'or's the InputEvent.META_MASK bit into the definition of _modifierMask, the code seems to work OK on the Mac, even though a comment in that code says this will cause a problem with transitons on modal models.
See also the ptolemy.vergil.actor.ActorEditorGraphController class for code handling events of dragging from a relation
fixed by changes in the MouseFilter code in diva
Original Bugzilla ID was 2485
Also available in: Atom
PDF