Bug 301194

Summary: switching category in adding widget doesn't work correctly (especially when scrolling to the right)
Product: [Plasma] plasma4 Reporter: Yichao Yu <yyc1992>
Component: widget explorerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: adaptee, anaceciliamb, thijs22nospam
Priority: NOR Keywords: regression
Version: 4.8.80 (beta1)   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.9

Description Yichao Yu 2012-06-05 08:13:02 UTC
When switching categories in adding widget to panel (I will just talk about the top panel), the expected behavior should be old items moving out from the bottom and new list of items moving in from the top. However, some items frequently get stuck during the animation (stay there during the animation and then disappear), and sometimes, the old/new list of items first shift right before the animation (which looks weird) and I actually haven't seen once the old list and the new list moving in/out all in the right way.
A related problem is if scrolling to the right of a long list before switching category (to a short list), the new list doesn't show at all (and the scroll bar also looks strange at this time)

Reproducible: Always




please tell me if these are actually several separated bugs.
plasma-desktop also freeze twice when I switching categories.
Comment 1 Myriam Schweingruber 2012-06-05 08:42:00 UTC
Which KDE version is this about?
Comment 2 Yichao Yu 2012-06-05 10:36:52 UTC
Sorry forgot to add that,
4.8.80-2
Comment 3 Thijs 2012-06-05 12:16:12 UTC
Confirmed, as a regression. Seems like the list gets populated with new items before the old item animation is done.
Comment 4 Yichao Yu 2012-06-05 12:24:58 UTC
@Thijs

Is this probably also the reason new items simply disappear sometimes (actually also wrong location sometimes) or are these separate bugs.
Comment 5 Marco Martin 2012-06-13 20:28:53 UTC
Git commit 62f8c4cf40fd4a71970acd2297d3dd07f2389e31 by Marco Martin.
Committed on 13/06/2012 at 22:27.
Pushed by mart into branch 'master'.

reset position before changing category

M  +2    -0    libs/plasmagenericshell/widgetsexplorer/package/contents/ui/main.qml

http://commits.kde.org/kde-workspace/62f8c4cf40fd4a71970acd2297d3dd07f2389e31