← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1422469]

 

(In reply to Hermann from comment #65)
> Yes, it's fully up to date.

Ok.

> What I tried now is totally removed ~/.kde4/share/apps/kfileplaces/ and
> removed also ~/.local/share/user-places* files.
> BUT after logout and back in there was now functional plasma-desktop
> there!?! No kicker, no taskbar/systemtray icons, no plasma widgets, no
> desktop background picture...
> Also 'killall plasma-desktop && plasma-desktop &' didn't bring back a
> working desktop in this stage :(

Strange, that should have absolutely no impact on plasma-desktop.

> I added then a new user in a console and logged me in with this new user and
> voila, there I have a perfectly working kde/dolphin (incl. places entries
> working here).
> So I copied the working ~/.local/share/user-places.xbel file from this new
> user to my old user (chowned to old user, home folder name to old user) and
> logged in again with the old user. Now I had a working desktop again!
> 
> The situation now is... I CAN add a new place in dolphin (this new entry
> still gets deleted automatically after 1 sec) BUT after this addition of a
> new places entry plasma-desktop crashes again :(! 

That it works with a new user account shows that the bug is fixed.
But again, check that the file is writeable for your user. Depending on how you copied it, that might not be the case.

> Really strange :(

Yes, and especially your Plasma crashes are totally unrelated to this
fixed bug report.

And I still don't see any relation to Plasma, Plasma should not care at all whether user-places.xbel exists.
Probably you added some Plasmoid that makes use of it? In this case that might also be the reason why places get removed again automatically.
Try to delete (or at least temporary rename) Plasma's config as well: ~/.kde4/share/config/plasma*

And if Plasma crashes, you should file a bug report against Plasma. But
it would be good to find out first which Plasmoid causes this.

-- 
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