graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland, broulik, subdiff.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION SUMMARY
  The method is supposed to return the AbstractClient's size for a given
  client size. That is the size including the window decoration.
  
  The default implementation returned the passed in client size without
  adjusting for the decoration. This resulted in ShellClient getting a
  wrong size especially when AbstractClient::adjustedClientSize (which
  calls sizeForClientSize) was called.
  
  The result of the incorrect size was for example a shrinking of the
  window when starting to resize a window.
  
  BUG: 370345
  FIXED-IN: 5.8.4

REPOSITORY
  rKWIN KWin

BRANCH
  fix-size-for-client-size-5.8

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

AFFECTED FILES
  abstract_client.cpp
  autotests/integration/shell_client_test.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #kwin, #plasma_on_wayland, broulik, subdiff
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, 
abetts, sebas

Reply via email to