-
Notifications
You must be signed in to change notification settings - Fork 7
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
Disabling the tabs in the layout hides the contents of some Java2D displays #35
Comments
When tabs are hidden, Eclipse considers views to be in a somewhat strange status. Somewhere between the normal status and the "detached" status. As a matter of fact, it is not considered a "correct" state. From my observation, on all OSes, it seems that a |
@AlexisDrogoul the recent changes in eclipse/swt changed a bit the final result, but didn't fix it, do you think it's fixable in a short amount of time ? |
I added back the tabs in the library models that were having that issue in my last commit, we'll need to remove them again once the issue fixed. |
I have issued a commit that does exactly this. The warning is only active when a 2d display is detected in |
Good enough for gama 1.9.0, leaving it open for later fix |
Describe the bug
When using the layout statement, having the facet
tabs
set at false give some strange behaviours.Here an example with the
heatmap.gaml
model from Library Models:If you run it as is, the first two displays do not show. Clicking on them makes them appear.
Same with the vertical layout. If you click on a display it will appear, but if you then click on another display, the new one will appear and the previous one disappear
with an horizontal layout it's the 3 first display that do not work. As with the vertical layout, clicking on a display will make it appear, but in addition it will make disappear the only one that appeared in the initialisation.
The stack layout is exactly as the horizontal one (which is probably normal with the tabs disabled).
If you change one non-working display to an opengl one it will crash gama with the same error message as in gama-platform/gama#3447
But if you comment the chart from a display you changed to opengl, then it will be displayed normally:
And everything seems to come from the
tabs
facet being false, as commenting it solves the problemThe text was updated successfully, but these errors were encountered: