Open
Description
Describe the bug
When using GDK_BACKEND=wayland
, wx paint does not update properly.
To Reproduce
- Run
erl
wx:demo()
- Go to paint example, try to paint
- Canvas does not update unless something is done to the window, such as resizing
- Run
GDK_BACKEND=x11 erl
- Try again, this time paint works
Expected behavior
Wayland and X11 backend should behave the same
Affected versions
26.2.1
Additional context
My system: Gentoo Linux with wxGTK-3.2.5 and erlang-26.2.1, running Plasma 6 on Wayland with NVIDIA driver
I tried some wxDC samples directly with C++, and those work. So it's probably something wrong in OTP