--the luminas functions didnt work well
for all cases. Latte is now using brightness
functions as described at:
https://www.w3.org/TR/AERT/#color-contrast
this patch fixes all cases mentioned in the bug
that Latte contrast identification did not work well
BUG: 402115
--improve how the applet size is calculated for fill(s)
applets when such applets are used in Left/Center/Right
alignments. This also fixes the bug that the plasma
taskmanager was not updating its size properly when tasks
were added after the initialization phase.
BUG: 401456
--applets can have different main elements based on their
implementation. In such case we use a depth of 2 in order
to search for elements that contain variable isInLatte
--this item is fully responsible in order to
communicate the latte containment with any
underlying applet. A protocol specification
is used in that item in order for applets and
latte to exchange information.
currently supported:
ingoing parameters (to applet):
bool isInLatte // is in a Latte dock
outgoing parameters (from applet):
//deprecated from disableLatteOverlay
bool disableLatteParabolicIcon
bool disableLatteOverlay //dont use Latte overlays
--allow the applet developers to set at their
applet main file:
property bool disableLatteParabolicIcon: true
in order to disable any Latte functionality
concerning the parabolic icon
-- allow the applet developers to set at their
main file:
property bool isInLatte: false
in order to be informed by Latte when they are
in a Latte containment. For what ever purposes
the developers need to adjust to their plasmoid.
--we now support through our discovering mechanisms
a properly identification for kicker and simplemenu
applets. This way changing their icons work correctly
and of course the parabolic effect
-use the old code and add it in AppletIdentifier in order
to discover applets that provide IconItems and substitute
their panel behavior with Latte experience