Skip to content

wx paint demo (and thus probably wxDC) does not work with Wayland #9282

Open
@rongcuid

Description

@rongcuid

Describe the bug
When using GDK_BACKEND=wayland, wx paint does not update properly.

To Reproduce

  1. Run erl
  2. wx:demo()
  3. Go to paint example, try to paint
  4. Canvas does not update unless something is done to the window, such as resizing
  5. Run GDK_BACKEND=x11 erl
  6. 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

Metadata

Metadata

Assignees

Labels

bugIssue is reported as a bughelp wantedIssue not worked on by OTP; help wanted from the communityteam:PSAssigned to OTP team PS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions