Bug 448387

Summary: Agenda shows unnecessary horizontal scrollbar
Product: [Plasma] plasmashell Reporter: Nico <nico>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, carl, nate
Priority: NOR    
Version: 5.24.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.24.1
Sentry Crash Report:
Attachments: Applet after opening
Scrolling to the right changes nothing

Description Nico 2022-01-13 19:04:40 UTC
Created attachment 145424 [details]
Applet after opening

SUMMARY
Agenda shows obsolete scrollbar

STEPS TO REPRODUCE
1. Enable Holidays plugin
2. Open popup

OBSERVED RESULT
There is an obsolete scrollbar beneath the events section

EXPECTED RESULT
No scrollbar should be there

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nico 2022-01-13 19:04:58 UTC
Created attachment 145425 [details]
Scrolling to the right changes nothing
Comment 2 Nate Graham 2022-01-13 22:26:30 UTC
This is a qt bug: https://bugreports.qt.io/browse/QTBUG-83890

However we can work around it locally.
Comment 3 Nate Graham 2022-02-14 17:13:16 UTC
Git commit df6821dd67466c595256de6083899856668ca85b by Nate Graham.
Committed on 14/02/2022 at 17:10.
Pushed by ngraham into branch 'master'.

applets-digital/clock: Add workaround for QTBUG-83890

Sad that we still need to do this because the patch to fix that bug
never got merged because it failed to adjust a failing test, and has
bitrotted in the two years since then.
FIXED-IN: 5.24.1

M  +6    -0    applets/digital-clock/package/contents/ui/CalendarView.qml

https://invent.kde.org/plasma/plasma-workspace/commit/df6821dd67466c595256de6083899856668ca85b
Comment 4 Nate Graham 2022-02-14 17:13:41 UTC
Git commit ca73442edaab24fab42fd0580dc08ca58daac0a3 by Nate Graham.
Committed on 14/02/2022 at 17:13.
Pushed by ngraham into branch 'Plasma/5.24'.

applets-digital/clock: Add workaround for QTBUG-83890

Sad that we still need to do this because the patch to fix that bug
never got merged because it failed to adjust a failing test, and has
bitrotted in the two years since then.
FIXED-IN: 5.24.1
(cherry picked from commit df6821dd67466c595256de6083899856668ca85b)

M  +6    -0    applets/digital-clock/package/contents/ui/CalendarView.qml

https://invent.kde.org/plasma/plasma-workspace/commit/ca73442edaab24fab42fd0580dc08ca58daac0a3