Resizing GLCanvas does not redraw immediately

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Resizing GLCanvas does not redraw immediately

frederic.bon
Using the attached reproducer
reproducer_jogl.java

 make the window fullscreen by clicking the window decoration fullscreen button.

Only a portion of the fullscreen window is drawn in orange, while the whole window should be drawn orange.
This can also be reproduced by resizing the window very fast, a small portion of the window is not drawn with the correct color.

This bug does not happen on windows.

Adding a call to redraw() in display() works around the issue.

This bug has first been reported to SWT team
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=542915)
Their conclusion is that the problem should come from JOGL.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

gouessej
Administrator
Hello

Please check in our bug tracker whether someone else hasn't already reported this bug.

Is it this bug?
https://jogamp.org/bugzilla/show_bug.cgi?id=1395
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

frederic.bon
Indeed, you're right, it is the same issue reported by a colleague.
Sorry for the misunderstanding.
Thanks for your watchfulness.

Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

gouessej
Administrator
You're welcome. Feel free to contribute. Please try to reproduce your bug with the latest release candidate.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

frederic.bon
We actually use the 2.3.2 version.
We wait for 2.4.
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

frederic.bon
Have you an idea about a release date for this future version?
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

gouessej
Administrator
Please try the release candidate anyway, don't "wait". I don't tell you to use it in production, just give it a try to confirm whether it fixes your bug or not.

According to the roadmap, there are a few (but not trivial) bugs to fix before releasing JOGL 2.4.0. We are volunteers, some help is welcome.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

frederic.bon
Hi,

of course, we are ready to test a release candidate of 2.4.0 if it can help.
But, in bugzilla, it seems that our bug is not yet fixed (https://jogamp.org/bugzilla/show_bug.cgi?id=1395)
and the wiki page about 2.4.0 release does not even mention it.
Maybe it's too early to test a version in this case.

What do you think?
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

gouessej
Administrator
I think that some changes might have fixed this bug but as I'm not sure, I advise you to give it a try.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

gouessej
Administrator
In reply to this post by frederic.bon
I suspect the fix of the bug 1358 to have fixed this bug too, that's why I ask you to test with JOGL 2.4.0 RC.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

frederic.bon
Thanks for your response.
Your reason seems sufficient to follow your advice and test the candidate version.
We'll keep you informed as soon as it is done.
Reply | Threaded
Open this post in threaded view
|

Re: Resizing GLCanvas does not redraw immediately

gouessej
Administrator
Thank you. I don't want to make you waste your time. I cross my fingers ;)
Julien Gouesse | Personal blog | Website