Bug 407109

Summary: Remove icon in drag overlay in Buttons tab of Window Decorations KCM
Product: [Plasma] kwin Reporter: Thomas Pfeiffer <thomas.pfeiffer>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate
Priority: NOR    
Version First Reported In: 5.15.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.16.0
Sentry Crash Report:

Description Thomas Pfeiffer 2019-04-30 18:34:56 UTC
When dragging a button from the title bar in the Buttons tab of the Window Decorations KCM, an overlay shows above the pool of buttons with the text "Drag here to remove button" and an icon underneath

That icon is not needed because it's clear that dragging an icon from the title bar to the pool of available icons will remove it from the title bar, and it is not aesthetically pleasing in this screen either.

I'd therefore suggest to remove the icon.
Comment 1 Nate Graham 2019-05-02 22:07:26 UTC
Here's a patch: https://phabricator.kde.org/D20968
Comment 2 Nate Graham 2019-05-02 23:07:31 UTC
Git commit 48cacae8cfb4f2c1e82d191a19dc4515f1c897f3 by Nate Graham.
Committed on 02/05/2019 at 23:07.
Pushed by ngraham into branch 'master'.

[kcmkwin/kwindecoration] Refine drag-and-drop button UI

Summary:
- Reduce the fake titlebar's height so it matches the real titlebar a bit better
- Reduce background opacity while dropping button to diminish visual noise
- Increase label size
- Re-word label for greater clarity
- Remove redundant icon (the text is enough)
FIXED-IN: 5.16.0

Test Plan: {F6804068, size=full}

Reviewers: #vdg, #kwin, GB_2, davidedmundson

Reviewed By: #vdg, #kwin, GB_2, davidedmundson

Subscribers: GB_2, abetts, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D20968

M  +8    -18   kcmkwin/kwindecoration/package/contents/ui/Buttons.qml

https://commits.kde.org/kwin/48cacae8cfb4f2c1e82d191a19dc4515f1c897f3