kwin/effects/desktopgrid
Erik Kurzinger 408ed80604 [effects/desktopgrid] Specify screen projection matrix when drawing moving window
Summary:
Currently, when the user is moving a window in the desktop grid it is drawn from
the paintScreen function to ensure it appears above all other windows. However,
when drawing the window, the screenProjectionMatrix for the WindowPaintData structure
is never specified. Because of this, the window will not be visible if OpenGL
compositing along with Lanczos scaling are in use since its coordinates will never
be projected into screen-space (unless the window is maximized, in which case the
scaling code is bypassed).

BUG: 361371
BUG: 364509

FIXED-IN: 5.14.3

Test Plan:
Ensure OpenGL compositing is enabled and the scaling method is set to "Accurate" on
hardware supporting this option. Additionally, ensure the desktop grid effect is
active and is configured to use Present Windows. Open a window and ensure is it not
maximized. Click on the window and drag it around - its contents should remain visible
the entire time and follow the mouse.

Reviewers: #kwin, zzag, graesslin, davidedmundson

Reviewed By: #kwin, zzag, davidedmundson

Subscribers: broulik, davidedmundson, kwin, #kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16430
2018-10-26 11:30:39 +03:00
..
CMakeLists.txt Use SERVICE_TYPES parameter to kcoreaddons_desktop_to_json() 2015-12-09 23:42:45 +00:00
desktopgrid.cpp [effects/desktopgrid] Specify screen projection matrix when drawing moving window 2018-10-26 11:30:39 +03:00
desktopgrid.h Register touch screen edges in effects 2017-04-07 16:17:17 +02:00
desktopgrid.kcfg [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
desktopgrid_config.cpp [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
desktopgrid_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2018-07-22 07:44:41 +02:00
desktopgrid_config.h Use Q_SLOTS and Q_SIGNALS instead of slots and signals 2013-07-24 09:46:54 +02:00
desktopgrid_config.ui desktop grid: add option to hide buttons 2015-10-29 23:36:10 +01:00
desktopgridconfig.kcfgc Use KConfigXT in DesktopGrid effect 2012-09-15 11:24:11 +02:00
main.qml desktop grid: use -/+ text buttons 2015-10-29 23:36:10 +01:00