Wayland crashes when label size in Gtk is large

Irene Kravets IreneK at sapling-inc.com
Mon Feb 8 13:45:37 UTC 2021


I am using Wayland/Weston.  Running a simple Python script that uses Gtk to display a couple of labels. If the size of the label font goes past a certain size (nothing unreasonable), Wayland crashes with error message "Error 71 (Protocol error) dispatching to Wayland display". I enabled WAYLAND_DEBUG and I see "xdg_surface buffer does not match the configured state" in the log.  If the text of the label is truly too large to fit (which it's not), I would expect it to be clipped or perhaps not be displayed, but I wouldn't expect a crash.  How do I fix this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20210208/cac92b9c/attachment.htm>


More information about the wayland-devel mailing list