Bug 1395

Summary: Resizing GLCanvas does not redraw immediately
Product: [JogAmp] Jogl Reporter: morgan.mathiaut
Component: swtAssignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: normal CC: crougier
Priority: P4    
Version: tbd   
Hardware: All   
OS: linux   
Type: DEFECT SCM Refs:
Workaround: ---
Attachments: Reproducer

Description morgan.mathiaut 2019-09-24 14:26:20 CEST
Created attachment 823 [details]

Using the attached reproducer, 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.

My guess is that only the previous size of the window is marked as dirty and redrawn by GLCanvas.
Comment 1 morgan.mathiaut 2020-04-02 16:02:02 CEST

Any update for this issue ?

Comment 2 crougier 2020-05-27 12:51:15 CEST
I tested 2.4.0-rc-20200306 and the bug is still there