<div>broulik created this revision.<br />
broulik added reviewers: Plasma, hein, graesslin.<br />
broulik set the repository for this revision to rPLASMAWORKSPACE Plasma Workspace.<br />
Restricted Application added a project: Plasma.<br />
Restricted Application added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>When there is only one virtual desktop, TasksModel DesktopRole returns 0 instead of 1, so we never listed windows in this case.</p>
<p>BUG: 363656<br />
FIXED-IN: 5.6.5</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Seems to work.</p>
<p>I don't understand why the model does that, though:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">int Task::desktop() const
{
if (KWindowSystem::numberOfDesktops() < 2) {
return 0;
}
return d->info.desktop();
}</pre></div></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/D1706" rel="noreferrer">https://phabricator.kde.org/D1706</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>containmentactions/switchwindow/switch.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>broulik, Plasma, hein, graesslin<br /><strong>Cc: </strong>plasma-devel, sebas<br /></div>