mart created this revision. mart added a reviewer: Plasma. Restricted Application added projects: Plasma, Frameworks. Restricted Application added subscribers: Frameworks, plasma-devel. mart requested review of this revision.
REVISION SUMMARY if an applet is requiresattention, always give the popup focus rationale is for the devicenotifier which opten opens and is not possible to dismiss it by clicking anywhere: unfortunately the only way we have is to give it focus, so it can close. there is probably a more elegant way to do this (and not steal focus) maybe a dbus protocol from kwin? TEST PLAN device notifier always gets focus even if input from the current focus window is recent REPOSITORY R242 Plasma Framework (Library) BRANCH phab/activatepopups REVISION DETAIL https://phabricator.kde.org/D10591 AFFECTED FILES src/plasmaquick/appletquickitem.cpp To: mart, #plasma Cc: plasma-devel, #frameworks, michaelh, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart