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

--- Comment #7 from gregorystar...@gmail.com ---
(In reply to Michail Vourlakos from comment #6)
> Plasma Themes do not support plenty of things for panel backgrounds
> (different colors, paint themselves etc). In order to overcome this and at
> the same time Latte to be able to provide the original Plasma experience it
> uses THREE different backgrounds that cooperate in order to make as smooth
> to the user as possible. 
> 
> The in question code is found at:
> https://phabricator.kde.org/source/latte-dock/browse/master/containment/
> package/contents/ui/PanelBox.qml
> 
> 
> 1. Background 1 is called (backgroundLowestRectangle) and it is responsible
> to provide full solidness for those plasma themes that DO NOT provide full
> solidness... There are plenty of plasma themes that the maximum opacity for
> the panel background is at 80% so the user can not make them fully solid
> 2. Background 2 is called (solidBackground) it is resposible to provide the
> plasma experience
> 3. Background 3 is called (overlayedBackground) it is responsible to provide
> all the rest Latte enhancements concerning painting... different colors for
> different windows etc...
> 
> 
> Feel free to play with it and provide patches if you are able to improve
> things without breaking functionality


Correct me if I am wrong, (just so I know what I am going to do) Would it be
possible to place a condition before animating the background to check if it is
already darkened?

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

Reply via email to