<table><tr><td style="">davidedmundson requested changes to this revision.<br />davidedmundson added a reviewer: davidedmundson.<br />davidedmundson added a comment.<br />This revision now requires changes to proceed.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3166" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Edit, I think I understand.</p>

<p>So the script is modifying the actions not through some actions part of the API, but through just manually prodding the config.<br />
Manually prodding the config naturally has no effect at runtime changes.</p>

<p>This isn't a very thorough solution.</p>

<p>You're covering containment actions being reconfigured, but not covering them being added or removed - an equally plausible thing to script.</p>

<p>Also this script is making an optimistic assumption that in the script where you might be modding containment configs, you'd create a containment instance. That's not always true (like from the evaluate script DBus calls).</p>

<p>Maybe do this for 5.8, but you really need to expose a new method (or even Actions object) to do this properly - or to delay the loading.</p>

<p>BTW: The script in the bug report has a bug, it's only going to configure the actions on containment 0; even though you'll be reconfiguring the "correct" one.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAWORKSPACE Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3166" rel="noreferrer">https://phabricator.kde.org/D3166</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>mart, Plasma, davidedmundson<br /><strong>Cc: </strong>davidedmundson, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>