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

Event Layer model make Gama hang when cursor move into display boundary #341

Closed
hqnghi88 opened this issue Sep 26, 2024 · 2 comments · Fixed by #343
Closed

Event Layer model make Gama hang when cursor move into display boundary #341

hqnghi88 opened this issue Sep 26, 2024 · 2 comments · Fixed by #343
Labels
About 3D This issue concerns 3D models and geometries 😱 Bug The issue reveals a bug in GAMA

Comments

@hqnghi88
Copy link
Member

Describe the bug
Event Layer model make Gama hang when cursor move into display boundary
To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Event Layer.gaml'
  2. Click on 'Displays' button
  3. Click on Play button
  4. Move the mouse into the display area
  5. Gama hang with waiting cursor

Expected behavior
NO hanging
Screenshots
It happen from the commit 7ae6a3e
Desktop (please complete the following information):
Git version

@hqnghi88 hqnghi88 added 😱 Bug The issue reveals a bug in GAMA About 3D This issue concerns 3D models and geometries labels Sep 26, 2024
@lesquoyb
Copy link
Contributor

I tried to not hover the display directly and the model works for me for a few seconds, then drastically slows down for aparently no reason. After that the model can run forever but as soon as I hover the display it stops the whole program as you said:
image
Fun thing is if you start clicking on the display before running the simulation it doesn't crash.
Also if you de synchronize the display everything works properly

@hqnghi88
Copy link
Member Author

I tested on the branch and there is no hang . I let @lesquoyb to merge it then.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
About 3D This issue concerns 3D models and geometries 😱 Bug The issue reveals a bug in GAMA
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants