Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relate menu preview freeze the application #123

Closed
MikaelMayer opened this issue Dec 28, 2017 · 1 comment
Closed

Relate menu preview freeze the application #123

MikaelMayer opened this issue Dec 28, 2017 · 1 comment
Labels

Comments

@MikaelMayer
Copy link
Collaborator

I tried to create a logo using Sketch'n Sketch (on the branch value-editor, but it's not important I think)
The logo is composed of a black rectangle on the left and a white rectangle on the right, with yellow lines on the black rectangle.
At some point I wanted to align the right sides of the yellow rectangles by making them equal, I hold shift, selected two alignments, and went to the menu to make them equal. When the menu opened, I accidentally went on "Relate" and it made the whole application to freeze.

I may have accidentally selected one more element. But freezing the application is still a bug. What part of Sketch'n Sketch should I investigate to resolve this potential bug?

image

@brianhempel
Copy link
Collaborator

Relate is just slow: it does arithmetic term enumeration, which is exponential time.

For only three selected things, it should terminate within a minute. But yes: it's slow and may be revisited in the future.

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

No branches or pull requests

2 participants