After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763160 - Have to press the arrow keys twice before the arrow navigation works in month view.
Have to press the arrow keys twice before the arrow navigation works in month...
Status: RESOLVED FIXED
Product: gnome-calendar
Classification: Applications
Component: User Interface
3.19.x
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2016-03-06 05:03 UTC by Gollapudi Vamsi Krishna
Modified: 2017-04-17 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Modified the can_focus of window (1.41 KB, patch)
2016-03-06 23:00 UTC, Gollapudi Vamsi Krishna
none Details | Review
window: add can_focus property to GcalMonthView (1.42 KB, patch)
2016-03-06 23:11 UTC, Gollapudi Vamsi Krishna
committed Details | Review

Description Gollapudi Vamsi Krishna 2016-03-06 05:03:41 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
Comment 1 Georges Basile Stavracas Neto 2016-03-06 21:30:08 UTC
This happens because the focus is out of Month View when the window starts.
Comment 2 Gollapudi Vamsi Krishna 2016-03-06 23:00:13 UTC
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.
Comment 3 Gollapudi Vamsi Krishna 2016-03-06 23:11:27 UTC
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.
Comment 4 Georges Basile Stavracas Neto 2016-03-06 23:18:07 UTC
Thanks for the fix.

Attachment 323218 [details] pushed as 69e1fdd - window: add can_focus property to GcalMonthView