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 703233 - When you drag a file in nautilus, it updates page
When you drag a file in nautilus, it updates page
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: All
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 704652 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-06-28 10:06 UTC by Alejandro HC
Modified: 2013-07-30 21:20 UTC
See Also:
GNOME target: ---
GNOME version: 3.7/3.8


Attachments
Fix for bug 703233 (1.19 KB, patch)
2013-07-29 07:36 UTC, Nelson Benitez
none Details | Review
Fix v2 for bug 703233 (1.18 KB, patch)
2013-07-29 13:14 UTC, Nelson Benitez
committed Details | Review

Description Alejandro HC 2013-06-28 10:06:37 UTC
Description of problem:
Since I upgraded to Fedora 19 RC2, nautilus has an annoying behavior when dragging a file as it updates the page.
This is a big problem, and that having a lot of files, I have a little delay precludes an action properly.

Version-Release number of selected component (if applicable):
fedora 19
gnome 3.8.3
nautilus 3.8.2

How reproducible:
always

Steps to Reproduce:
1.Open nautilus (icon view)
2.Drag a file to move it to a folder

Actual results:
Upon dragging the file, nautilus refresh the page. This hinders the action because for a second place is unknown destination folder (if the action is done quickly, the file you are trying to move may end up in another folder).

Expected results:
The Nautilus page is not updated when dragging a file.
Comment 1 Nelson Benitez 2013-07-26 12:13:07 UTC
*** Bug 704652 has been marked as a duplicate of this bug. ***
Comment 2 Nelson Benitez 2013-07-26 12:14:59 UTC
List view is also affected by this bug, not only icon view.
Comment 3 Alejandro HC 2013-07-26 15:42:41 UTC
(In reply to comment #2)
> List view is also affected by this bug, not only icon view.

You are absolutely right, however, when I reported it only affected the icon view.

Actually this behavior is very annoying, I hope they can do something.
Comment 4 Nelson Benitez 2013-07-26 17:59:44 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > List view is also affected by this bug, not only icon view.
> 
> You are absolutely right, however, when I reported it only affected the icon
> view.

Ok.

>
> Actually this behavior is very annoying, I hope they can do something.

 I have some good news, I've spotted the issue and have a working patch, but I won't be able to post it till monday.

Have a nice weekend.
Comment 5 Nelson Benitez 2013-07-29 07:36:59 UTC
Created attachment 250348 [details] [review]
Fix for bug 703233

This bug was introduced in commit 0d635bda where the logic to open locations on hover did not take into account to not doing it for the current (starting drag) location.
Comment 6 Nelson Benitez 2013-07-29 13:14:36 UTC
Created attachment 250365 [details] [review]
Fix v2 for bug 703233

My prior patch was wrong in that it was freeing the GFile returned by nautilus_window_slot_get_location() which is not needed and so I was seeing some crashes due to that, fixed that and also add a null check for the returned value.
Comment 7 Cosimo Cecchi 2013-07-29 17:52:07 UTC
Review of attachment 250365 [details] [review]:

Thanks, this looks good to me.
Comment 8 Alejandro HC 2013-07-29 18:39:20 UTC
(In reply to comment #6)

Thank you very much.
Comment 9 Nelson Benitez 2013-07-30 21:19:54 UTC
(In reply to comment #7)
> Review of attachment 250365 [details] [review]:
> 
> Thanks, this looks good to me.

Pushed as e2b48065

thank you!