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

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

[Done] 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
PeDe
Enthusiast
Enthusiast
Posts: 305
Joined: Sun Nov 26, 2017 3:13 pm

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

Post by PeDe »

The error no longer occurs with the new Raspberry Pi OS Trixie version.

Peter
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

Nice, to know, though I already did the patch so it should work as well on debian 12
Post Reply