Bug #2485
closedOn Macintosh, cannot connect from a relation
0%
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?
Updated by Dan Higgins about 18 years ago
Also, one cannot drag a connection from a port on a Mac.
Updated by Dan Higgins about 18 years ago
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
Updated by Dan Higgins about 18 years ago
fixed by changes in the MouseFilter code in diva