GNOME Bugzilla – Bug 753305
Should be able to scroll calendar
Last modified: 2017-11-24 18:02:57 UTC
Created attachment 308829 [details] screenshot The calendar popup does not seem to scroll when there are a lot of events. See screenshot.
Have you seen this again? The list is scrollable, and I haven't been able to reproduce this issue, so no idea off-hand what's going on there ...
*** Bug 780959 has been marked as a duplicate of this bug. ***
Was this original report on a hiDpi system as well? I suspect that we need to consider the scaling in https://git.gnome.org//browse/gnome-shell/tree/js/ui/panelMenu.js#n173, but don't have a system to test and confirm ...
Created attachment 349426 [details] [review] panelMenu: consider scale factor when setting max-height Since the workarea and margins are both in pysical pixels dimensions (we fetch margins from Clutter, not from the theme), but the CSS expects logical (scaled) pixels, unless we consider the scale factor when setting max-height, it won't work on a HiDpi display. This fixes missing scrollbars when the calendar popup is full on HiDpi displays.
Oops I forgot I had already reported this! Indeed my original report was on the same machine with a HiDpi screen. Here's a patch that I have tested to fix the issue.
Review of attachment 349426 [details] [review]: LGTM
Thanks for the quick review, pushed. Attachment 349426 [details] pushed as cad5e06 - panelMenu: consider scale factor when setting max-height
*** Bug 774143 has been marked as a duplicate of this bug. ***