Delayed window rendering on win32 with intel GPU and OpenGL enabled
Steps to reproduce
- Get hold of a machine running Windows and uses an Intel GPU
- Disable cursor blinking by setting
gtk-cursor-blink = 0
insettings.ini
- Start gtk3-demo with OpenGL force-enabled:
GDK_GL=always gtk3-demo
- Open a demo that has text entry
- Type text and observe that the entry updates with a delay of one frame. For example: Type 1234, 123 is displayed, press left arrow to move the cursor, 1234 appears with the cursor placed after the 4.
Current behavior
Window updates one frame too late with OpenGL enabled (either enabled by a GLArea in that window or by force-enabling it). Doesn't happen without OpenGL.
Expected outcome
Same behaviour as without OpenGL.
Version information
gtk 3.24.2 from MSYS2
Additional information
Windows 10 1909, Intel i5-6300U integrated GPU. People also reported identical behaviour on other systems: https://github.com/horizon-eda/horizon/issues/513