KDE4: Home folder files deleted

Dmitry Suzdalev dimsuz at gmail.com
Wed Aug 9 09:02:59 BST 2006


You rock! :)

Have you tried to fix this? (to confirm, that your guess is right)
I'd try it, but my working copy of kdebase left at home...

Dmitry.

2006/8/9, Richard Lärkäng <nouseforaname at home.se>:
> On Monday 07 August 2006 18:51, Matthias Lechner wrote:
> > Hi Daniel,
> >
> > Thank you for answer, but it's too late. The files really didn't get
> > deleted but have been just moved into my trash can :-) Unfortunatelly I
> > downloaded and compiled the whole stuff again. I will take a look at this
> > and will try to track it down.
> >
> > I think this bug is not a "happy welcome" to new kde4 developers ;-)
> >
> > Best regards
> > Matthias
>
> I think the problem is in kdebase/runtime/kioslave/trash/trashimpl.cpp in
> migrateOldTrash().
>
> There it moves the contents of g.readPathEntry( "Trash" ) to the new trash.
> But the default setting for Paths/Trash is gone from KGlobalSettings, so the
> setting will be an empty string. And then it will move the home directory to
> trash because QDir(QString::null).entryList() returns the contents of the
> home directory.
>
> Not so sure what the correct solution is but it at least looks like that
> would
> be the cause.
>
> /Richard Lärkäng
>
>




More information about the kde-core-devel mailing list