Bug 383748

Summary: 'Action' button unfold widget is flickering when scrolling in opposite direction upon unfold widget hide animation in Kirigami Gallery
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Alexander Mentyu <notuxius>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: unfold-widget-is-flickering-when-scrolling-in-opposite-direction

Description Alexander Mentyu 2017-08-20 10:13:34 UTC
Created attachment 107399 [details]
unfold-widget-is-flickering-when-scrolling-in-opposite-direction

Sometimes it even can be scrolled back upon hiding.

Steps to reproduce:
1. Start Kirigami Gallery and select 'Button' widget
2. Press 'Action' button.
3. Scroll past the end of unfolded widget.
4. Without waiting of unfold widget's hiding animation to end - scroll in opposite direction.

Actual result:
Unfold widget is flickering.
Comment 1 Marco Martin 2017-08-28 14:11:41 UTC
can this be reproduced with kirigami2, master?
Comment 2 Alexander Mentyu 2017-08-30 09:25:37 UTC
Can't reproduce in KDE neon - kirigami-gallery 2.2.0+p16.04+git20170830
Comment 3 Marco Martin 2017-10-03 11:30:45 UTC
Git commit 23ca2077027b214189ba72ca8dab1590a163c955 by Marco Martin.
Committed on 03/10/2017 at 11:26.
Pushed by mart into branch 'master'.

simplify wheel management

on some systems (directly libinput, on wayland and newer distros)
touchpads always only set wheel.angleDelta with weird values,
so it must be managed as it was a pixel value
Related: bug 384704

M  +2    -4    src/controls/templates/private/ScrollView.qml

https://commits.kde.org/kirigami/23ca2077027b214189ba72ca8dab1590a163c955