D10591: forcefully activate popup windows when they open
Marco Martin
noreply at phabricator.kde.org
Fri Feb 16 18:10:48 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180216/7b530685/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list