Trash will not work properly on kde

Started by delta9, 2013/11/24, 20:37:50

Previous topic - Next topic

delta9

Hello,

i have kde 4.11.3 installed from debian repositories.

I have added a trash icon-widget. When i press on the trash icon it opens my home directory and not the trash directory.

Any suggestions ?

Thanks a lot in advance

dibl

I had never used that widget before, so today I tried it.  Steps:


1. Unlock widgets
2. "Add Widget"
3. Searched for "Trash", found it, double-clicked it.  The icon appeared on my panel.
4. Opened Dolphin, selected 3 files in my home folder, right-clicked and chose "Move to Trash".
5. Observed the trash icon change to show something at the top.
6. Clicked the trash icon to open it.
7. Observed the 3 files that I had deleted from my home folder.


So, I cannot replicate your issue -- does the included trash function in Dolphin work correctly?
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

delta9

Hi,
thanks for your relpy.

Yes, trash in dolphin works properly

dibl

I just tried it again -- but this time I added it to my desktop rather than the panel.  Same result -- it works correctly.  I note that when you open the icon, you are actually opening Dolphin.  So this icon appears to be simply a way to invoke the Dolphin trash function from the desktop or panel.


Is your KDE desktop mostly still in default settings?  Do you have many customizations on your desktop settings?


Have you removed the icon, and then installed it again?  Did you try installing on the panel, rather than the desktop?
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

drb

It didn't work in the initial dist upgrade to 4.11 (opened up home view rather than trash) but is now working. Are you fully dist-upgraded?

piper

delta9

What is the output of

ls -l ~/.local/share/Trash/files

and

ls -l ~/.local/share/Trash/info

Perhaps try

rm -rf ~/.local/share/Trash/files/*
rm -rf ~/.local/share/Trash/info/*


to empty.

If that don't work, try

rm -Rf /home/username/.local/share/Trash/*
rm -Rf /home/username/.local/share/Trash/files/*
rm -Rf /home/username/.local/share/Trash/info/*


To empty root trash
 
rm -Riv ~/.Trash/*



I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

delta9

Hi,

thanks for your replies. Problem is still here.

@piper: I can empty Trash. I have no problem with that.

@drb: my system is fully upgrade

@dibl: I dont have any special customizatios and my desktop is mostly on default settings

spacepenguin

Funny (more or less), I now have the same problem in a vbox Kubuntu test-installation: a click on the trash widget in the panel opens my home folder but from dolphin's places bar I can open the trash without problems...
Susan | Hardware: SysProfile
Music-Profile: http://www.last.fm/de/user/spacepengu

piper

Quote from: delta9Hello,

i have kde 4.11.3 installed from debian repositories.

I have added a trash icon-widget. When i press on the trash icon it opens my home directory and not the trash directory.

Any suggestions ?

Thanks a lot in advance

It should point to

trash:/

I have zero problems with trash icon
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

spacepenguin

The only difference I see in the trash widget in siduction panel (working) and the kubuntu panel (not working): the working trash has a small overlay icon, which opens a two entry menu on leftclick (for open and delete), the not working trash doesn't have this overlay icon...

BTW: There's a bug report: https://bugs.kde.org/show_bug.cgi?id=327479
https://bugs.kde.org/show_bug.cgi?id=327224
Susan | Hardware: SysProfile
Music-Profile: http://www.last.fm/de/user/spacepengu

piper

QuoteK.J. Petrie

The problem seems to be Dolphin-specific. If the default browser is set to konqueror function is as expected. It seems dolphin doesn't recognise
the trash: protocol.

In a terminal, compare:

$ dolphin trash:/

with

$konqueror trash:/

Hope that helps narrow things down.

My default browser  is set to konqueror, as I like it much better than dolphin. I also have no problems
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

Santa

Quote from: delta9 on 2013/11/24, 20:37:50
Hello,

i have kde 4.11.3 installed from debian repositories.

I have added a trash icon-widget. When i press on the trash icon it opens my home directory and not the trash directory.


I think this problem was fixed with this patch
Quote from:

kde-baseapps (4:4.11.3-0r1) UNRELEASED; urgency=low


  * Add ignore_unsuppported_files.diff.


-- José Manuel Santamaría Lema <panfaust@gmail.com>  Thu, 07 Nov 2013 11:00:39 +0100


which as you can see I have included almost a month ago. I think this patch wasn't included in debian, and that's why you have this problem while other people which has kdenext activated don't have it.


In any case the patch came from a fellow KDE developer and it's fixed in 4.11.4.

Quote from: delta9 on 2013/11/24, 20:37:50
Any suggestions ?


As a suggestion - add the kdenext repository to your sources.list.

delta9

Thanks a lot for your reply Santa.

Well i guess its time to move to kdenext repository