Details popover cannot be displayed when clicking a whole-week-long event while app window is maximized
To reproduce, in the 44.x / nightly version:
- Maximize the app's main window
- Create a multi-day all-day event that covers a whole week, at least from Sunday to Saturday (the issue will not occur if the event is only 6-days long or less)
- Click the event in the month view or week view
Result
No popover widget appears, and lots of errors are printed to the terminal.
Additional notes
It can also be a multi-week events, but you will have to make sure that you click in an area where the whole week is filled (Sunday to Saturday), not any week where the week is only partially covered by the event.
Debug output
GcalEventWidget-LOG-0x100: 14:28:49.841: ENTRY: gcal_event_widget_show_preview():965
GcalEventPopover-Message: 14:28:49.856: Meeting row: (nil) (none)
GcalEventWidget-LOG-0x100: 14:28:49.860: EXIT: gcal_event_widget_show_preview():978
GcalMonthView-LOG-0x100: 14:28:49.865: ENTRY: gcal_month_view_size_allocate():1943
GcalMonthView-LOG-0x100: 14:28:49.865: EXIT: gcal_month_view_size_allocate():2026
(gnome-calendar:2): Gtk-WARNING **: 14:28:49.866: gtk_widget_size_allocate(): attempt to allocate GtkPopoverContent contents 0x55b2d7ebe610 with width -11 and height 214
(gnome-calendar:2): Gtk-WARNING **: 14:28:49.866: gtk_widget_size_allocate(): attempt to allocate GtkBox box 0x55b2d82444b0 with width -2 and height -2
(gnome-calendar:2): Gtk-WARNING **: 14:28:49.866: gtk_widget_size_allocate(): attempt to allocate GtkLabel label 0x55b2d8256350 with width -24 and height 22
(gnome-calendar:2): Gtk-WARNING **: 14:28:49.866: gtk_widget_size_allocate(): attempt to allocate GtkButton button 0x55b2d820d170 with width -24 and height 34
(gnome-calendar:2): Gtk-WARNING **: 14:28:49.866: gtk_widget_size_allocate(): attempt to allocate GtkLabel label 0x55b2d8257040 with width -34 and height -10
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
GcalMonthPopover-LOG-0x100: 14:28:51.072: ENTRY: gcal_month_popover_popdown():444
GcalMonthPopover-LOG-0x100: 14:28:51.072: EXIT: gcal_month_popover_popdown():450
GcalEventWidget-LOG-0x100: 14:28:51.072: ENTRY: gcal_event_widget_show_preview():965
GcalEventPopover-Message: 14:28:51.079: Meeting row: (nil) (none)
GcalEventWidget-LOG-0x100: 14:28:51.081: EXIT: gcal_event_widget_show_preview():978
GcalMonthView-LOG-0x100: 14:28:51.091: ENTRY: gcal_month_view_size_allocate():1943
GcalMonthView-LOG-0x100: 14:28:51.092: EXIT: gcal_month_view_size_allocate():2026
(gnome-calendar:2): Gtk-WARNING **: 14:28:51.092: gtk_widget_size_allocate(): attempt to allocate GtkPopoverContent contents 0x55b2d81d4360 with width -11 and height 214
(gnome-calendar:2): Gtk-WARNING **: 14:28:51.092: gtk_widget_size_allocate(): attempt to allocate GtkBox box 0x55b2d834e020 with width -2 and height -2
(gnome-calendar:2): Gtk-WARNING **: 14:28:51.092: gtk_widget_size_allocate(): attempt to allocate GtkLabel label 0x55b2d7fea190 with width -24 and height 22
(gnome-calendar:2): Gtk-WARNING **: 14:28:51.092: gtk_widget_size_allocate(): attempt to allocate GtkButton button 0x55b2d82fbfb0 with width -24 and height 34
(gnome-calendar:2): Gtk-WARNING **: 14:28:51.092: gtk_widget_size_allocate(): attempt to allocate GtkLabel label 0x55b2d82fcca0 with width -34 and height -10
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
(gnome-calendar:2): Gdk-CRITICAL **: 14:28:51.584: gdk_surface_get_device_position: assertion 'GDK_IS_SURFACE (surface)' failed
(gnome-calendar:2): Gtk-CRITICAL **: 14:28:51.584: _gtk_widget_find_at_coords: assertion 'GDK_IS_SURFACE (surface)' failed
GcalClock-LOG-0x100: 14:29:00.484: ENTRY: update_current_date():65
GcalClock-LOG-0x100: 14:29:00.487: EXIT: update_current_date():88
GcalWindow-LOG-0x100: 14:29:53.133: ENTRY: update_today_action_enabled():187
GcalWindow-LOG-0x100: 14:29:53.133: MSG: update_today_action_enabled():197: Week: active date's week is 29, current week is 13
GcalWindow-LOG-0x100: 14:29:53.133: EXIT: update_today_action_enabled():215
GcalWeekView-LOG-0x100: 14:29:53.343: GOTO: update_grid_scroll_position():131 (out)
GcalWeekView-LOG-0x100: 14:29:53.343: EXIT: update_grid_scroll_position():154
GcalEventWidget-LOG-0x100: 14:29:55.211: ENTRY: gcal_event_widget_show_preview():965
GcalEventPopover-Message: 14:29:55.225: Meeting row: (nil) (none)
GcalEventWidget-LOG-0x100: 14:29:55.231: EXIT: gcal_event_widget_show_preview():978
(gnome-calendar:2): Gtk-WARNING **: 14:29:55.245: gtk_widget_size_allocate(): attempt to allocate GtkPopoverContent contents 0x55b2d812fa80 with width -5 and height 214
(gnome-calendar:2): Gtk-WARNING **: 14:29:55.245: gtk_widget_size_allocate(): attempt to allocate GtkBox box 0x55b2d739f340 with width -2 and height -2
(gnome-calendar:2): Gtk-WARNING **: 14:29:55.245: gtk_widget_size_allocate(): attempt to allocate GtkLabel label 0x55b2d7cc55d0 with width -24 and height 22
(gnome-calendar:2): Gtk-WARNING **: 14:29:55.246: gtk_widget_size_allocate(): attempt to allocate GtkButton button 0x55b2d7f46cd0 with width -24 and height 34
(gnome-calendar:2): Gtk-WARNING **: 14:29:55.246: gtk_widget_size_allocate(): attempt to allocate GtkLabel label 0x55b2d8345770 with width -34 and height -10
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
GcalEventWidget-LOG-0x100: 14:29:56.877: ENTRY: gcal_event_widget_show_preview():965
GcalEventPopover-Message: 14:29:56.892: Meeting row: (nil) (none)
GcalEventWidget-LOG-0x100: 14:29:56.895: EXIT: gcal_event_widget_show_preview():978
GcalEventWidget-LOG-0x100: 14:29:58.166: ENTRY: gcal_event_widget_show_preview():965
GcalEventPopover-Message: 14:29:58.184: Meeting row: (nil) (none)
GcalEventWidget-LOG-0x100: 14:29:58.187: EXIT: gcal_event_widget_show_preview():978
(gnome-calendar:2): Gtk-WARNING **: 14:29:58.195: gtk_widget_size_allocate(): attempt to allocate GtkPopoverContent contents 0x55b2d8247bc0 with width -5 and height 214
(gnome-calendar:2): Gtk-WARNING **: 14:29:58.195: gtk_widget_size_allocate(): attempt to allocate GtkBox box 0x55b2d829bab0 with width -2 and height -2
(gnome-calendar:2): Gtk-WARNING **: 14:29:58.195: gtk_widget_size_allocate(): attempt to allocate GtkLabel label 0x55b2d832bf70 with width -24 and height 22
(gnome-calendar:2): Gtk-WARNING **: 14:29:58.195: gtk_widget_size_allocate(): attempt to allocate GtkButton button 0x55b2d82a0a40 with width -24 and height 34
(gnome-calendar:2): Gtk-WARNING **: 14:29:58.195: gtk_widget_size_allocate(): attempt to allocate GtkLabel label 0x55b2d82a17e0 with width -34 and height -10
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
If you are using a multi-monitors arrangement, and GNOME Calendar is maximized on the left monitor, this is what you will see:
...it shows the popover on the screen on the right, but it is cut off somehow, so only a triangle shows up!
Edited by Jeff Fortin