Bug 350294 - Cannot edit Dolphin bookmarks
Summary: Cannot edit Dolphin bookmarks
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: panels: places (show other bugs)
Version: 4.14.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-16 14:59 UTC by artghio
Modified: 2015-12-03 21:29 UTC (History)
2 users (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 artghio 2015-07-16 14:59:53 UTC
Whenever in the Places panel I try to edit one of the bookmarks saved in "~/.kde/share/apps/kfileplaces/bookmarks.xml", all of them disappear, and only the bookmarks saved in "~/.local/share/user-places.xbel" are shown. For "edit one of the bookmarks" I mean for example:
- moving one of them (changing the order);
- hiding one of them;
- adding a folder through drag and drop.

After closing and opening Dolphin, the Places panel appear again (both the bookmarks in bookmarks.xml and user-places.xbel are shown), but my edit has not been applied:
- if I moved a bookmark, it comes back to the original position;
- if I hid a bookmark, it appears again;
- if I added a folder though drag and drop, it always appears on the top of the list whatever position I chose.

Moreover, in "bookmarks.xml" entries are duplicated. If I open the file dialog (for example, in Kate I click "File" > "Open..."), the entries on the left are messed up.

This is my "bookmarks.xml" file after I tried to hide "Home":
http://pastebin.com/bqK1bUN0

If I edit again bookmarks, they disappear again and "bookmarks.xml" gets even more duplicated:
http://pastebin.com/F0dH6S74

Deleting the "bookmarks.xml" file doesn't help.

Reproducible: Always

Steps to Reproduce:
1. Edit a bookmark in the Places panel (for example right click "Home" and click "Hide «Home»").
2. Close Dolphin (so that "bookmarks.xml" is saved).
3. Open the file dialog (for example open "Kate" and go in "File" > "Open...").

Actual Results:  
On step 1: bookmarks in "bookmarks.xml" disappear, only bookmarks in "user-places.xbel" stay visible (or all bookmarks disappear if "user-places.xbel" is empty).

On step 3: some bookmarks on the left are duplicated.

Expected Results:  
On step 1: bookmarks should be updated accordingly (in the example, only "Home" should disappear).

On step 3: bookmarks should not be duplicated.

I'm using KDE version 4.14.2 and Dolphin version 15.04.0 ("dolphin" package version 4:15.04.3-1 from Debian testing).
Comment 1 Emmanuel Pescosta 2015-07-27 19:49:08 UTC
Thanks for the detailed bug report!

This bug should be fixed with the following package versions: 
* kde-baseapps >= 15.04.1 
* kdelibs >= 4.14.8 
* KIO >= 5.10 (if you have KF5 installed)

Duplicate of 345174?
Comment 2 Emmanuel Pescosta 2015-10-10 13:58:17 UTC
Please reopen this bug report if you can still reproduce it. Thanks!
Comment 3 artghio 2015-10-10 18:40:19 UTC
No, I can no longer reproduce it with the current version of Plasma in Debian testing.

$ apt-cache policy kde-baseapps
kde-baseapps:
  Installed: 4:15.08.1-1
  Candidate: 4:15.08.1-1
  Version table:
 *** 4:15.08.1-1 0
        990 http://ftp.it.debian.org/debian/ testing/main amd64 Packages

$ apt-cache policy kdelibs-bin
kdelibs-bin:
  Installed: 4:4.14.12-2
  Candidate: 4:4.14.12-2
  Version table:
 *** 4:4.14.12-2 0
        990 http://ftp.it.debian.org/debian/ testing/main amd64 Packages

$ apt-cache policy dolphin
dolphin:
  Installed: 4:15.08.1-1
  Candidate: 4:15.08.1-1
  Version table:
 *** 4:15.08.1-1 0
        990 http://ftp.it.debian.org/debian/ testing/main amd64 Packages