<table><tr><td style="">mvourlakos retitled this revision from "Disable / Enable Effects for a Panel" to "add backgroundHints for the panel View (disable/enable Effects and shadows for a Panel)".<br />mvourlakos updated the summary for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-be4o77gbotpudzj/" rel="noreferrer">(Show Details)</a><br />mvourlakos updated the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-tmhhnxkxecepu46/" rel="noreferrer">(Show Details)</a><br />mvourlakos updated this revision to Diff 8045.<br />mvourlakos added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3282" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>according to the previous discussion I dropped the effects variable and I used the backgroundHints in order to disable effects and shadows</p></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;">This patch adds a variable called <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">"effec</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">"backgroundHin</span>ts" which can be used <span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">with (NoBackground) </span>through qml in order to enable/disable the KWin effects for a specific panel and the panel shadows in case the effects are disabled.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>        property: <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">"effec</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">"backgroundHin</span>ts"<div style="padding: 8px 0;">...</div>        <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">value: containment.backgroundHints !== PlasmaCore.Types.NoBackground <br />
</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">value: {<br />
            if (!containment) {<br />
                return;<br />
            }<br />
            <br />
            return containment.backgroundHints; <br />
        }<br />
</span><br />
    }<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);"> </span><br />
<br />
when a panel has set its backgroundHints to NoBackground then Blur and Background Contrast are disabled for this Panel....<br />
</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAWORKSPACE Plasma Workspace</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D3282?vs=7976&id=8045" rel="noreferrer">https://phabricator.kde.org/D3282?vs=7976&id=8045</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3282" rel="noreferrer">https://phabricator.kde.org/D3282</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/panelview.cpp<br />
shell/panelview.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>mvourlakos, Plasma, davidedmundson<br /><strong>Cc: </strong>mart, broulik, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>