From kde-panel-devel Wed Aug 31 14:13:52 2016 From: =?utf-8?q?graesslin_=28Martin_Gr=C3=A4=C3=9Flin=29?= X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=147265286109474 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--d6b14624f6a744729713679bb46e9b2b" --d6b14624f6a744729713679bb46e9b2b Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin. REVISION SUMMARY KWin always has a few internal windows around which are not visible. A QWindow created somewhere, but not shown. Such windows should not be part of the stacking order. If they are it breaks code which looks at the top most window in the stacking order like e.g. SlidebackEffect. This change ensures that the stacking order gets updated whenever a ShellClient gets hidden and that internal windows with isShown being false are excluded from the stacking order. BUG: 364483 REPOSITORY rKWIN KWin BRANCH stacking-order-only-visible-internal-windows REVISION DETAIL https://phabricator.kde.org/D2636 AFFECTED FILES autotests/integration/internal_window.cpp layers.cpp workspace.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas --d6b14624f6a744729713679bb46e9b2b Content-Type: text/html; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable graesslin=20created=20this=20revision.g= raesslin=20added=20reviewers:=20KWin,=20Plasma=20on=20Wayland.Restr= icted=20Application=20added=20subscribers:=20kwin,=20plasma-devel.R= estricted=20Application=20added=20projects:=20Plasma=20on=20Wayland,=20KWin= .View=20Revision
REVISION=20SUMMARY

KWin=20always=20ha= s=20a=20few=20internal=20windows=20around=20which=20are=20not=20visible. A=20QWindow=20created=20somewhere,=20but=20not=20shown.=20Such=20windows=20= should=20not be=20part=20of=20the=20stacking=20order.

If=20they=20are=20it=20breaks=20code=20which=20looks=20at=20the=20top=20= most=20window=20in=20the stacking=20order=20like=20e.g.=20SlidebackEffect.

This=20change=20ensures=20that=20the=20stacking=20order=20gets=20updated= =20whenever=20a ShellClient=20gets=20hidden=20and=20that=20internal=20windows=20with=20isSh= own=20being false=20are=20excluded=20from=20the=20stacking=20order.

BUG:=20364483

REPOSITORY
rKWIN=20KWin
BRANCH
stacking-order-only-visible-internal-windows
REVISION=20DETAIL
https://phabricator.kde.org/D263= 6
AFFECTED=20FILES
au= totests/integration/internal_window.cpp layers.cpp workspace.cpp
EMAIL=20PREFERENCES
https://phabricator.kde.org/settings/panel/e= mailpreferences/
To:=20graessl= in,=20KWin,=20Plasma=20on=20WaylandCc:=20plasma-de= vel,=20kwin,=20lesliezhai,=20ali-mohamed,=20hardening,=20jensreuterberg,=20= abetts,=20sebas
--d6b14624f6a744729713679bb46e9b2b--