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

REVISION SUMMARY
  The restore geometry gets initially set to 0/0xsize before the placement
  is done. When going into updateClientArea and then afterwards into
  AbstractClient::checkWorkspacePosition the geometry restory is used for
  calculating the new position. This results in windows getting moved to
  0/0 when e.g. plugging in a new screen or a panel changes, etc.
  
  This change ensures that the restore geometry is set correctly after the
  first placement.
  
  BUG: 366696

REPOSITORY
  rKWIN KWin

BRANCH
  geometry-restore-after-placement

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

AFFECTED FILES
  autotests/integration/plasma_surface_test.cpp
  shell_client.cpp
  shell_client.h
  workspace.cpp

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

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

Reply via email to