https://bugs.kde.org/show_bug.cgi?id=370285
Bug ID: 370285
Summary: Fails to load configuration when adding default panels
Product: kdeplasma-addons
Version: 5.7.2
Platform: Kubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Quicklaunch
Assignee: [email protected]
Reporter: [email protected]
After adding Quicklaunch to defaultPanel's layout.js then Quicklaunch fails to
read the configuration upon adding another panel.
The first Quicklaunch in the default panel works when you log in, but if you
add more default panels they will not read the configuration provided. They
will however read properly if you log out after adding them, without touching
them. They should read the configuration the first time.
Reproducible: Always
Steps to Reproduce:
1. Add the following to defaultPanel's layout.js:
/usr/share/plasma/layout-templates/org.kde.plasma.desktop.defaultPanel/contents/layout.js
var quicklaunch = panel.addWidget("org.kde.plasma.quicklaunch")
quicklaunch.currentConfigGroup = ["General"]
quicklaunch.writeConfig("launcherUrls","file:///usr/share/applications/org.kde.konsole.desktop,file:///usr/share/applications/org.kde.dolphin.desktop");
quicklaunch.writeConfig("maxSectionCount","2");
2. Log out.
3. Remove or move ~/.config/
It is probably only needed to remove
~/.config/plasma-org.kde.plasma.desktop-appletsrc
4. Log in
5. Right-click the desktop and add default panels.
Actual Results:
Quicklaunch appears in the panels but it will not load the configuration from
layout.js.
Expected Results:
Quicklaunch appears in the panels with the configuration from layout.js.
Tested on Kubuntu 16.04 and 16.10 beta 2.
--
You are receiving this mail because:
You are watching all bug changes.