Bug 397103

Summary: Animations for KCollapsibleGroupBox (expanding/shrinking) do not respect (Breeze) style's animation preference
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: Christoph Feck <cfeck>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED FIXED    
Severity: minor CC: kdelibs-bugs, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.51.0

Description Christoph Feck 2018-08-02 19:31:30 UTC
To reproduce:
- run 'breeze-settings5' to disable Animations
- expand/shrink options in Ark > New Archive dialog

Expected behaviour:
- instant expand/shrink
Comment 1 Christoph Feck 2018-09-26 20:27:42 UTC
Git commit 953939b4727cf46b1e100e29f020e735c2cf92f5 by Christoph Feck.
Committed on 26/09/2018 at 20:25.
Pushed by cfeck into branch 'master'.

[KCollapsibleGroupBox] Respect style's widget animation duration

Query QStyle::SH_Widget_Animation_Duration style hint.

QTimeLine requires a duration > 0, so use 1 [ms] to make
the animation as fast as possible when disabled.
FIXED-IN: 5.51.0

Reviewed by: ngraham, elvisangelaccio

Differential Revision: https://phabricator.kde.org/D15611

M  +7    -0    src/kcollapsiblegroupbox.cpp

https://commits.kde.org/kwidgetsaddons/953939b4727cf46b1e100e29f020e735c2cf92f5