I configured gvim as my external editor. This works fine when running Claws-Mail under xwayland. However, when running natively under Wayland, Claws-Mail crashes when starting the external editor. I got the following output on the terminal: claws-mail:8462): Gtk-WARNING **: 21:32:47.987: GtkSocket: only works under X11 (claws-mail:8462): Gdk-WARNING **: 21:32:47.987: /var/tmp/portage/x11-libs/gtk+-3.24.34/work/gtk+-3.24.34/gdk/x11/gdkwindow-x11.c:5653 drawable is not a native X11 window bug 2355, comment 8 predicted this, I believe. Steps to reproduce: 1. Configure an external editor, e.g. 'gvim -f --socketid %w %s' 2. Open a compose window 3. Launch the external editor
Argument '%w' is the essential item for reproducible. If not using '%w', external editors continue to work fine with Wayland, e.g. "emacsclient -a emacs -c %s".
fixed in git, https://git.claws-mail.org/?p=claws.git;a=commitdiff;h=ad77f62cf69eb1dd5ca50ec341eead5c01251475 It's not possible to use GtkSocket under wayland.