Bug 427023

Summary: Time Zones list scrolls itself after I clear the search field AND there is empty space on bottom until the list is manually scrolled
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: 5.25.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2020-09-27 12:56:25 UTC
Created attachment 131960 [details]
screen recording

STEPS TO REPRODUCE
1. open Digital Clock settings and click on "Time Zones" in the left side
2. search for "canada" and select the last search result
3. clear the search field

OBSERVED RESULT
Time Zones list scrolls itself and we see an empty area on bottom.
If we scroll the list, the empty area on bottom disappears.
Watch the attached screen recording please.

EXPECTED RESULT
no automatic scrolling after the last step.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0
Comment 1 Patrick Silva 2020-09-27 13:04:25 UTC
If we do not select the last time zone in the step 2, the list does not scroll itself after the step 3. It remains empty until we leave the "Time Zones" section and click on it again instead.
Comment 2 Nate Graham 2020-09-29 18:34:31 UTC
Can confirm.
Comment 3 Nate Graham 2023-02-05 03:51:44 UTC
Seems to have been fixed by Fushan Wen with https://invent.kde.org/plasma/plasma-workspace/-/commit/8111eedc52bbd82e11e961a19860f265a6dd0e5a!