Xpra: Ticket #309: until we have contents to paint the gl windows show undefined contents

This is most noticeable with drop down menus.

Ideally, we would want to paint something, anything, even a white background rather than having it transparent and showing whatever is under it. Unfortunately, my attempts have failed (see patches).

Mon, 15 Apr 2013 06:26:13 GMT - Antoine Martin: attachment set

use cairo to paint the backing glarea white

Mon, 15 Apr 2013 06:27:03 GMT - Antoine Martin: attachment set

use existing white_paint method does not work during the first expose events

Mon, 15 Apr 2013 06:28:29 GMT - Antoine Martin: attachment set

explicitly paint the window backing with cairo as soon as it is created

Mon, 15 Apr 2013 06:29:52 GMT - Antoine Martin: attachment set

calls render_image as soon as we init the gl window (use in combination with gl_cairo_fill or gl_white_paint patches)

Tue, 16 Apr 2013 06:46:45 GMT - Antoine Martin:

Mitigated somewhat by r3077: "normal" windows are bigger, so showing them briefly as transparent is less confusing than for things like menus.

Tue, 23 Apr 2013 16:10:02 GMT - Antoine Martin: milestone changed

What may work: calling glClear(GL_COLOR_BUFFER_BIT) followed by swap_buffers() early in the setup backing setup code.

Now that GL is no longer scheduled for 0.9.0, this can wait too..

Fri, 12 Jul 2013 07:14:33 GMT - ahuillet:

I believe this to be done. Should this ticket remain open?

Fri, 12 Jul 2013 07:22:23 GMT - Antoine Martin:

Feel free to close if tested, would be nice to have the commit no.

Sat, 10 Aug 2013 05:31:57 GMT - Antoine Martin: status changed; resolution set

Works for me..

Sat, 23 Jan 2021 04:51:18 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/309