Bug 400171 - QuickTiled Windows Should Not be Shadowed
Summary: QuickTiled Windows Should Not be Shadowed
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-22 21:42 UTC by Alex Mason
Modified: 2018-10-23 14:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Mason 2018-10-22 21:42:43 UTC
SUMMARY
Windows that have been QuickTiled (snapped to the side of the screen) draw shadows, which is inconsistent with how other platforms manage tiling (GNOME, macOS SplitView). Suggest removing property _KDE_NET_WM_SHADOW from QuickTiled windows.

STEPS TO REPRODUCE
1. Enable window decoration shadows in Breeze.
2. QuickTile two windows side by side.
3. Observe shadow overlapping the unfocused window.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.1 and below
KDE Frameworks Version: 5.51 and below
Qt Version: 5.11 and below

ADDITIONAL INFORMATION
Ideally the two tiled windows would still have shadows but be on an equal 'z-index', but it seems easier to just remove the shadows to fix the issue.
Comment 1 Martin Flöser 2018-10-23 04:18:49 UTC
This is fully under control of the window decoration.
Comment 2 Christoph Feck 2018-10-23 12:10:41 UTC
Which information should the decoration use to decide that windows are tiled?
Comment 3 Martin Flöser 2018-10-23 14:51:15 UTC
(In reply to Christoph Feck from comment #2)
> Which information should the decoration use to decide that windows are tiled?

The corners edges information.