Project

General

Profile

Actions

Bug #2485

closed

On Macintosh, cannot connect from a relation

Added by Dan Higgins almost 18 years ago. Updated over 17 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?

Actions #1

Updated by Dan Higgins over 17 years ago

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

Actions #2

Updated by Dan Higgins over 17 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

Actions #3

Updated by Dan Higgins over 17 years ago

fixed by changes in the MouseFilter code in diva

Actions #4

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 2485

Actions

Also available in: Atom PDF