gama-platform / gama.old

Main repository for developing the 1.x versions of GAMA
GNU General Public License v3.0
304 stars 99 forks source link

ESC during simulation mode loses focus #3149

Closed sriramab closed 3 years ago

sriramab commented 3 years ago

Steps to reproduce

  1. Press ESC during any simulation to focus onto the simulation display in full screen.

  2. Press ESC again while in this full screen mode, nothing happens

Expected behavior

I expect the second ESC to revert to default simulation mode (non-full screen) or the layout in GAML.

Actual behavior

The second ESC has no effect, unit user once mouse clicks the screen and presses ESC

System and version

GAMA 1.81. MacOS Catalina

AlexisDrogoul commented 3 years ago

I can only reproduce it with java2D displays, is it your case ? OpenGL displays seem to behave normally.

sriramab commented 3 years ago

Yes, only java2D. Thank you.

agrignard commented 3 years ago

Potentially link to this one https://github.com/gama-platform/gama2/issues/33

AlexisDrogoul commented 3 years ago

Fixed in the latest commit.