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

--- Comment #14 from Fabian Vogt <[email protected]> ---
(In reply to Bo Zhang from comment #13)
> (In reply to Fabian Vogt from comment #11)
> > (In reply to Fabian Vogt from comment #10)
> > > FWICT those are the OpacityAnimators of libplasma ButtonShadow instances,
> > > but disabled (state: 0). The QuickAnimatorProxyJob for them is running
> > > though. Qt bug?
> > 
> > Maybe? With this diff applied to libplasma, the running
> > QuickAnimatorProxyJobs are gone and strace shows that plasmashell is idling
> > properly:
> > 
> > diff --git
> > a/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml
> > b/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml
> > index e853972ec..757dce36f 100644
> > --- a/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml
> > +++ b/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml
> > @@ -28,6 +28,6 @@ KSvg.FrameSvgItem {
> >      opacity: showShadow ? 1 : 0
> >      Behavior on opacity {
> >          enabled: Kirigami.Units.shortDuration > 0
> > -        OpacityAnimator { duration: Kirigami.Units.shortDuration;
> > easing.type: Easing.OutQuad }
> > +        NumberAnimation { duration: Kirigami.Units.shortDuration;
> > easing.type: Easing.OutQuad }
> >      }
> >  }
> 
> When making this change, do you have to rebuild Qt/Plasma libraries?

Unfortunately yes. For some reason, libplasma ships the .qml file both inside
the .so as well as in the filesystem.

> I
> manually applied the code change in
> /usr/lib64/qt6/qml/org/kde/plasma/components/private/ButtonShadow.qml
> But the problem persists.

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

Reply via email to