GNOME Bugzilla – Bug 373895
nautilus 2.16.2 desktop icons's position bug
Last modified: 2006-11-20 09:02:25 UTC
Please describe the problem: In the recently released nautilus 2.16.2, the desktop icons( computer,home,trash)'s position is not be loaded from saved nautilus icons position info (~/.nautilus/metafiles/) and show in a error position. Steps to reproduce: 1. every time when i enter gnome 2. 3. Actual results: Expected results: Does this happen every time? Other information: Because desktop icon file always return has_lazy_position is true(see below), function finish_adding_new_icons in nautilus-icon-container.c will allocate a new position to it. There is a patch to resolve the problem(maybe). --- nautilus-2.16.2/src/file-manager/fm-icon-view.c.orig 2006-11-11 22:55:32.000000000 +0800 +++ nautilus-2.16.2/src/file-manager/fm-icon-view.c 2006-11-11 22:55:52.000000000 +0800 @@ -536,7 +536,8 @@ file_has_lazy_position (FMDirectoryView * icon we don't overlap that one. */ - return NAUTILUS_IS_DESKTOP_ICON_FILE (file); + //return NAUTILUS_IS_DESKTOP_ICON_FILE (file); + return FALSE; } static void
Created attachment 76394 [details] [review] nautilus-2.16.2-desktop-icon-position.patch
isn't this basically what Bug 330298 is?
Tried tha patch here on gentoo (x86) and it seems to work correctly, thanks
*** Bug 374283 has been marked as a duplicate of this bug. ***
The proposed patch works fine also on slack11 (x86), gnome 2.16.2 compiled from scratch...
I did this patch that was reverting Federico changes on file_has_lazy_position function. This fixes the problem. If you don't like the current solution (drop half patch of Federico) please give a good one. Here is the patch we are using on Gentoo Linux. Thanks for understanding
Created attachment 76588 [details] [review] proposal patch to fix
Luis Medinas's reverting patch is correct better!
Confirming this problem exists in Mandriva Cooker nautilus-2.16.2-2md2007.1
I reverted all of federicos patch. We have to look into it more to know why it was causing problems (but not for federico). *** This bug has been marked as a duplicate of 330298 ***