Incorrect event widths overlap in week view
Affected version
Fedora 39 Calendar 45.1
Bug summary
Events are sometimes overlapping when stacked next to each other:
It seems the width calculation is only taking in account how many events are simultaneous.
For reference here's the same stack in Google Calendar:
Steps to reproduce
- Create event 8-12h
- Create event 9-10h, both should take 50% width
- Create event 11-12h, all events should display properly
- Create event 10:30-11:30, event 1 will take 33% width, event 2 will continue taking 50% and overlap