← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1422469]

 

(In reply to Naufal Fachrian from comment #62)
> Solved on openSUSE 13.2 with
> http://download.opensuse.org/repositories/KDE:/Applications/openSUSE_13.2/
> repository enabled.
> Just wanna to say this bug was fixed.. Thanks to the devs! :)

I think I'm also affected by this bug (openSUSE 13.2) and here when I
rearrange a places entry or delete one or add a new one it gets deleted
immediately again (<1sec).

Furthermore when I rearrange/delete/add a places entry my whole plasma-
desktop crashes (and I have to do 'killall plasma-desktop && plasma-
desktop &' to bring it back). I've recorded a short video to demonstrate
this "places bug", see https://youtu.be/m04DCjboKnA

So by above mentioned solution to add the KDE:Applications repo doesn't
work here. I've upgrade my kde packages to the Applications repo
versions but the dolphin problem still exists.

What I'm wondering is also the fact that my
~/.kde4/share/apps/kfileplaces/bookmarks.xml file is really (!) huge and
becomming bigger and bigger (3,5MB now).

~  ll ~/.kde4/share/apps/kfileplaces/bookmarks.xml
-rw-r--r-- 1 heart users 3,5M  1. Jul 13:30 /home/heart/.kde4/share/apps/kfileplaces/bookmarks.xml

There are ~15000 lines of code in there which looks like again and again
like shown here https://paste.kde.org/pabbfnjtc

(.local/share/user-places.xbel file looking good with 2,9K)

S | Name                               | Typ        | Version      | Arch   | Repository              
--+------------------------------------+------------+--------------+--------+-------------------------
i | Dolphin                            | Anwendung  |              | noarch | (Systempakete)          
i | dolphin                            | Paket      | 15.04.2-3.8  | x86_64 | KDE:Applications        

~  kde4-config --version
Qt: 4.8.6
KDE: 4.14.9
kde4-config: 1.0

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to kdenlive in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1422469

Title:
  Dolphin won't keep the folder shortcuts on Kubuntu 15.04 with Plasma
  5.

Status in One Hundred Papercuts:
  Confirmed
Status in kdelibs:
  Fix Released
Status in KDE Non-Linear Video Editor:
  Fix Released
Status in kde-baseapps package in Ubuntu:
  Fix Released
Status in kde4libs package in Ubuntu:
  Fix Released
Status in kdenlive package in Ubuntu:
  Fix Released
Status in kio package in Ubuntu:
  Fix Released
Status in kde-baseapps source package in Vivid:
  Fix Released
Status in kde4libs source package in Vivid:
  Fix Released
Status in kio source package in Vivid:
  Fix Released
Status in kde-baseapps source package in Wily:
  Fix Released
Status in kde4libs source package in Wily:
  Fix Released
Status in kio source package in Wily:
  Fix Released

Bug description:
  # Impact
  KDE software loses 'places' bookmarks when using KDE frameworks 5 and KDELibs4 software at the same time. In particular the default file manager Dolphin will have one of its by-default-visible features rendered useless by this and actively lose data the user created.

  ## Affects
  - kde4libs: which has a sync code that attempts to sync the XDG places file with the legacy KDE file.
  - kio (kf5): as it has the same syncing code as kde4libs.
  - kde-baseapps (specifically dolphin): as it is using the legacy KDE file while the rest of a plasma5 desktop would use the XDG places file.
  - kdenlive: has hardcoded file lookup for the old file to automatically inject its projects folder into the places list (not terribly important feature and actually has provisioning for the file not being found).

  # Test Case
  1. Open Dolphin.
  2. Select the folder you want in the Places shortcut on the left panel.
  3. Drag and Drop the folder on the left panel in the "Places" section.
  4. Restart the system.

  ## Kdenlive
  Kdenlive has a bit of a different use case it injects itself into the list of places
  - create new user
  - start kdenlive and go through wizard
  - file -> open
  - places sidebar should contain an entry for kdenlive projects.

  # Regression Potential
  Somewhat potentially high unfortunately. The way this had to be resolved was by removing a piece of compatibility tech from kdelibs(4) that would attempt to sync the XDG places bookmarks with the kdelibs<=4 preferred kde-specific places file and instead always use the XDG file. This effectively means that the old places file will not get updated anymore. Applications that had its path hardcoded would use the wrong file and no longer show the same places list as the rest of the system. It is hard to assess whether we have any such application in the archive, but it is a risk worth taking considering we currently lose user data in one of the most obvious places.

  # Other Info

  ## Upstream references
  http://quickgit.kde.org/?p=kdelibs.git&a=commit&h=5c0a31a2f2a46aa44b8c34baae67b6951b2abcaf
  http://quickgit.kde.org/?p=kde-baseapps.git&a=commit&h=270d2affaafcc9e87ba14f82bfe579e22607e2d2
  http://quickgit.kde.org/?p=kio.git&a=commit&h=e919daeb5b144b146dbf459fadb116729b866d21

  ## Upstream Bug
  https://bugs.kde.org/show_bug.cgi?id=345174

  ---- original report ----

  Steps to reproduce:
  1. Open Dolphin.
  2. Select the folder you want in the Places shortcut on the left panel.
  3. Drag and Drop the folder on the left panel in the "Places" section.
  4. Restart the system.

  What Happens:
  Dolphin is set back to default places.

  What is expected:
  Dolphin displays the customize places shortcuts.

  I tried askubuntu, but they deleted my question as off-topic because
  Kubuntu 15.04 Vivid Vervet with Plasma 5 haven't been released.

  Aditional info is that this is not an upgrade, but a fresh install.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1422469/+subscriptions