graesslin added a comment.
I would go with following heuristic: 1. Identify primary screen 2. Iterate over all panels by ids 3. Check whether there is a task manager 4. if there is a panel bingo 5. if not go to next screen, till we find a task manager REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D2680 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma, #plasma:_design, hein Cc: cfeck, colomar, ivan, graesslin, lbeltrame, mart, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas