Bug 483016

Summary: Visually busy backgrounds can make it hard to quickly distinguish windows and their titles
Product: [Plasma] kwin Reporter: Kathrynne Winter <corviraptor>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate, niccolo
Priority: NOR Keywords: usability
Version: 6.0.0   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In: 6.1.2
Attachments: The Overview effect showing desktop widgets behind windows, making windows harder to distinguish.

Description Kathrynne Winter 2024-03-09 18:53:20 UTC
The Overview is a valuable tool for organizing virtual desktops, however desktop widgets are visible underneath windows in the Overview which makes the windows much harder to distinguish at a glance. As you likely will not be interacting with desktop widgets while in the Overview, it would make sense to hide them.
Comment 1 Kathrynne Winter 2024-03-09 19:00:22 UTC
Created attachment 166815 [details]
The Overview effect showing desktop widgets behind windows, making windows harder to distinguish.
Comment 2 Nate Graham 2024-03-11 22:59:17 UTC
Agreed, and icons too. These don't make sense to show in the Overview.
Comment 3 Nate Graham 2024-06-21 14:44:33 UTC
So some internal discussion in KWin: removing the desktop's contents is a technical can of worms that's probably not worth it.

The biggest impact is on the window titles, which can be obscured by visually busy background content, so for that, we could potentially replace the shadow with a black pill background. We could even potentially add a similar background around all the windows to distinguish them from the background.
Comment 4 Bug Janitor Service 2024-06-24 13:43:21 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5976
Comment 5 Akseli Lahtinen 2024-06-26 16:00:58 UTC
Git commit 07dcede8203eeba7ab772278a1c075701732a2ac by Akseli Lahtinen.
Committed on 26/06/2024 at 16:00.
Pushed by akselmo into branch 'master'.

WindowHeapDelegate: Label text background

Give label text background color to make it easier to distinct from the background.

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

https://invent.kde.org/plasma/kwin/-/commit/07dcede8203eeba7ab772278a1c075701732a2ac
Comment 6 Akseli Lahtinen 2024-06-26 17:59:09 UTC
Git commit 9b7e0b70fbd16e5e00d29207b054ca0c5b5501b6 by Akseli Lahtinen.
Committed on 26/06/2024 at 16:47.
Pushed by akselmo into branch 'Plasma/6.1'.

WindowHeapDelegate: Label text background

Give label text background color to make it easier to distinct from the background.


(cherry picked from commit 07dcede8203eeba7ab772278a1c075701732a2ac)

840a43da WindowHeapDelegate: add a light background to the delegate item
fcb80fc7 Set background color for label only
41e9c231 Fix formatting
9487e36b Remove id
2fc1d80c Use contentWidth instead of width
70bbe672 Don't draw caption on top of icon
f1463d35 Use largeSpacing for label topmargin
0484872f Use pc3 label
0ad87b1f Use qualified access
20d47f83 Dont set the background to highlight color
df823831 Remove z's, use contentHeight
2310a19d remove unneeded property

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

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

https://invent.kde.org/plasma/kwin/-/commit/9b7e0b70fbd16e5e00d29207b054ca0c5b5501b6