Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Dropping object from palette onto canvas sometimes fails on first try #298

Open
akravets opened this issue Oct 31, 2017 · 6 comments
Open

Comments

@akravets
Copy link

akravets commented Oct 31, 2017

This video shows the behavior - dropping random objects onto canvas doesn't allow drop on first try, but eventually works on second.

Note that this bug only occurs on Linux, particularly Ubuntu 17.04 GNOME, on Windows drop from palette works fine.

@erwindl0
Copy link
Contributor

erwindl0 commented Oct 31, 2017 via email

@akravets
Copy link
Author

akravets commented Oct 31, 2017

I updated the link and as you can see this is video of Triquetrum, we experience the same behavior in the palette we've adapted.

There are no error in the log, and as I mentioned above we don't see this behavior on Windows, not sure about Mac.

P.S "Stranger Things", love the reference!

@erwindl0
Copy link
Contributor

Ok, I see it now. It seems it's not an error during the drop & creation logic, but rather that the location refuses the drop.

About the Director : Triquetrum/Ptolemy only allows 1 director per model, so for a second Director that's an expected refusal.

But the other drop failures seem to be related to the drop location hitting an actor that's already close to it? The actor label is rendered in a completely different way during the drag, than what I'm used to seeing on my (windows) dvp machine.

Maybe the location/geometry calculations are different on Ubuntu...

Christopher can you check on Mac?

I'll get an Ubuntu system and try to reproduce this.

Thanks for the report!

@akravets
Copy link
Author

akravets commented Oct 31, 2017

Here is another screencast I did from our product, it seems that this behavior occurs when a new group is expanded and object is dropped onto canvas from that group. All other objects from same group are created fine on canvas.
video

Edit: It's definitely random and not related to object being dropped in boundaries of other objects.

@erwindl0
Copy link
Contributor

erwindl0 commented Oct 31, 2017 via email

@cxbrooks
Copy link
Contributor

I'm not able to reproduce this on the Mac.

BTW - In Vergil, it is acceptable to have multiple Directors in the model. The last Director added is the one that controls how the model is executed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants