Summary: | Trash view is not automatically updated (if the trash icon in the Places Panel is in user-places.xbel file) | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Nicofo <nicofo> |
Component: | panels: places | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | adrian, frank78ac, nate |
Priority: | NOR | ||
Version: | 2.1 | ||
Target Milestone: | --- | ||
Platform: | Chakra | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | user-places.xbel file to test |
Description
Nicofo
2010-09-18 00:28:09 UTC
Thanks for the bug report! I can't reproduce the problem (neither in trunk nor in the 4.5 branch). OK, I think I have found a clue. It must be a problem if the trash button on the side panel is defined in the ./.local/share/user-places.xbel file Can you try this: 1) close dolphin (I suppose the trash is emptied) 2) remove (or rename) the file: ./.kde/share/apps/kfileplaces/bookmarks.xml 3) replace the ./.local/share/user-places.xbel file with: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xbel> <xbel xmlns:bookmark="http://www.freedesktop.org/standards/desktop-bookmarks" xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info" xmlns:kdepriv="http://www.kde.org/kdepriv"> <bookmark href="Trash:/"> <title>Trash</title> <info> <metadata owner="http://freedesktop.org"> <bookmark:icon name="user-trash"/> </metadata> <metadata owner="http://www.kde.org"> <ID>1258914057/2</ID> <OnlyInApp>dolphin</OnlyInApp> <IsHidden>false</IsHidden> </metadata> </info> </bookmark> </xbel> 4) restart dolphin: You'll have 2 Trash icons emptied in the side panel. 5) Delete a file and now see what happens ;-) => One icon shows 'trash full', the other shows 'empty' => click on one trash icon, go back to home, clik on the second icon: one time trash is emptied, the other time not. Can you recreate the bug now ? Created attachment 51793 [details]
user-places.xbel file to test
(Caution, don't make a simple copy/paste of the user-places.xbel file above: there is no new line at "<xbel" line.
Use rather with the file attached)
Thanks, I can reproduce it now. If I move a file to the trash and click the second trash icon in the Places Panel, the trash appears empty. Pressing F5 fixes that. After emptying the trash, the second trash is again not updated. > (Title) Trash view is not automatically updated if there are two trash icons in the Places Panel
It's not mandatory to have 2 trash icons in the Places Panel (who needs that !!)
The bug happens if - for whatever the reason - the thrash is defined in the ~/.local/share/user-places.xbel file.
As my case, it has happened - I guess - because I had removed by mistake the original trash icon in the panel and have had to re add it.
(I've update the title)
Resetting assignee to default as per bug #305719 This has been almost fully resolved as of Dolphin 16.12.3 and 17.08.0, except for the corner case detailed in https://bugs.kde.org/show_bug.cgi?id=252483 *** This bug has been marked as a duplicate of bug 252483 *** |