Bug 44582 - Desktop Icons are mis-arranged from session to session
Summary: Desktop Icons are mis-arranged from session to session
Status: CLOSED DUPLICATE of bug 91575
Alias: None
Product: kdesktop
Classification: Miscellaneous
Component: icons (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-01 10:18 UTC by Shlomi Fish
Modified: 2009-01-02 20:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shlomi Fish 2002-07-01 10:15:44 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdesktop
Version:           KDE 3.0.1 
Severity:          normal
Installed from:    Mandrake RPMs
Compiler:          gcc
OS:                Linux
OS/Compiler notes: Not Specified

I keep have to line up the icons on my desktop
between two consequent sessions of KDE. The "Save Session" feature does not work.

(Submitted via bugs.kde.org)
Comment 1 David Faure 2002-07-01 10:22:57 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 01 July 2002 12:15 shlomif@vipe.technion.ac.il wrote:
> Package: kdesktop
> Version: KDE 3.0.1 
> Severity: normal
> Installed from:    Mandrake RPMs
> Compiler:          gcc
> OS:                Linux
> OS/Compiler notes: Not Specified
> 
> I keep have to line up the icons on my desktop
> between two consequent sessions of KDE. The "Save Session" feature does not work.

I need your help to debug such problems.
Check what ~/Desktop/.directory contains (i.e. whether it changes
whether it reflects your icon positions before and after moving an icon
before and after logging out and after logging in).
(Don't just send me that file what I need is investigation ;)

- -- 
David FAURE david@mandrakesoft.com faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/ http://www.koffice.org/
KOffice-1.2-beta2 is coming very shortly...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9IC2B72KcVAmwbhARAm/fAJ9ntZlI/UMVaSbZUNTXdwDzWoEY8gCfa5hu
BzLdfWQNerLu5uN27dOVoKo=
=vn3a
-----END PGP SIGNATURE-----
Comment 2 Shlomi Fish 2002-07-01 11:20:44 UTC
On Mon 1 Jul 2002 David Faure wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 01 July 2002 12:15 shlomif@vipe.technion.ac.il wrote:
> > Package: kdesktop
> > Version: KDE 3.0.1
> > Severity: normal
> > Installed from:    Mandrake RPMs
> > Compiler:          gcc
> > OS:                Linux
> > OS/Compiler notes: Not Specified
> >
> > I keep have to line up the icons on my desktop
> > between two consequent sessions of KDE. The "Save Session" feature does not work.
>
> I need your help to debug such problems.
> Check what ~/Desktop/.directory contains (i.e. whether it changes
> whether it reflects your icon positions before and after moving an icon
> before and after logging out and after logging in).
> (Don't just send me that file what I need is investigation ;)
>

After I run Line Up Icons I get the following diff:

--- dir-orig    Mon Jul  1 14:13:13 2002
+++ dir-good    Mon Jul  1 14:13:25 2002
@@ -577 +577 @@

 [IconPosition::Mandrake Expert.desktop]
 X=115
-Y=560
+Y=630

 [IconPosition::Mandrake News.desktop]
 X=117
@@ -1054 +1054 @@

 [IconPosition::konqbrowser.desktop]
 X=117
-Y=630
+Y=560

After I explicitly move an Icon I don't get any result.

Logging out and logging in again does not change it.

Regards

Shlomi Fish

> - --
> David FAURE david@mandrakesoft.com faure@kde.org
> http://people.mandrakesoft.com/~david/
> Contributing to: http://www.konqueror.org/ http://www.koffice.org/
> KOffice-1.2-beta2 is coming very shortly...
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE9IC2B72KcVAmwbhARAm/fAJ9ntZlI/UMVaSbZUNTXdwDzWoEY8gCfa5hu
> BzLdfWQNerLu5uN27dOVoKo=
> =vn3a
> -----END PGP SIGNATURE-----
>
>
> (Complete bug history is available at http://bugs.kde.org/db/44/44582.html)
>



----------------------------------------------------------------------
Shlomi Fish        shlomif@vipe.technion.ac.il
Home Page:         http://t2.technion.ac.il/~shlomif/
Home E-mail:       shlomif@iglu.org.il

He who re-invents the wheel understands much better how a wheel works.
Comment 3 David Faure 2002-07-01 11:44:02 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 01 July 2002 13:20 Shlomi Fish wrote:
> On Mon 1 Jul 2002 David Faure wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Monday 01 July 2002 12:15 shlomif@vipe.technion.ac.il wrote:
> > > Package: kdesktop
> > > Version: KDE 3.0.1
> > > Severity: normal
> > > Installed from:    Mandrake RPMs
> > > Compiler:          gcc
> > > OS:                Linux
> > > OS/Compiler notes: Not Specified
> > >
> > > I keep have to line up the icons on my desktop
> > > between two consequent sessions of KDE. The "Save Session" feature does not work.
> >
> > I need your help to debug such problems.
> > Check what ~/Desktop/.directory contains (i.e. whether it changes
> > whether it reflects your icon positions before and after moving an icon
> > before and after logging out and after logging in).
> > (Don't just send me that file what I need is investigation ;)
> >
> 
> After I run Line Up Icons I get the following diff:
(irrelevant)

> After I explicitly move an Icon I don't get any result.
That's by design. Icon positions are supposed to be saved when 
closing the session. It looks like the shutdown of kdesktop doesn't
happen as it should.

Simon: any idea why kapp's shutDown signal isn't emitted for some people
in kdesktop when they log out from KDE ?
Should we simply save the icon positions after each icon being moved
after all? We tried to do a little saving there but since people seem to get
problems from it... I don't think saving the .directory file for each icon being
moved would lead to any noticeable slowdown - but OTOH I don't use KDE
on a 486 ;)

- -- 
David FAURE david@mandrakesoft.com faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/ http://www.koffice.org/
KOffice-1.2-beta2 is coming very shortly...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9IECC72KcVAmwbhARAr11AJ9KbqWB82XBK1MkhBJ6/3zTvpYB8QCbBoDl
MSJBKNN31dA04t807+WPucY=
=AlIr
-----END PGP SIGNATURE-----
Comment 4 Luke Anderson 2004-04-23 18:35:23 UTC
Hi. I'm not sure how relevent this is but I will submit it all the same:

If I edit $HOME/Desktop/.directory and change a coordinate and save the file, kdesktop icons will all redraw as if kdesktop has picked up this change, but all the icons will remain in the same places.

This, along with the fact that .directory is populated with files which have are no longer there, makes me wonder if kdesktop is even reading from ~/Desktop/.directory at all.

How would one force kdesktop to reload it's configuration?, just in case it is not already doing so.

Many thanks,
  Luke.
Comment 5 Luke Anderson 2004-07-12 20:34:46 UTC
This bug has been fixed for some time, but unfortunately some people still have stale $HOME/Desktop/.directory files laying around which are causing problems.

Delete $HOME/Desktop/.directory, restart kde - and begin afresh :).

Hope this is of help,
  Luke Anderson.
Comment 6 klee 2004-11-18 21:16:35 UTC
Possibly duplicate of Bug #91575.
Comment 7 Martin Koller 2005-01-02 21:24:46 UTC

*** This bug has been marked as a duplicate of 91575 ***
Comment 8 FiNeX 2009-01-02 20:19:05 UTC
Bug closed. Kdesktop is no more mantained.