kf5 patch collection
SwitchIndicator: Enable layered rendering when semi-transparent
This is the trick we use for Slider as well. Without a dedicated layer, parts of this component are rendered semi-transparent individually, so that the ones below are "shining through" the ones above them. For example, in this case you could see disabled switch indicator's groove under the knob.
(cherry picked from commit ebe9bd91)
Dialog: Factor out parts of expressions in positioning code
(cherry picked from commit c8984a44)
Dialog: Fix positioning adjustments when dialog goes out of bounds
In particular, fixes floating popups getting flipped instead of pushed in bounds at the right edge.
(cherry picked from commit ec5037b7)