I've found this bug on Ubuntu 17.10 with Thunar version 1.6.12-1 yesterday, and after a bit digging found the root cause in the gio part of glib:
https://bugzilla.gnome.org/show_bug.cgi?id=787731
They have found it using Nautilus earlier and created a fix, which was released in glib-2.55. Unfortunately the newest libglib2.0-0 available in Ubuntu (artful and bionic) is 2.54.1-1ubuntu1 which doesn't contain the fix.
I've found this bug on Ubuntu 17.10 with Thunar version 1.6.12-1 yesterday, and after a bit digging found the root cause in the gio part of glib:
https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 787731
They have found it using Nautilus earlier and created a fix, which was released in glib-2.55. Unfortunately the newest libglib2.0-0 available in Ubuntu (artful and bionic) is 2.54.1-1ubuntu1 which doesn't contain the fix.