Bug 434213 - Shadow of maximized window spills to the "next" screen
Summary: Shadow of maximized window spills to the "next" screen
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.21.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 278697 312865 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-10 00:01 UTC by Albert Astals Cid
Modified: 2021-06-19 14:44 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Astals Cid 2021-03-10 00:01:00 UTC
SUMMARY


STEPS TO REPRODUCE
1. Have two screens set to extend the desktop
2. Have maximized windows on the two screens, i tried konsole on left, firefox on right
3. Set the focus on konsole 

OBSERVED RESULT

I can see the window shadow of konsole on top of the firefox window on the other screen.

I'd say it doesn't make much sense to do that (at least for maximized windows)

EXPECTED RESULT

No shadow spilling over screens.


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.2 + wayland
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Bug Janitor Service 2021-06-04 14:58:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1069
Comment 2 Vlad Zahorodnii 2021-06-04 15:14:50 UTC
Git commit 8c8098a61c8990076f6d0866d662ab7980e49dc7 by Vlad Zahorodnii.
Committed on 04/06/2021 at 14:57.
Pushed by vladz into branch 'master'.

Move X11Client::wantsShadowToBeRendered to AbstractClient

Otherwise only X11 windows will lose server-side drop-shadows when the
maximized mode changes.

M  +5    -0    src/abstract_client.cpp
M  +1    -0    src/abstract_client.h
M  +0    -5    src/x11client.cpp
M  +0    -1    src/x11client.h

https://invent.kde.org/plasma/kwin/commit/8c8098a61c8990076f6d0866d662ab7980e49dc7
Comment 3 Vlad Zahorodnii 2021-06-04 15:17:49 UTC
Git commit c5b4ede345a3272402578d45d40ba8abdde593f6 by Vlad Zahorodnii.
Committed on 04/06/2021 at 15:17.
Pushed by vladz into branch 'Plasma/5.22'.

Move X11Client::wantsShadowToBeRendered to AbstractClient

Otherwise only X11 windows will lose server-side drop-shadows when the
maximized mode changes.


(cherry picked from commit 8c8098a61c8990076f6d0866d662ab7980e49dc7)

M  +5    -0    src/abstract_client.cpp
M  +1    -0    src/abstract_client.h
M  +0    -5    src/x11client.cpp
M  +0    -1    src/x11client.h

https://invent.kde.org/plasma/kwin/commit/c5b4ede345a3272402578d45d40ba8abdde593f6
Comment 4 Podagric 2021-06-19 14:43:45 UTC
*** Bug 312865 has been marked as a duplicate of this bug. ***
Comment 5 Podagric 2021-06-19 14:44:01 UTC
*** Bug 278697 has been marked as a duplicate of this bug. ***