kwin/autotests/wayland
Martin Gräßlin e5fe3137b8 Fix the ignore struts multi-screen handling
Summary:
The checks in Client::adjustedClientArea were a little bit too
agressive, excluding also valid setups.

This change addresses the regression by keeping the actual intended
improvements in place.

The check in Client::adjustedClientArea is now only done for the
special case of desktopArea == area. This ensures that a strut excluding
a complete screen won't affect the overall workarea.

In addition new checks are introduced in Workspace::updateClientArea.
When calculating the new sareas a check is performed whether the
intersection with the adjustedClientArea would result in the sarea
becoming empty (thus a screen being completely removed). If that's the
case the geometry is ignored to not exclude a complete screen.

Interestingly I should have noticed that something with the logic is
odd. As the test case had two commented geometries which we now get.

BUG: 363804

Reviewers: #plasma, apol, lbeltrame

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D1744
2016-06-15 14:48:13 +02:00
..
data/anim-data-delete-effect [autotest] Don't crash when cancel animation from animationEnded in scripted effect 2016-02-17 13:59:55 +01:00
CMakeLists.txt Ensure that WaylandServer::shellClientAdded only gets emitted once 2016-06-14 07:36:33 +02:00
debug_console_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
decoration_input_test.cpp Support touch events in DecorationEventFilter 2016-05-17 07:33:02 +02:00
dont_crash_aurorae_destroy_deco.cpp Merge branch 'Plasma/5.6' 2016-05-12 16:43:12 +02:00
dont_crash_cancel_animation.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
dont_crash_empty_deco.cpp Merge branch 'Plasma/5.6' 2016-04-26 13:13:17 +02:00
dont_crash_glxgears.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
input_stacking_order.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
internal_window.cpp Support touch events on KWin internal windows 2016-05-23 18:40:06 +02:00
kwin_wayland_test.cpp Connect Application::screensCreated to WaylandServer::initOutputs 2016-05-02 15:52:07 +02:00
kwin_wayland_test.h Fix typo 2016-02-11 09:34:19 +01:00
lockscreen.cpp [autotest/wayland] Force kscreenlocker_greet to QMLSCENE_DEVICE softwarecontext 2016-06-03 14:18:45 +02:00
maximize_test.cpp Introduce a RequestGeometryBlocker in ShellClient 2016-06-14 07:40:14 +02:00
move_resize_window_test.cpp Warp the cursor pos to the specificed global position in a NET::Move request 2016-04-18 07:50:06 +02:00
plasma_surface_test.cpp Set ShellClient on all desktop depending on Plasma Surface role 2016-06-06 08:36:11 +02:00
plasmawindow_test.cpp [autotests] Skip PlasmaWindowTest::testLockScreenNoPlasmaWindow on build.kde.org 2016-06-07 10:03:12 +02:00
platformcursor.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
pointer_input.cpp [autotests/wayland] Try to make PointerInputTest::testMouseActionActiveWindow more robust 2016-05-23 11:19:29 +02:00
quick_tiling_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
shade_test.cpp [autotests] Add test case for verifying that (un)shade keeps window geometry 2016-05-11 10:43:27 +02:00
shell_client_test.cpp Ensure that WaylandServer::shellClientAdded only gets emitted once 2016-06-14 07:36:33 +02:00
start_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
struts_test.cpp Fix the ignore struts multi-screen handling 2016-06-15 14:48:13 +02:00
touch_input_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
transient_no_input_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
transient_placement.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00