WindowImpl Repaint

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

WindowImpl Repaint

SunnY
Hello Julien,

i have following Problem with an application which has this Structure:

JFrame
   |
   | ------JPanel
   |            | ------ NewtCanvasAWT
   |                                  | ------ GLWindow
   |
   |
   |
   | ------ JDialog
   
   
Normally when i move the JDialog,which is in front of the NewtCanvasAWT, or press any buttons in it, the GLWindow doesn't get a repaint event as i would expect it.
But on one specific computer, when moving the JDialog, the Newt EDT Thread triggers repaint events on the GLWindow and i have no idea why.
This is the stacktrace where the Event comes from.

        at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
        at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
        at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
        at jogamp.opengl.GLAutoDrawableBase.defaultWindowRepaintOp(GLAutoDrawableBase.java:215)
        at com.jogamp.newt.opengl.GLWindow.access$100(GLWindow.java:119)
        at com.jogamp.newt.opengl.GLWindow$2.windowRepaint(GLWindow.java:136)
        at jogamp.newt.WindowImpl.consumeWindowEvent(WindowImpl.java:4401)
        at jogamp.newt.WindowImpl.consumeEvent(WindowImpl.java:3372)
        at jogamp.newt.WindowImpl.doEvent(WindowImpl.java:3318)
        at jogamp.newt.WindowImpl.windowRepaint(WindowImpl.java:4715)
        at jogamp.newt.driver.windows.DisplayDriver.DispatchMessages0(DisplayDriver.java:-2)
        at jogamp.newt.driver.windows.DisplayDriver.dispatchMessagesNative(DisplayDriver.java:124)
        at jogamp.newt.DisplayImpl.dispatchMessages(DisplayImpl.java:753)
        at jogamp.newt.DisplayImpl$7.run(DisplayImpl.java:672)
        at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:347)
       
So do you have any clue where this RepaintEvent can come from or how i can prevent it? Because as i said it happens only on one specific Coumputer.


Florian
Reply | Threaded
Open this post in threaded view
|

Re: WindowImpl Repaint

gouessej
Administrator
Hey

On which platform do you reproduce this problem?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: WindowImpl Repaint

SunnY
I guess it was on Windows 10 64 bit. But when i tested it on Windows 10 it works. Like on every other Windows.
Reply | Threaded
Open this post in threaded view
|

Re: WindowImpl Repaint

gouessej
Administrator
The bug tracker is still offline :s When it works anew, please follow these instructions to fill a bug report:
http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing

You'll have to be a lot more accurate and you'll have to provide a SSCCE.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: WindowImpl Repaint

SunnY
Yeah i knew its hard to find the problem on the given infos. I just had the hope that i miss something obvoius or you had an idea where to search for this strange behavior.
So anyway thank you for your quick response.

Florian
Reply | Threaded
Open this post in threaded view
|

Re: WindowImpl Repaint

gouessej
Administrator
It's a good idea. By the way, if your JDialog modal?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: WindowImpl Repaint

SunnY
No its not.