Following the discussion at: https://github.com/psifidotos/Latte-Dock/issues/862
when AWC shows menus in a Latte panel it is able to trigger the solid background and panel shadows for plasma theme consistency... Latte achieves this for all apllets that change their status to NeedsAttention... By addind this code AWC now provides nice solid background and shadows will Latte without noticing any other implications.