No more plasmoid overrides starting from Plasma 6.6, how to add hover animations to the Icons-Only Task Manager icons now?

Hi! I had found a way to add some feedback animations for the icons in the Icons-Only Task Manager, but since Plasma 6.6 the QML files are not directly editable anymore (they seem to be compiled). What would be the simplest way now to add feedback animations to the icons?

What I had before was essentially modifying Task.qml and adding a scale animation to the Kirigami.Icon, like this:

Kirigami.Icon {
    source: model.decoration

    scale: leftTapHandler.pressed ? 1.09 : 1.0

    Behavior on scale {
        NumberAnimation {
            duration: 100
            easing.type: Easing.OutQuad
        }
    }
}

Thanks

2 Likes

Submit it upstream so everyone can have it, that’s how. :slight_smile: The best changes are the ones you don’t have to maintain yourself.

3 Likes

As someone that maintains several third-party add-ons I couldn’t agree more with this :sweat_smile:

1 Like

Actually, this effect could be included in the plasmoid configuration options as well as the highlight effect to let the users choose what happens when hovered or pressed etc.

Hopefully I did everything right:

2 Likes

It works very well under Plasma 6.5.4, and I even liked it better with a not-so-subtle scaling of 1.35 :heart:

1 Like

This is also a reference to:

BTW, a new alternative to Icons-Only Task Manager has recently landed in KDE Store: macOS Dock - KDE Store
This just adds a parabolic effect instead of a simple zoom effect to the icons.
I think the ideal solution would be adding these two different effects to the options in the configuration of Icons-Only Task Manager plasmoid so that users can choose to have;
(a) no such effects,
(b) zoom effect, or
(c) parabolic effect.

1 Like

Oh! Thank you! That is almost exactly what I was looking for, had to fine tune it a bit in the settings but it does exactly what I wanted to do now!

Haha, your simple zoom effect is what I prefer for my vertical, Unity-style panel on the left - thanks for that.:grinning_face:

1 Like