GNOME Bugzilla – Bug 318373
rename looses focus after directory change
Last modified: 2006-12-04 13:04:40 UTC
How to repeat: mkdir test_dir touch test_dir/rename_me nautilus test_dir & while : ; do touch test_dir/changed_file ; sleep 1 ; rm test_dir/changed_file ; sleep 1 ; done Now try to rename file rename_me. It's impossible, because it looses focus every second.
I can also confirm that. it's really unusable if you're downloading a file into that directory.
Ubuntu bug about that: https://launchpad.net/products/nautilus/+bug/56262
This bug seems like a corner case not treated when bug 87701 was fixed, that bug was about events like file size change (e.g. downloading a file) but the testcase on comment 0 reveals the bug still exists for file removals/aditions...
Created attachment 77168 [details] [review] Patch to also freeze updates while renaming in icon view In list view, rename lost focus both with file updating (downloading a file) or new file additions in the same folder of the being renamed file. In icon view the "file updating" case has always worked, but the file additions case doesn't, as it shows the testcase of comment 1. This patch uses the same fix done for list view in bug 87701, but this time for icon view so files being added/removed doesn't cause rename to loose focus...
A more descriptive component for this bug is "View as Icon".
Created attachment 77582 [details] [review] Updated patch for not loose rename focus on directory change New patch based on comments in nautilus-list: http://mail.gnome.org/archives/nautilus-list/2006-December/msg00004.html
commited