Bug 400664

Summary: Not always the first entries in favorites list are visible when amount of entries is enough to enable the scroll bar
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Application Launcher (Kickoff)Assignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.14.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.15.0
Attachments: demonstration

Description Patrick Silva 2018-11-04 14:24:55 UTC
Created attachment 116083 [details]
demonstration

STEPS TO REPRODUCE
1. set kickoff as your apps launcher
2. add to your favorites list an amount of apps enough to enable the scroll bar (right click some app, select "Add to favorites")
3. mouseover kickoff button, wait its tooltip to appear, click the button

OBSERVED RESULT
As you can see in my screencast, scroll bar is not positioned at the top, first entries in the favorites list are hidden. If the problem does not occur the first time you open kickoff, click kickoff button a few times in sequence until the problem occurs.

EXPECTED RESULT
first items in the favorites list should always be visible when you open kickoff.

SOFTWARE VERSIONS
Arch Linux
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.51
Qt Version: 5.12 beta3
Comment 1 Eike Hein 2018-11-28 15:12:33 UTC
Git commit 74ff6586944f5959d540a4312c1baffeeed36e87 by Eike Hein.
Committed on 28/11/2018 at 15:12.
Pushed by hein into branch 'master'.

Always scroll views up when the fullrepr is collapsed.

Summary: BUG:400664

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

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

M  +0    -1    applets/kickoff/package/contents/ui/ApplicationsView.qml
M  +10   -1    applets/kickoff/package/contents/ui/KickoffListView.qml

https://commits.kde.org/plasma-desktop/74ff6586944f5959d540a4312c1baffeeed36e87
Comment 2 Patrick Silva 2018-11-28 15:19:28 UTC
Awesome!
Thank you very for solve this extremely annoying usability problem Eike.
Comment 3 Eike Hein 2018-11-28 15:24:55 UTC
My pleasure!