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 682232 - stopwatch should focus the start button
stopwatch should focus the start button
Status: RESOLVED FIXED
Product: gnome-clocks
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Clocks maintainer(s)
Clocks maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-08-20 08:53 UTC by Paolo Borelli
Modified: 2013-04-15 07:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch that gives focus to the Start button after switching to Stopwatch (1.55 KB, patch)
2013-04-14 20:39 UTC, Andrea Basso
none Details | Review

Description Paolo Borelli 2012-08-20 08:53:07 UTC
When going to the stopwatch view, keyboard focus should be moved on the start/stop button so that one can start/stop using the space bar on the keyboard
Comment 1 Andrea Basso 2013-04-14 20:39:33 UTC
Created attachment 241527 [details] [review]
A patch that gives focus to the Start button after switching to Stopwatch
Comment 2 Paolo Borelli 2013-04-15 07:10:28 UTC
Hi Andrea, thanks for the patch!

Since each clock is also a GtkWidget, we can override grab_focus instead of adding a new virtual method. I committed a patch with such change:

https://git.gnome.org/browse/gnome-clocks/commit/?id=3489640c41b822fb9f4fb175c7caaad10358fb1d