Summary: | Enable/Disable scripts in KCM does not (un)load the script in running KWin | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Martin Flöser <mgraesslin> |
Component: | scripting | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.10.3 | ||
Target Milestone: | 4.10.4 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/dd5b4bdec8e24359d4715c078e2f442967a3f873 | Version Fixed In: | 4.10.4 |
Description
Martin Flöser
2013-05-13 06:22:51 UTC
Git commit dd5b4bdec8e24359d4715c078e2f442967a3f873 by Martin Gräßlin. Committed on 08/05/2013 at 10:45. Pushed by graesslin into branch 'KDE/4.10'. Reparse configuration before (un)loading scripts When the scripting KCM triggered a loading of a script it did not work because the scripting code was operating on an old data set. Reparsing the configuration before evaluating which scripts to (un)load solves this problem. REVIEW: 110357 FIXED-IN: 4.10.4 M +6 -0 kwin/scripting/scripting.cpp http://commits.kde.org/kde-workspace/dd5b4bdec8e24359d4715c078e2f442967a3f873 Git commit 2af4011145a017bf2d5dd868a53d262f58385a52 by Martin Gräßlin. Committed on 08/05/2013 at 10:45. Pushed by graesslin into branch 'master'. Reparse configuration before (un)loading scripts When the scripting KCM triggered a loading of a script it did not work because the scripting code was operating on an old data set. Reparsing the configuration before evaluating which scripts to (un)load solves this problem. Cherry-picked from 4.10 branch: dd5b4bdec8e24359d4715c078e2f442967a3f873 M +6 -0 kwin/scripting/scripting.cpp http://commits.kde.org/kde-workspace/2af4011145a017bf2d5dd868a53d262f58385a52 |