It has already been fixed upstream, as you can see here: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1265 . The fix is included in GNOME 43, which is included in Ubuntu 22.10.
Note that this bug only affects the X11 version of Nautilus, so if you'd like to stay on 22.04 the only solution is to switch to Wayland.
It has already been fixed upstream, as you can see here: https:/ /gitlab. gnome.org/ GNOME/nautilus/ -/issues/ 1265 . The fix is included in GNOME 43, which is included in Ubuntu 22.10.
Note that this bug only affects the X11 version of Nautilus, so if you'd like to stay on 22.04 the only solution is to switch to Wayland.