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 318373 - rename looses focus after directory change
rename looses focus after directory change
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.12.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-09 22:09 UTC by Stanislav Brabec
Modified: 2006-12-04 13:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Patch to also freeze updates while renaming in icon view (1.73 KB, patch)
2006-11-26 16:56 UTC, Nelson Benitez
none Details | Review
Updated patch for not loose rename focus on directory change (4.27 KB, patch)
2006-12-03 13:46 UTC, Nelson Benitez
none Details | Review

Description Stanislav Brabec 2005-10-09 22:09:49 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.
Comment 1 m96 2006-01-29 01:52:03 UTC
I can also confirm that. it's really unusable if you're downloading a file into that directory.
Comment 2 Sebastien Bacher 2006-09-01 14:13:34 UTC
Ubuntu bug about that: https://launchpad.net/products/nautilus/+bug/56262
Comment 3 Nelson Benitez 2006-10-14 18:59:57 UTC
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...
Comment 4 Nelson Benitez 2006-11-26 16:56:35 UTC
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...
Comment 5 Nelson Benitez 2006-11-26 17:13:19 UTC
A more descriptive component for this bug is "View as Icon".
Comment 6 Nelson Benitez 2006-12-03 13:46:31 UTC
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
Comment 7 Alexander Larsson 2006-12-04 13:04:40 UTC
commited