<table><tr><td style="">hein created this revision.<br />hein added reviewers: Plasma, davidedmundson, broulik.<br />hein added a subscriber: plasma-devel.<br />Restricted Application added a project: Plasma.
</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/D2807" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Utility windows (NET::Utility/_NET_WM_WINDOW_TYPE_UTILITY) should<br />
not be on the Task Manager, but they should be on the Pager. This<br />
patch achieves this by evaluating the window type in the<br />
AbstractTasksModel::SkipTaskBar data role.</p>
<p>I considered the alternative approach of making a new<br />
AbstractTasksModel::IsUtilityWindow (or similar) data role and<br />
adding a pass to evaluate it to TaskFilterProxyModel, then<br />
configuring the filter models in TasksModel and the Pager backend<br />
differently. But this is not very extensible. Then I realized that<br />
AbstractTasksModel data roles do not and should not reflect X11<br />
idioms anyway; the point of the library is to abstract for the<br />
purpose of UI, and what XWindowTasksModel considers "SkipTaskBar"<br />
is really an implementation detail. This makes all the more sense<br />
considering on Wayland we have no notion of window types (beyond<br />
"popup") yet, and don't quite now how it's going to evolve.</p>
<p>Various API docstrings have been changed to better reflect that<br />
the meaning of the data role doesn't map to anything specific in<br />
the tasks.</p>
<p>BUG:368956</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAWORKSPACE Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>Plasma/5.8</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2807" rel="noreferrer">https://phabricator.kde.org/D2807</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>libtaskmanager/abstracttasksmodel.h<br />
libtaskmanager/taskfilterproxymodel.h<br />
libtaskmanager/xwindowtasksmodel.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>hein, Plasma, davidedmundson, broulik<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>