https://bugzilla.novell.com/show_bug.cgi?id=440874
User dliang@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=440874#c5
David Liang changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dliang@novell.com
--- Comment #5 from David Liang 2008-11-24 23:40:17 MST ---
There are two types of icons on the desktop view.
One is real file in ~/Desktop, the icon informations were preserved in
~/Desktop metafile.
The other is virtual link, the icon informations preserved in
x-nautilus-desktop metafile.
I found there were two problems in this bug. (my version is beta4)
1. The metadata content the of ~/Desktop file will be load after the icon
positioned.
Every time Nautilus restarted, the preserved desktop icon informations in
~/Desktop will not be loaded.
Nautilus will re-initialized these informations and positioned them from the
beginning position.
So "clean up" will not take effect when Nautilus restarted (system
restarted).
I added some codes to nautilus-desktop-directory.c:update_desktop_directory
to load the preserved
~/Desktop metafile (before icon positioned). This problem was solved.
But the first time we use Nautilus, it will still be messed up.
2. virtual link icons will be positioned after real file icons were positioned
and don't care how the real
file icons were positioned.
All these icons positioned together will cause the messed up bug.
x-nautilus-desktop metafile will be load before virtual link icons
positioned, so problem 1 was not existed in
this case.
I'm thinking about if we can merge the real file icon informations of ~/Desktop
to x-nautilus-desktop metafile.
x-nautilus-desktop metafile can be totally in charge of our desktop view.
~/Desktop metafile (file:%2F%2F%2Froot%2FDesktop.xml) could be used for the
normal icon view in Nautilus,
just as icon views of "/home", "/tmp" and the etc.
The current ~/Desktop metafile preserved both icon informations of the normal
icon view (~/Desktop directory)
and the desktop view, I think it will cause bugs.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.