Calendar tries to display events next month when it shouldn't
Having a event on the 1st day of the next month while there's no space for the said day on the current screen causes a glitch for those events to span the whole calendar.
It seems that the calendar tries to display the events on the 1st of the next month even if it isn't being shown on the current screen, possibly causing this issue.
This happens on Ubuntu 19.10, gnome-calendar 3.34.2-1
This issue seems similar to #500 (closed) but I could reproduce it differently and it seems to be consistent.
Steps to reproduce:
- Open GNOME Calendar
- Create an event on March 1st, 2020 and go back to February 2020
- Event bar and text warps through the calendar.
Image: There's an event called "Aniversário do Carlos" on March 1st and this is how February is displayed after this event was created.
As it can be seen, the current screen doesn't have space for March 1st, but the calendar is trying to display it anyway.
This bug can also be triggered on November to December of 2019