Page 1 of 1

[Done] PB v6.30b2 + RPi Wayland - Empty submenu causes crash

Posted: Thu Oct 02, 2025 11:28 am
by PeDe
When a program is compiled with the compiler option ‘Enable Wayland support’, an empty submenu causes a crash.

Error message in the terminal:
Gdk-Message: Error 71 (Protokollfehler) dispatching to Wayland display.

Peter

Code: Select all

OpenWindow(1, 100, 100, 400, 300, "Test")
CreateMenu(1, WindowID(1))
MenuTitle("Test")
MenuItem(1, "Test")
OpenSubMenu("Empty")
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow

Re: PB v6.30b2 + RPi Wayland - Empty submenu causes crash

Posted: Wed Oct 08, 2025 12:44 pm
by PeDe
The error no longer occurs with the new Raspberry Pi OS Trixie version.

Peter

Re: [Done] PB v6.30b2 + RPi Wayland - Empty submenu causes crash

Posted: Fri Oct 10, 2025 2:05 pm
by Fred
Nice, to know, though I already did the patch so it should work as well on debian 12