In remote network locations, batch renaming changes are not reflected in the views until forced refresh
Affected version
- Debian testing/bookworm - GNOME nautilus 41.2 (also present in 43.alpha-12a876ef).
Steps to reproduce
- Go to a remote/network location in Nautilus and select multiple files to rename
- Press F2 for bulk renaming
- Select "Find and replace text"
- Change some characters which triggers the bug (e.g. trying to change to lower/uppercase)
Current behavior
For bulk renames, the selected files appear unchanged.
In some situations, such as lower/upper-casing letters (Jeff's edit: on some types of remotes), renaming might not work even for individual files?
Expected behavior
I would expect the files to be renamed as specified by the given pattern.
Additional details
Edit: Being always between machines, I finally noticed it happened only when dealing with files over a share (I only tested SMB shares for now on different servers). So, it might not be a nautilus
issue, but rather a GLib/GVFS issue, so let me know if this does not belong here. By the way, yes, the shares are case-sensitive.
Here is the standard output of the current nightly build of nautilus
, which is affected by the problem (I created a bunch of files named "EpisodeX" so I could replicate the issue):
$ flatpak run org.gnome.NautilusDevel
(NautilusDevel:2): Gtk-CRITICAL **: 11:18:27.133: gtk_stack_get_child_by_name: assertion 'GTK_IS_STACK (stack)' failed
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:27.141: ../gobject/gsignal.c:2653: instance '0x55ac846e7420' has no handler with id '1478'
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:27.141: ../gobject/gsignal.c:2695: instance '0x55ac846e7420' has no handler with id '1478'
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:27.143: ../gobject/gsignal.c:2653: instance '0x55ac846e7420' has no handler with id '1478'
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:27.143: ../gobject/gsignal.c:2695: instance '0x55ac846e7420' has no handler with id '1478'
(NautilusDevel:2): Gtk-CRITICAL **: 11:18:27.244: gtk_stack_get_child_by_name: assertion 'GTK_IS_STACK (stack)' failed
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:34.259: ../gobject/gsignal.c:2653: instance '0x55ac846e7420' has no handler with id '1478'
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:34.259: ../gobject/gsignal.c:2695: instance '0x55ac846e7420' has no handler with id '1478'
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:37.252: ../gobject/gsignal.c:2653: instance '0x55ac846e7420' has no handler with id '1478'
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:37.252: ../gobject/gsignal.c:2695: instance '0x55ac846e7420' has no handler with id '1478'
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:37.258: ../gobject/gsignal.c:2653: instance '0x55ac846e7420' has no handler with id '1478'
(NautilusDevel:2): GLib-GObject-WARNING **: 11:18:37.259: ../gobject/gsignal.c:2695: instance '0x55ac846e7420' has no handler with id '1478'
** Message: 11:18:44.677: Connecting to org.freedesktop.Tracker3.Miner.Files
** (NautilusDevel:2): WARNING **: 11:18:44.680: Unable to create connection for session-wide Tracker indexer:
Parser error at byte 55, expected one of ',', 'base', 'prefix', 'constraint', 'select', 'construct', 'describe', 'ask':
…cker:FileSystem;tracker:Docume…
‸
** Message: 11:18:44.680: Starting NautilusDevel.Tracker3.Miner.Files
(NautilusDevel:2): GLib-GIO-CRITICAL **: 11:19:32.613: g_file_query_info_async: assertion 'G_IS_FILE (file)' failed
** (NautilusDevel:2): WARNING **: 11:19:32.613: Batch rename for file "Episode01" failed
(NautilusDevel:2): GLib-GIO-CRITICAL **: 11:19:32.615: g_file_query_info_async: assertion 'G_IS_FILE (file)' failed
** (NautilusDevel:2): WARNING **: 11:19:32.615: Batch rename for file "Episode02" failed
(NautilusDevel:2): GLib-GIO-CRITICAL **: 11:19:32.616: g_file_query_info_async: assertion 'G_IS_FILE (file)' failed
** (NautilusDevel:2): WARNING **: 11:19:32.616: Batch rename for file "Episode03" failed
(NautilusDevel:2): GLib-GIO-CRITICAL **: 11:19:32.617: g_file_query_info_async: assertion 'G_IS_FILE (file)' failed
** (NautilusDevel:2): WARNING **: 11:19:32.617: Batch rename for file "Episode04" failed
(NautilusDevel:2): GLib-GIO-CRITICAL **: 11:19:32.619: g_file_query_info_async: assertion 'G_IS_FILE (file)' failed
** (NautilusDevel:2): WARNING **: 11:19:32.619: Batch rename for file "Episode05" failed
Edit 2: I can confirm that it seems to work with the current nightly build of nautilus
(43.alpha-12a876ef) over a NFS share.
Edit 3: in the case of NFS, I noticed it is not only the case for bulk renaming but even when renaming one file, e.g. when trying to change a filename from test.txt
to Test.txt
. (Jeff's remark: does not affect SFTP for single files)
Edit 4: FYI, yes, the SMB server has case-sensitive shares.