Bug 489595

Summary: Background of window titles overlaps adjacent windows with lots of windows open
Product: [Plasma] kwin Reporter: postix <postix>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: akselmo, nate
Priority: NOR Keywords: regression
Version First Reported In: 6.1.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description postix 2024-07-02 10:59:49 UTC
Created attachment 171272 [details]
Screenshot

In Plasma 6.1.1, window titles have a now a *huge* solid background, which improves readability _if_ widgets are shown behind.

However, these backgrounds are so huge, that they make the overview look very busy, especially, when you have many windows opened and they are arranged in a way that they come very close to each other in space.

Indeed they can be so close together, that the window title backgrounds can actually cover other windows a little bit. Please see the screenshot.

I'd be in favor to reduce the padding to a minimum.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240629
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Scaling: 2.0
Comment 1 Bug Janitor Service 2024-07-03 08:16:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6038
Comment 2 Akseli Lahtinen 2024-07-03 20:33:13 UTC
Git commit a99e1b6622d99415ef3bf5394e36479262dc9865 by Akseli Lahtinen.
Committed on 03/07/2024 at 20:33.
Pushed by akselmo into branch 'master'.

WindowHeapDelegate: label topMargin to small, remove height padding

This should help avoiding the window heap delegaet labels drawing on top
of each other in Overview effect.

M  +3    -3    src/plugins/private/qml/WindowHeapDelegate.qml

https://invent.kde.org/plasma/kwin/-/commit/a99e1b6622d99415ef3bf5394e36479262dc9865
Comment 3 Akseli Lahtinen 2024-07-03 20:45:17 UTC
Git commit 3837c027a87471e5abbca07b31e2874d818785ac by Akseli Lahtinen.
Committed on 03/07/2024 at 20:33.
Pushed by akselmo into branch 'Plasma/6.1'.

WindowHeapDelegate: label topMargin to small, remove height padding

This should help avoiding the window heap delegaet labels drawing on top
of each other in Overview effect.


(cherry picked from commit a99e1b6622d99415ef3bf5394e36479262dc9865)

1f9f556a WindowHeapDelegate: label topMargin to small, remove height padding
bb01059d Use smallSpacing instead

Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev>

M  +3    -3    src/plugins/private/qml/WindowHeapDelegate.qml

https://invent.kde.org/plasma/kwin/-/commit/3837c027a87471e5abbca07b31e2874d818785ac