D16430: [effects/desktopgrid] Specify screen projection matrix when drawing moving window

Erik Kurzinger <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
ekurzinger created this revision.
ekurzinger added reviewers: KWin, zzag, graesslin.
ekurzinger added a project: KWin.
Herald added a subscriber: kwin.
ekurzinger requested review of this revision.

REVISION 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.15.0

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.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D16430

AFFECTED FILES
  effects/desktopgrid/desktopgrid.cpp

To: ekurzinger, #kwin, zzag, graesslin
Cc: kwin, #kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.