Project

General

Profile

Bug #2485

On Macintosh, cannot connect from a relation

Added by Dan Higgins over 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
06/30/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2485

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?

History

#1 Updated by Dan Higgins almost 13 years ago

Also, one cannot drag a connection from a port on a Mac.

#2 Updated by Dan Higgins almost 13 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

#3 Updated by Dan Higgins almost 13 years ago

fixed by changes in the MouseFilter code in diva

#4 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2485

Also available in: Atom PDF