kwin/effects
David Edmundson 3604aaf74c Close screen grabbing effect when screensaver starts
Summary:
The screenlock fails on X11 if it can't grab the keyboard.

We can't nicely solve the generic case. We can solve the common case of
a kwin effect being active.

It's not critical, arguably not even desirable to have these effects
persist after the screen is locked through an external trigger. We can
just close the effect early.

Key grabs have to be relased early before the close animation completes
so that the locker doesn't have a race based on animation times.

It's not ideal, but no worse than the current state for not much work.

BUG: 234153

Test Plan:
locked screen on a timer
opened various effects

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: ngraham, zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D20890
2019-06-23 18:00:47 +02:00
..
backgroundcontrast [effects] Make sure that all effects reset the streaming buffer 2019-02-15 15:51:54 +02:00
blur [effects] Make sure that all effects reset the streaming buffer 2019-02-15 15:51:54 +02:00
colorpicker
coverswitch [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
cube Close screen grabbing effect when screensaver starts 2019-06-23 18:00:47 +02:00
cubeslide [effects/cubeslide] Cancel active animation when number of desktops has changed 2019-05-07 15:13:09 +03:00
desktopgrid Close screen grabbing effect when screensaver starts 2019-06-23 18:00:47 +02:00
dialogparent SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-16 09:09:19 +01:00
diminactive [effects/diminactive] Dim Wayland clients 2018-10-19 14:38:10 +03:00
dimscreen SVN_SILENT made messages (.desktop file) - always resolve ours 2019-04-12 09:04:10 +02:00
eyeonscreen SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-16 09:09:19 +01:00
fade [wayland] Make sure that only the fading popups effect animates outline 2019-04-09 14:21:22 +03:00
fadedesktop Update URLs to use https 2019-03-25 19:26:23 +01:00
fadingpopups SVN_SILENT made messages (.desktop file) - always resolve ours 2019-06-09 05:13:32 +02:00
fallapart Merge branch 'Plasma/5.15' 2019-04-15 11:20:19 +03:00
flipswitch Close screen grabbing effect when screensaver starts 2019-06-23 18:00:47 +02:00
frozenapp SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-16 09:09:19 +01:00
glide [wayland] Make sure that only the fading popups effect animates outline 2019-04-09 14:21:22 +03:00
highlightwindow [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
invert [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
kscreen [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
login [effects/login] Reduce animation time 2019-06-19 18:24:55 +02:00
logout SVN_SILENT made messages (.desktop file) - always resolve ours 2019-05-08 05:51:51 +02:00
lookingglass [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
magiclamp [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
magnifier [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
maximize Update URLs to use https 2019-03-25 19:26:23 +01:00
morphingpopups Support CriticalNotification type and place it in a CriticalNotificationLayer 2019-05-02 10:29:38 +02:00
mouseclick [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
mousemark [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
presentwindows Close screen grabbing effect when screensaver starts 2019-06-23 18:00:47 +02:00
resize [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
scale SVN_SILENT made messages (.desktop file) - always resolve ours 2019-06-09 05:13:32 +02:00
screenedge [effects/screenedge] Support "hint-stretch-borders" 2019-04-17 15:22:15 +02:00
screenshot Merge branch 'Plasma/5.12' into Plasma/5.16 2019-05-27 17:31:10 +03:00
sheet [effects/sheet] Decrease the default animation duration 2018-10-22 10:11:00 +03:00
showfps SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-01 05:58:11 +01:00
showpaint SVN_SILENT made messages (.desktop file) - always resolve ours 2019-04-12 09:04:10 +02:00
slide Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
slideback [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
slidingpopups Add windowsystem plugin for KWin's qpa 2019-01-27 08:59:58 +01:00
snaphelper [effects/snaphelper] Do massive overhaul 2018-11-05 16:59:19 +02:00
squash SVN_SILENT made messages (.desktop file) - always resolve ours 2019-06-09 05:13:32 +02:00
startupfeedback Merge branch 'Plasma/5.15' 2019-02-05 13:28:56 +01:00
thumbnailaside [effects/thumbnailaside] Specify screen projection matrix 2019-05-15 12:35:00 +03:00
touchpoints
trackmouse [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
translucency SVN_SILENT made messages (.desktop file) - always resolve ours 2019-04-06 09:35:59 +02:00
windowaperture SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-16 09:09:19 +01:00
windowgeometry [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
wobblywindows [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
zoom [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
CMakeLists.txt [effects/dimscreen] Port to JavaScript 2018-11-17 13:44:20 +02:00
effect_builtins.cpp [effects/screenshot] Remove outdated reference to KSnapshot 2019-06-10 08:48:19 -06:00
effect_builtins.h [effects/dimscreen] Port to JavaScript 2018-11-17 13:44:20 +02:00
kwineffect.desktop
logging.cpp
Messages.sh
shaders.qrc Merge branch 'Plasma/5.12' into Plasma/5.15 2019-02-05 13:28:45 +01:00