Skip to content
Commit 3ac9fc30 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

BusyIndicator: Fix initialization of the running property

plasmashell can trigger constant repaints because of invisible busy
indicator animation.

The current logic relies on the fact that the RotationAnimator does not
run by default. However, it's not the case when using the "on" syntax
and the animationRunningChanged signal may not be emitted when the
contentItem is constructed. Therefore, the running property may not be
set to "false" even though the busy indicator is invisible.

This change refactors animation code a bit to ensure that
RotationAnimator.running is always initialized to a correct value.
parent c6853261
Pipeline #221457 passed with stage
in 3 minutes and 30 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment