GNOME Bugzilla – Bug 755941
GtkCalendar sometimes emits "day-selected" twice
Last modified: 2018-05-02 16:46:28 UTC
GtkCalendar emits "day-selected" twice when selecting a day from the previous or next month. This is wasteful and makes GtkCalendar look inconsistent after the first signal emission (new day but old month).
Created attachment 312479 [details] [review] calendar: always emit "day-selected" once "day-selected" was emitted twice when clicking on a day of the previous or next month. This was because calendar_set_month{next,prev}() always selected the first (or last) day of the newly focussed month. Callers that wanted a different day to be selected had to do so after calling one of those functions. Fix this by passing the desired day into those functions directly.
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla. If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab: https://gitlab.gnome.org/GNOME/gtk/issues/new
Sorry for the delay in checking. I think I got in on time. This is still relevant, I think.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/576.