Xwayland: GIMP foreground selection tool doesn't work properly with xwayland
Foreground selection tool doesn't work as it under Wayland. Instead of showing line that is being currently drawn, it shows a rectangle.
This issue doesn't occur if GIMP is running under X.Org
This bug exists for quite some time (I think way over 3 months). Doesn't seem to depend on hardware/drivers, as I had this issue both on Intel iGPU and AMD iGPU. It also appears in multiple Linux distributions (openSUSE https://bugzilla.opensuse.org/show_bug.cgi?id=1189310 , Fedora https://gitlab.gnome.org/GNOME/gimp/-/issues/7013 ) and under different DEs (Gnome, KDE).