Session crash upon pasting from clipboard on Wayland
I'm not 100% sure where to put this. This could be an issue with Wayland in general, with Gnome shell, or an application-level bug.
Nonetheless... If I use Gnome on Wayland, copy an image onto the clipboard, then press ctrl-V in Telegram, the session will hang for a few seconds, then crash and send me back to GDM. This happens if I use Firefox's copy image feature. It happens if I use Firefox to take a picture of a webpage. It happens if I use the GNOME screenshot utility. It happens when I select the canvas and copy from GIMP.
This doesn't always happen. But it is very common. It seems more likely to happen if the image is larger.
By default, telegram-desktop is an XWayland application. If you force it to work with Wayland proper, by setting the shell variable QT_QPA_PLATFORM
to wayland
. Under Wayland, the crash does not happen.