vala-panel on Wayland compositor crashes if WNCK plugins are installed
I the wnck plugin libraries are installed, vala-panel crashes on startup (Debian unstable, vala-panel 0.5.0):
[...]
(vala-panel:1987): Wnck-WARNING **: 12:13:39.756: libwnck is designed to work in X11 only, no valid display found
(vala-panel:1987): Wnck-CRITICAL **: 12:13:39.756: wnck_screen_get: assertion 'display != NULL' failed
(vala-panel:1987): Wnck-WARNING **: 12:13:39.756: libwnck is designed to work in X11 only, no valid display found
(vala-panel:1987): Wnck-CRITICAL **: 12:13:39.756: wnck_screen_get: assertion 'display != NULL' failed
(vala-panel:1987): Wnck-WARNING **: 12:13:39.756: libwnck is designed to work in X11 only, no valid display found
(vala-panel:1987): Wnck-CRITICAL **: 12:13:39.757: wnck_screen_get: assertion 'display != NULL' failed
(vala-panel:1987): Wnck-WARNING **: 12:13:39.757: libwnck is designed to work in X11 only, no valid display found
(vala-panel:1987): Wnck-CRITICAL **: 12:13:39.757: wnck_screen_get: assertion 'display != NULL' failed
(vala-panel:1987): Wnck-WARNING **: 12:13:39.757: libwnck is designed to work in X11 only, no valid display found
(vala-panel:1987): Wnck-CRITICAL **: 12:13:39.757: wnck_screen_get: assertion 'display != NULL' failed
Segmentation fault
Maybe vala-panel should ignore the X11-only plugins when being used inside a Wayland compositor? Requiring a package uninstall (vala-panel-plugins-wnck) for switching from X11 to Wayland is not so user friendly...
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894882
(however, in the Debian bug, reported against a much older version, the failure happens somewhere else, but still, the problem reported in that bug: remove vala-panel-plugins-wnck and then vala-panel stops crashing) is still valid, at least on my test system.
Greets, Mike