nautilus process takes a long time to close
Affected version
GNOME nautilus 43.0 Description: Ubuntu 22.10 Release: 22.10 Codename: kinetic
Use cases
Start ubuntu, login. Only open a terminal window. Launch and immediately click the [x] to close. Observe shell stuck waiting another 13 seconds.
$ time nautilus
real 0m13.928s user 0m0.850s sys 0m0.206s
using "top" shows almost 0 CPU usage by the nautilus task (it shows 37% CPU load for the first second after clicking [x]