GNOME Bugzilla – Bug 771401
Calendar list in event entry is too small
Last modified: 2017-04-17 18:20:40 UTC
Created attachment 335480 [details] new event quick add (image) The calendar list in event entry is too small. This wasn't present in gnome-calendar 3.20, but on master. See attached screenshot.
Created attachment 335484 [details] [review] quick-add-popover.ui: propagate children height in calendar list Due to changes in GTK+, scrolled windows do not propagate the natural sizes of their children by default, which results in a tiny calendar list.
This also sets the maximum content height to 200 px, so it does not grow silly tall.
Thanks for the fix! Attachment 335484 [details] pushed as f11edee - quick-add-popover.ui: propagate children height in calendar list
Created attachment 335545 [details] Calendar entry after current fix (video) This fix has to be improved. Now when the list is selected, the dialog window size changes. This shouldn't happen, because a change in window size can cause glitches in ui. See attached screencast. Thank you.
Tracking the size of the popover and adjusting the calendar list is a complex calc that depends on an untrackable ammount of variables. This is not feasible for 3.21.92 release, which will happen today.
The problem is due to the popover growing upwards, which is unrelated to this issue.
Hm.. This bug wasn't present in version 3.20. Anyway I shall file a new bug later, if required.
Georges, your approach is way better. I shouldn’t have rushed it.