Summary: | Removing and re-adding a GLJPanel results in small image being rendered | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | willemv <willem.verstraeten> |
Component: | awt | Assignee: | Sven Gothel <sgothel> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gouessej |
Priority: | P4 | ||
Version: | 2.5.0 | ||
Hardware: | All | ||
OS: | all | ||
Type: | DEFECT | SCM Refs: | |
Workaround: | --- | ||
Attachments: | Sample program that shows the problem. |
Resizing the window restores the GLJPanel to its normal behavior. Setting 'sendReshape' to true in the 'addNotify' implementation of GLJPanel fixes the issue. Not sure if that's the right fix though. Hi Thanks you for providing a sample program and a tip to work around this bug. Can you confirm that you use JOGL 2.3.2? I use JOGL 2.3.2 indeed putting this on version 2.5.0 for now |
Created attachment 788 [details] Sample program that shows the problem. If you remove and then re-add a GLJPanel from its parent, a small version (about 50px * 50px it appears) of the content is rendered.