kwin/plugins/qpa
Martin Gräßlin ac08c5ac9d [plugins/qpa] Do not replace a valid FBO with an invalid one
Summary:
With the TabBox I observed the following issue:
 1: trigger TabBox through screen edge
 2: exit TabBox
 3: trigger TabBox again through screen edge

Actual behavior: in step 3 the GUI does not show. If now using Alt+Tab
to show the TabBox the gui shows, but through screen edge it stays
broken.

Investigation showed that the difference is a direct show in screen edge
case and a delayed show in Alt+Tab case. Futher investigation shows that
an invalid geometry gets requested in the broken case. While this might
indicate an issue in another area it makes sense to protect KWin
internally against it and not to break rendering.

Thus this change ensures that a valid FBO does not get replaced by an
invalid sized FBO.

Test Plan:
Tested that Alt+Tab works correctly when triggered through
edge

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D5438
2017-04-22 08:17:33 +02:00
..
abstractplatformcontext.cpp Require Qt 5.7 and remove pre-5.7 code 2017-02-07 20:43:19 +01:00
abstractplatformcontext.h Require Qt 5.7 and remove pre-5.7 code 2017-02-07 20:43:19 +01:00
backingstore.cpp
backingstore.h
CMakeLists.txt [plugins/qpa] support use of modularized qtplatformsupport from Qt 5.8 2016-10-28 21:12:48 +09:00
integration.cpp Require Qt 5.7 and remove pre-5.7 code 2017-02-07 20:43:19 +01:00
integration.h Integrate QtVirtualKeyboard into KWin/Wayland 2016-06-02 11:26:53 +02:00
kwin.json
main.cpp Maintenance - fixing naming typos 2016-02-09 17:20:12 +01:00
nativeinterface.cpp [plugins/qpa] Add a roundtrip platform function 2016-03-16 11:10:14 +01:00
nativeinterface.h [plugins/qpa] Add a roundtrip platform function 2016-03-16 11:10:14 +01:00
platformcontextwayland.cpp [plugins/qpa] Call makeCurrent on the QOpenGLContext instead of the one in the platform context 2016-08-26 07:38:04 +02:00
platformcontextwayland.h
platformcursor.cpp [plugins/qpa] Implement a custom QPlatformCursor 2016-02-17 12:42:12 +01:00
platformcursor.h [plugins/qpa] Implement a custom QPlatformCursor 2016-02-17 12:42:12 +01:00
screen.cpp [plugins/qpa] Properly clean up the created KWayland::Client::Outputs 2016-10-28 10:12:15 +02:00
screen.h [plugins/qpa] Properly clean up the created KWayland::Client::Outputs 2016-10-28 10:12:15 +02:00
sharingplatformcontext.cpp [plugins/qpa] Call makeCurrent on the QOpenGLContext instead of the one in the platform context 2016-08-26 07:38:04 +02:00
sharingplatformcontext.h [plugins/qpa] Support SharingPlatformContext on the existing eglSurface and eglconfig 2016-07-20 14:17:11 +02:00
window.cpp [plugins/qpa] Do not replace a valid FBO with an invalid one 2017-04-22 08:17:33 +02:00
window.h Make Wayland::EGL optional again 2015-12-01 07:58:47 +01:00