<table><tr><td style="">hoffmannrobert created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />hoffmannrobert requested review of this revision.
</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/D10344" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In multi-monitor environments panels are always created on screen number 0.<br />
There is no easy way to have panels on the other screens besides editing<br />
plasma-org.kde.plasma.desktop-appletsrc and modifying lastScreen.</p>
<p>This patch identifies the screen where the right-click 'Add Panel' happened<br />
and adds a panel to this particular screen.</p>
<p>Depends on the changes in plasma-framework ( see <a href="https://phabricator.kde.org/D10343" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D10343</a> ) providing<br />
Containment *createContainmentForScreen(int screenNum, const QString &name, const QVariantList &args = QVariantList());<br />
Containment *addContainmentForScreen(int screenNum, const QString &name, const QVariantList &args, uint id, bool delayedInit = false);<br />
void Containment::setLastScreen(int screen);</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10344" rel="noreferrer">https://phabricator.kde.org/D10344</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/scripting/scriptengine.cpp<br />
shell/shellcorona.cpp</div></div></div><br /><div><strong>To: </strong>hoffmannrobert<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>