broulik added a comment.
> why it was "confused" in the first place. If you just did a hide() it would never put the dialog back into the "available popups" pool, always reserving the space on screen as occupied by a popup. The C++ part already does some visibleChanged magic but only for when *showing* the dialog, it's quite a mess, but I didn't dare touching it. (Not in stable branch, anyway) REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D4632 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma, ivan Cc: ivan, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol