PB v6.30b2 + RPi Wayland - Empty submenu causes crash
Posted: Thu Oct 02, 2025 11:28 am
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
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