GNOME Bugzilla – Bug 693394
Cannot copy/paste within folder during search mode
Last modified: 2021-06-18 15:29:44 UTC
Files cannot be copied and pasted when a search string has been typed. Reproduce: Open a folder. Type a search string that will display a subset of files in that folder. Select one of the files, and press Ctrl+C or right-click and select Copy. Next, press Ctrl+V. The file is not copied. Right-click anywhere in the folder. The Paste option in the context menu is disabled. The expected behavior is that copy/paste should work also during search mode. Files 3.6.3 Gnome 3.6 Ubuntu 12.10
Thanks for the report. The Paste action is disabled because it is not obvious where it would paste to. Search results are not a subset of files in the original folder, because Files searches inside sub-folders too.[note] For it may include files from sub-folders, the search results view may not be treated as the same as the original folder. When showing search results, the Path Bar, where the original folder name was displayed, is replaced by "Search for ''QUERY''". The same happens for the window title. These changes in the interface hint at the fact that the current view is not the original folder anymore. You can return to the folder by clicking on the Back button, by clicking on the Search button, by clearing the search box, or by the pressing the Esc key. I propose this report to be resolved as NOTABUG. [note] This may not work in 3.6 in the case that Tracker is not installed, or the folder is not indexed by Tracker. But that problem has been fixed for 3.8.
Why not permit the paste action? Paste would cancel the search, restore the view of the folder, and show the pasted item in place.
Considering bug 701413, I agree. My main concern in comment 1 was precisely that the current folder is not indicated in the header bar.
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.