Summary: | Fails to load configuration when adding default panels | ||
---|---|---|---|
Product: | [Plasma] kdeplasma-addons | Reporter: | chocolatesocket |
Component: | Quicklaunch | Assignee: | David Rosca <nowrep> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.7.2 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdeplasma-addons/0f4ec3e6da9c5bb582fa2cb92601daa8859b02f4 | Version Fixed In: |
Description
chocolatesocket
2016-10-08 08:58:04 UTC
This should fix it https://phabricator.kde.org/D2985 (In reply to David Rosca from comment #1) > This should fix it https://phabricator.kde.org/D2985 When I add that then plasmashell either hangs or Quicklaunch does not load the configuration. At least for the software in 16.04/16.10 beta 2. Can you please test it again? I've updated the patch. (In reply to David Rosca from comment #3) > Can you please test it again? I've updated the patch. Yes, that seems to fix it for launcherUrls. However, I was playing around with the rest of the configuration and discovered that the popup, which I did not try before, does not seem to not load its Urls either. So with the earlier changes to layout.js, add this: quicklaunch.writeConfig("enablePopup","true"); quicklaunch.writeConfig("popupUrls","file:///usr/share/applications/org.kde.kcalc.desktop,file:///usr/share/applications/org.kde.kate.desktop"); Updated the patch again, it should be fine now. (In reply to David Rosca from comment #5) > Updated the patch again, it should be fine now. Yep, works. They all load now. Thanks. Git commit 0f4ec3e6da9c5bb582fa2cb92601daa8859b02f4 by David Rosca. Committed on 10/10/2016 at 18:47. Pushed by drosca into branch 'Plasma/5.8'. Quicklaunch: Listen to external configuration changes Fixes changing applet config from scripting. Differential Revision: https://phabricator.kde.org/D2985 M +9 -0 applets/quicklaunch/package/contents/ui/Popup.qml M +9 -0 applets/quicklaunch/package/contents/ui/main.qml http://commits.kde.org/kdeplasma-addons/0f4ec3e6da9c5bb582fa2cb92601daa8859b02f4 |