At commit 4752d6922. Running on wayland. Upgrade issue with the notification plugin on a switch from claws/gtk2 3.17.8 on X. My old gtk2/X claws installation had long had the notification plugin global hotkey enabled. When I switched to live-git-gtk3-native-wayland claws, all the loaded plugins unregistered and I had to load plugins again. While my other previous plugins loaded fine, attempting to load the notification plugin was segfaulting claws and sometimes (not always) taking kde/plasma/wayland (which like claws isn't entirely stable on wayland yet) with it. Syslog said the segfault was in libX11. After a bit of googling (on duckduck, FWIW) I found the GDK_BACKEND=x11 method to force claws/gtk3 to run in X mode on wayland, which allowed a successful load of the notification plugin. After loading the plugin in X mode I was able to disable the global hotkeys in the notification plugin config and quit. I could then run claws in wayland mode with the notification plugin enabled. So the notification plugin, global-hotkeys module, needs to check that it's running in X mode before attempting to register the hotkey on X. Because if it's in wayland mode it's at best not going to work, and could well trigger a segfault, as it was doing for me. Unfortunately I'm not a dev so I can't provide a proper patch, but I can at least hope with that level of specificity it's reproducible and will be an easy fix for those who do have that skill.
Can you run through gdb and get a bt full?
Created attachment 2153 [details] BT.full BT frmo segfault when I apply a new global setting.
The hotkey is setup using Xmodmap calls that are not supported on wayland in any way. From what I've found all gtk applications should move away from xmodmap to xkb. So it's best for now to fully disable the hotkey preference setting when using native wayland. It can still be used when starting CM in x11 mode using "GDK_BACKEND=x11 claws-mail".
Created attachment 2162 [details] disable hotkey preference on wayland
Created attachment 2163 [details] disable hotkey preference on wayland