Summary: | Empty kickoff favorites menu on first start with new user/empty profile | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Markus <darkvision> |
Component: | Application Launcher (Kickoff) | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | plasma-bugs, rdieter |
Priority: | NOR | ||
Version: | 5.5.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-desktop/fc9a550fbd0cb51f5342972948c38129de1bac35 | Version Fixed In: | |
Attachments: | Patch to fix obsolete_kickoffrc.js |
Description
Markus
2015-12-22 06:18:48 UTC
This problem is related to desktoppackage/contents/updates/obsolete_kickoffrc.js It looks like that this script tries to migrate from an existing kickoffrc file. If this config file does not exist like when you login for the first time with an empty profile the favorites page on kickoff will be empty. I removed this file from plasma-desktop package and now everything is fine. Also obsolete_kickoffrc.js seem to add the config options for favorites to the wrong config group. This is how it looks when migrating from a non existing kickoffrc file: [Containments][1][Applets][2][Configuration] favorites=\\0 systemApplications=systemsettings.desktop, This config options should be added to the [General] group. [Containments][1][Applets][2][Configuration][General] favorites= systemApplications=systemsettings.desktop, For some reason existing favorites from the kickoffrc file will not be added. All i get is favorites=\\0. I patched obsolete_kickoffrc.js, see attached patch #1. This seem to fix migrating favorites and also puts the config options to the correct config group. Created attachment 97190 [details]
Patch to fix obsolete_kickoffrc.js
This will fix migrating from kickoffrc file...
I can confirm this on fedora (kf5-5.19, plasma-5.5.5) Git commit bc28403a08c81d2c07c4582622d9c138ede24704 by Eike Hein. Committed on 27/03/2016 at 08:03. Pushed by hein into branch 'Plasma/5.6'. Set config group. M +10 -6 desktoppackage/contents/updates/obsolete_kickoffrc.js http://commits.kde.org/plasma-desktop/bc28403a08c81d2c07c4582622d9c138ede24704 Git commit fc9a550fbd0cb51f5342972948c38129de1bac35 by Eike Hein. Committed on 27/03/2016 at 08:13. Pushed by hein into branch 'Plasma/5.6'. Handle non-existing kickoffrc correctly. M +16 -8 desktoppackage/contents/updates/obsolete_kickoffrc.js http://commits.kde.org/plasma-desktop/fc9a550fbd0cb51f5342972948c38129de1bac35 |