<table><tr><td style="">graesslin created this revision.<br />graesslin added a reviewer: Frameworks.
</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/D3689" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The idea behind the env variable is to put kgloabalacceld into test mode<br />
and let it operate on a in-memory KConfig instead of the normal rc file.</p>

<p>From auto tests in KWin we know that the<br />
QStandardPath::setTestModeEnabled is not sufficient. If there are<br />
multiple tests interacting with kglobalaccel they interact with each<br />
other in ways we normally don't want.</p>

<p>With this env variable we could get KWin to have an in-memory kconfig<br />
and support better testing of the global shortcuts. We can adjust the<br />
shortcuts without having side effects on other tests.</p></div></div><br /><div><strong>BRANCH</strong><div><div>kglobalaccel-test-mode</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3689" rel="noreferrer">https://phabricator.kde.org/D3689</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/runtime/globalshortcutsregistry.cpp</div></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>graesslin, Frameworks<br /></div>