https://bugs.kde.org/show_bug.cgi?id=368384

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@davidedmundson.co.uk

--- Comment #1 from David Edmundson <k...@davidedmundson.co.uk> ---
For the user to overwrite, it should be in the theme and I'm not going to add
any options there.


For the containment to overwrite it - that seems sensible - we have a
backgroundHints flag in AppletInterface that we could repurpose for
containments.

We'd want to change views/Panel.qml

Theoretically this is just changing

-    imagePath: "widgets/panel-background"
+    imagePath: containment.backgroundHints & Plasma.StandardBackground ?
"widgets/panel-background" : ""

But there's additionally a slightly weird quirk that drawing the panel
background happens in panel.qml; the shadow for said background happens in the
view (panelview.cpp); which isn't ideal as it's tie-in that isn't semantically
correct.

Also feel free to make patches to Plasma as well as working on your own applet.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to