Bug 408115

Summary: Trash can on desktop created using a Desktop file rather than the Trashcan widget shows inappropriate context menu
Product: [Plasma] plasmashell Reporter: madworm_de.kde
Component: Desktop ContainmentAssignee: Sebastian Kügler <sebas>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kde, nate, plasma-bugs
Priority: NOR Keywords: usability
Version: 5.15.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: "move to trash" on trash-bin
trash widget vs. desktop file

Description madworm_de.kde 2019-05-30 13:51:29 UTC
Created attachment 120397 [details]
"move to trash" on trash-bin

Trash bin can delete itself with "move to trash"

OS: openSUSE Tumbleweed "20190527"
Plasma version: plasma5-desktop-5.15.5-1.1.x86_64
Comment 1 Nate Graham 2019-06-02 19:52:29 UTC
That's because that particular trash is actually a Desktop file, which is just a text file that gets interpreted to mimic a trash. So technically, it's correct for the context menu to show a bunch of file-related actions. However this is obviously a somewhat odd user experience.

We actually already have a better user experience for "trash-on-the-desktop": add the "Trashcan" widget to the desktop. This widget has all the same functionality as well as a more appropriate trash-specific context menu.

Maybe we should have Plasma intelligently sense when a user is trying to add the trash to the desktop in a way that would create a desktop file for it, and instead create a new Trashcan widget.
Comment 2 madworm_de.kde 2019-06-02 21:54:16 UTC
I tested the trash plasma widget today.

Observations:

* It doesn't easily line up with the normal icons on my desktop
* Resizing to match the size of the icons didn't go too well
* I can't rename the thing
* It bugs me like hell that for moving the widget I always have to use the top-right thing on the desktop

So, if you asked me, no widget for me anytime soon.
Comment 3 Kai Uwe Broulik 2019-06-03 07:00:33 UTC
You can delete the Trash from the desktop just fine, the label is a bit confusing, but I don't see anything wrong with that.
Comment 4 madworm_de.kde 2019-06-03 07:50:09 UTC
Well, it's a look & feel issue.

If this were to affect an *pple device, someone would be screamed at quite loudly.
Comment 5 madworm_de.kde 2019-06-03 07:50:37 UTC
Created attachment 120514 [details]
trash widget vs. desktop file
Comment 6 Nate Graham 2019-06-03 14:21:21 UTC
Anyway my point was that it's probably worth unifying these somehow. Having two ways to put a trash on the desktop isn't really ideal. And that single way should look and feel good and proper.
Comment 7 Nate Graham 2023-04-09 22:32:16 UTC

*** This bug has been marked as a duplicate of bug 416954 ***