Drag and drop text file from Nautilus onto Emacs stopped working

Before the last update it was working randomly but now it has stopped working completely.
Gnome 51

% cat /etc/lsb-release 
DISTRIB_ID="ManjaroLinux"
DISTRIB_RELEASE="26.1.3"
DISTRIB_CODENAME="Bian-May"
DISTRIB_DESCRIPTION="Manjaro Linux"

GNU Emacs 31.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.52, cairo version 1.18.4)

Anybody has it?

In case your Emacs version is running in XWayland compatibility mode, I would try switching to a version with native Wayland support (often available as the emacs-pgtk package). See also:

Installing emacs-wayland solved the problem, thanks for the hint.

Different Emacs with same version information:

This is GNU Emacs 31.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.52, cairo version 1.18.4)