After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763771 - (Month view) dates in other months look blank when they have events
(Month view) dates in other months look blank when they have events
Status: RESOLVED FIXED
Product: gnome-calendar
Classification: Applications
Component: Views
3.19.x
Other Linux
: Normal enhancement
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2016-03-16 17:25 UTC by Allan Day
Modified: 2017-07-30 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
month-view: grey out invalid days (4.08 KB, patch)
2017-07-30 15:08 UTC, Georges Basile Stavracas Neto
committed Details | Review

Description Allan Day 2016-03-16 17:25:50 UTC
In the month view there are cells for dates outside the month that is being viewed (you can see the end of February and the beginning of April when looking at March, for example). These cells are presented as empty white squares, even if they correspond with a date that has events.

I know that these cells don't have a date marked on them, but it is still easy to get confused, particularly if you have multi-day events which span the beginning or end of the month.

There are two possible fixes for this:

 1. Make the cells in other months grey.
 2. Show the events in dates that belong to other months
Comment 1 Georg Weiss 2016-05-29 16:58:28 UTC
(In reply to Allan Day from comment #0)

I support your complaint.

It should be similar to the way, Google handles the month view in their calendar: All events in the past are shown in slightly faded colors, regardless of the month's beginning or ending. Future events are just displayed in the grid (7x5 or 7x6 fields).

I only disagree with your first proposal to fix the problem:

 "1. Make the cells in other months grey."

Faded colors are better, because they still indicate the (colored) calendar, they are associated to (provided you have multiple calendars with different colors).

In addition, gray (or: colored) cells should indicate the current day, imho.
Comment 2 Georges Basile Stavracas Neto 2017-07-30 15:08:13 UTC
Created attachment 356599 [details] [review]
month-view: grey out invalid days

It should be very clear that days outside the current
month are actually not valid. The current drawing
algorithm does not differentiate that, thought, and
draws everything at the same color.

Fix that by greying out the days outside the current
month.
Comment 3 Georges Basile Stavracas Neto 2017-07-30 15:08:44 UTC
Attachment 356599 [details] pushed as d11ed85 - month-view: grey out invalid days