Summary: | Plasma-styled buttons don't show their pressed state when animations are disabled | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | Dipta Biswas <dabiswas112> |
Component: | components | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, me, nate, notmart |
Priority: | NOR | ||
Version First Reported In: | 5.248.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/libplasma/-/commit/3478fa071571dbf759ba710a4a0626ea2e345d20 | Version Fixed In: | 6.1 |
Sentry Crash Report: | |||
Attachments: | Recording |
Description
Dipta Biswas
2024-03-08 07:47:36 UTC
Created attachment 166685 [details]
Recording
I'm afraid this is a bug in the 3rd-party Plasma style you're using. Hi, Nate. I believe my theme is not buggy. I believe the bug is caused by moving the animation speed slider to instant. The issue can be reproduced by creating a new user account and moving the animation speed to instant, even when using the breeze theme. Otherwise, it may be a bug in Fedora 40 RPMs. Oh wow, you're right. That detail about the animation speed was very relevant, thanks. A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1077 Git commit 3478fa071571dbf759ba710a4a0626ea2e345d20 by Nate Graham. Committed on 10/03/2024 at 16:41. Pushed by ngraham into branch 'master'. Completely disable animations when animations are globally disabled Right now we rely on this happening implicitly when the relevant duration values become 0. But an animation with a 0 duration does not work as expected with certain types of QtQuick Animators. In addition, even if it does work, a 0-duration animation is inefficient, doing extra work for no reason. Let's disable the animations entirely when we know the user has globally disabled animations. FIXED-IN: 6.1 M +1 -0 src/declarativeimports/plasmacomponents3/BusyIndicator.qml M +1 -0 src/declarativeimports/plasmacomponents3/CheckIndicator.qml M +1 -0 src/declarativeimports/plasmacomponents3/Dial.qml M +1 -0 src/declarativeimports/plasmacomponents3/MenuItem.qml M +1 -0 src/declarativeimports/plasmacomponents3/PageIndicator.qml M +6 -3 src/declarativeimports/plasmacomponents3/RadioIndicator.qml M +3 -0 src/declarativeimports/plasmacomponents3/RoundButton.qml M +1 -0 src/declarativeimports/plasmacomponents3/ScrollBar.qml M +2 -1 src/declarativeimports/plasmacomponents3/Slider.qml M +2 -1 src/declarativeimports/plasmacomponents3/SpinBox.qml M +2 -1 src/declarativeimports/plasmacomponents3/SwitchIndicator.qml M +3 -1 src/declarativeimports/plasmacomponents3/TextField.qml M +4 -1 src/declarativeimports/plasmacomponents3/private/ButtonFocus.qml M +4 -1 src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml M +4 -1 src/declarativeimports/plasmacomponents3/private/FlatButtonBackground.qml M +8 -2 src/declarativeimports/plasmacomponents3/private/RaisedButtonBackground.qml M +2 -0 src/declarativeimports/plasmaextracomponents/qml/ActionTextField.qml M +2 -0 src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml M +1 -0 src/declarativeimports/plasmaextracomponents/qml/Highlight.qml https://invent.kde.org/plasma/libplasma/-/commit/3478fa071571dbf759ba710a4a0626ea2e345d20 |