After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771369 - batch rename: sometimes fails to rename on search results
batch rename: sometimes fails to rename on search results
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: File and Folder Operations
3.21.x
Other Linux
: Normal normal
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-13 16:05 UTC by Mohammed Sadiq
Modified: 2021-06-18 15:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mohammed Sadiq 2016-09-13 16:05:18 UTC
In nautilus search results, if the selection for batch rename contains both files and containing parent folder, the rename may fail. This probably happens because Folders are renamed first, thus the containing files cannot be found anymore.


How to reproduce:

1. Create some folders test1, test2, test3.
2. Create files within those folders with filename 'test' in it.
3. Search for the word 'test' in Nautilus.
4. Select all the results and rename.

Result:
The folders get renamed, but the content within the folders may not.

Expected result:
The files and folders should be renamed.
Comment 1 Carlos Soriano 2016-09-13 16:06:50 UTC

*** This bug has been marked as a duplicate of bug 770965 ***
Comment 2 Mohammed Sadiq 2016-09-13 16:10:21 UTC
Sorry. The bug is not about segfault after fail. But Its about the actual rename is not happening for the selection, which it is supposed to, and have no reason to fail if renamed in the right order (File first, then folders).
Comment 3 Carlos Soriano 2016-09-13 21:24:14 UTC
ah right, I missunderstood it. We do already some handling and reordering to avoid some fake positives on conflicts. This would be just another reordering to take into account.
Comment 4 André Klapper 2021-06-18 15:48:32 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of Files (nautilus), then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/nautilus/-/issues/

Thank you for your understanding and your help.