GNOME Bugzilla – Bug 763160
Have to press the arrow keys twice before the arrow navigation works in month view.
Last modified: 2017-04-17 18:20:40 UTC
When a user wants to use the arrow navigation in month view of the calendar, one has to press the arrow keys twice before making it work. Steps to Reproduce: -Enter Month-view -Try to navigate using arrows Actual Result: -One had to press the arrows twice before the selector actually moves Expected Result -The selector moves from the very first click
This happens because the focus is out of Month View when the window starts.
Created attachment 323217 [details] [review] Modified the can_focus of window In the commit, we made the initial value of can_focus for month-view to be set true, which was by default taken to be false. The problem is that when we open the month-view in gnome calendar, the input focus is not set to the month view which resulted in the failue of navigation keys initially. To fix this, the default value of the focus is set to true in the window.ui file.
Created attachment 323218 [details] [review] window: add can_focus property to GcalMonthView In the commit, we made the initial value of can_focus for month-view to be set true, which was by default taken to be false. The problem is that when we open the month-view in gnome calendar, the input focus is not set to the month view which resulted in the failue of navigation keys initially. To fix this, the default value of the focus is set to true in the window.ui file.
Thanks for the fix. Attachment 323218 [details] pushed as 69e1fdd - window: add can_focus property to GcalMonthView