Bug 426140

Summary: Event section of calendar mixes entries when they have same start time
Product: [Plasma] plasmashell Reporter: Thiago Sueto <herzenschein>
Component: CalendarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kishore96, nate
Priority: VHI Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Short list
Long list

Description Thiago Sueto 2020-09-03 12:06:00 UTC
SUMMARY
I think the easiest way to understand this bug is seeing the attachments.
Each entry is fighting for space in the Event list even when there is space left.

STEPS TO REPRODUCE
1. Download Akademy schedule (iCalendar) (https://conf.kde.org/en/akademy2020/public/schedule)
2. Import it to KOrganizer
3. Enable PIM plugin for calendar
4. Click any day with several entries

OBSERVED RESULT
If the list of entries is short (like on day 4, 6 entries), it uses half the space.
If the list of entries is long (like on day 5, 26 entries), it uses all space but has no scrollbar.

EXPECTED RESULT
If the list of entries is short, it should use all space available.
If the list of entries is long, it should use all space and have a scrollbar.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200823
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.0
Comment 1 Thiago Sueto 2020-09-03 12:08:21 UTC
Created attachment 131381 [details]
Short list
Comment 2 Thiago Sueto 2020-09-03 12:08:43 UTC
Created attachment 131382 [details]
Long list
Comment 3 Kishore Gopalakrishnan 2020-09-27 05:49:28 UTC
This bug happens even if there are multiple events in the same day, which do not share a start time.
Comment 4 Kishore Gopalakrishnan 2020-10-04 06:34:33 UTC
Reverting the following commit fixes the issue.

https://invent.kde.org/plasma/plasma-workspace/-/commit/4f1a63de3a6ad1e6099581b959cbc9dd0bb1d70c
Comment 5 Kishore Gopalakrishnan 2020-10-05 12:10:31 UTC
(In reply to Kishore Gopalakrishnan from comment #4)
> Reverting the following commit fixes the issue.
> 
> https://invent.kde.org/plasma/plasma-workspace/-/commit/
> 4f1a63de3a6ad1e6099581b959cbc9dd0bb1d70c

Considering that 5.20 will be out in a week, would it be possible to revert this commit at least in the 5.20 branch so that it doesn't get released with a broken calendar widget?
Comment 6 Nate Graham 2020-10-10 18:49:00 UTC

*** This bug has been marked as a duplicate of bug 427281 ***