Description
Describe the bug
Even though many issues with scaling in windows have been solved, I still encounter some really annoying graphical problems that I think are related to different scaling ratios between my two monitors.
Those problems are present in the eclipse version as well as latest release when I have gama open on my second monitor, so war what I identified is:
- losing the search bar in the model exploration view:
- Losing the experiment button
- Black square at the bottom right corner of the text editor
- Some keys do not work anymore in the editor, especially combination with ctrl key
For the three first it happens on all other file open in the editor after I run one model (not a test model, the simulation view should open, even though no display is defined).
The last one I don't know what triggers it.
I can reset everything to normal by moving the window in the main monitor then back again to the second. I've noticed resizing also works on the experiment button problem but not the rest.
To Reproduce
Steps to reproduce the behavior:
- open gama on a second monitor with a different scaling ratio than the first one
- open at least two models in the editor
- load any model, let's say
ant foraging.gaml
from model library - Close and see that the search bar is already missing
- switch to another model that was open in the editor and see that the experiment button(s) disappeared and there's a black box at the bottom
Expected behavior
Gama works the same on both monitors without graphical bugs
Desktop (please complete the following information):
- OS: Windows
- GAMA version: git and 2025-06.2 alpha
- monitors: main: 150%, secondary: 100%