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

Post bugreports for the Linux version here
PeDe
Enthusiast
Enthusiast
Posts: 298
Joined: Sun Nov 26, 2017 3:13 pm

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

Post 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