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 757464 - Move 'Repeat Keys' options from the Keyboard panel to the Universal Access panel
Move 'Repeat Keys' options from the Keyboard panel to the Universal Access panel
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Universal Access
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks: 757489
 
 
Reported: 2015-11-02 10:56 UTC by Felipe Borges
Modified: 2015-11-04 12:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (122.60 KB, image/png)
2015-11-02 10:56 UTC, Felipe Borges
  Details
universal-access: add Repeat Keys to the Typing section (19.80 KB, patch)
2015-11-02 10:56 UTC, Felipe Borges
none Details | Review
screencast (85.36 KB, video/webm)
2015-11-02 14:00 UTC, Felipe Borges
  Details
universal-access: add Repeat Keys to the Typing section (19.80 KB, patch)
2015-11-02 14:01 UTC, Felipe Borges
none Details | Review
universal-access: add Repeat Keys to the Typing section (19.52 KB, patch)
2015-11-02 15:19 UTC, Felipe Borges
committed Details | Review
universal-access: prevent the Repeat Keys switch from vexpanding (895 bytes, patch)
2015-11-04 11:52 UTC, Felipe Borges
committed Details | Review

Description Felipe Borges 2015-11-02 10:56:34 UTC
Created attachment 314621 [details]
screenshot

with the new Keyboard panel design, settings such as the Repeat Keys toggle, speed, and delay belong to the Universal Access panel.

https://wiki.gnome.org/Design/SystemSettings/Keyboard#Experimental_Guidelines

The following patch adds the Repeat Keys entry to the Typing section of the Universal Access panel.

It needs UI review. For that, I would suggest:
- Should we have marks on the sliders?
- Are the labels good enough?
- Having the On/Off switch in the header bar is a good choice?
Comment 1 Felipe Borges 2015-11-02 10:56:50 UTC
Created attachment 314622 [details] [review]
universal-access: add Repeat Keys to the Typing section

According to the new Keyboard panel design, this setting belongs
to the Universal Access panel.
Comment 2 Bastien Nocera 2015-11-02 13:38:39 UTC
Review of attachment 314622 [details] [review]:

The first comment is that, from the screenshot, the sliders should be disabled if repeat keys are disabled.

Apart from the 2 comments, looks fine to me.

::: panels/universal-access/cc-ua-panel.c
@@ +94,3 @@
 #define GSD_MOUSE_SETTINGS           "org.gnome.settings-daemon.peripherals.mouse"
 #define KEY_DOUBLE_CLICK_DELAY       "double-click"
+#define GSD_KEYBOARD_SETTINGS        "org.gnome.settings-daemon"

You're not using this, are you?
Comment 3 Felipe Borges 2015-11-02 14:00:59 UTC
Created attachment 314638 [details]
screencast

(In reply to Bastien Nocera from comment #2)
> Review of attachment 314622 [details] [review] [review]:
> 
> The first comment is that, from the screenshot, the sliders should be
> disabled if repeat keys are disabled.

right. I took the screenshot before binding the switch to the set sensitive calls.

> 
> Apart from the 2 comments, looks fine to me.
> 
> ::: panels/universal-access/cc-ua-panel.c
> @@ +94,3 @@
>  #define GSD_MOUSE_SETTINGS          
> "org.gnome.settings-daemon.peripherals.mouse"
>  #define KEY_DOUBLE_CLICK_DELAY       "double-click"
> +#define GSD_KEYBOARD_SETTINGS        "org.gnome.settings-daemon"
> 
> You're not using this, are you?

nope.
Comment 4 Felipe Borges 2015-11-02 14:01:20 UTC
Created attachment 314639 [details] [review]
universal-access: add Repeat Keys to the Typing section

According to the new Keyboard panel design, this setting belongs
to the Universal Access panel.
Comment 5 Bastien Nocera 2015-11-02 14:50:19 UTC
Review of attachment 314639 [details] [review]:

There's no code to handle the sensitivity of the repeat settings when the switch is off, that I can see.

Did you upload an old patch?

::: panels/universal-access/cc-ua-panel.c
@@ +94,3 @@
 #define GSD_MOUSE_SETTINGS           "org.gnome.settings-daemon.peripherals.mouse"
 #define KEY_DOUBLE_CLICK_DELAY       "double-click"
+#define GSD_KEYBOARD_SETTINGS        "org.gnome.settings-daemon"

If you're not using it, why do you keep adding it?
Comment 6 Felipe Borges 2015-11-02 15:19:52 UTC
Created attachment 314648 [details] [review]
universal-access: add Repeat Keys to the Typing section

According to the new Keyboard panel design, this setting belongs
to the Universal Access panel.
Comment 7 Felipe Borges 2015-11-02 15:21:46 UTC
(In reply to Bastien Nocera from comment #5)
> Review of attachment 314639 [details] [review] [review]:
> 
> There's no code to handle the sensitivity of the repeat settings when the
> switch is off, that I can see.
> 
> Did you upload an old patch?

my bad. that was the case.

The sensitivity is handled on on_repeat_keys_toggled.

> 
> ::: panels/universal-access/cc-ua-panel.c
> @@ +94,3 @@
>  #define GSD_MOUSE_SETTINGS          
> "org.gnome.settings-daemon.peripherals.mouse"
>  #define KEY_DOUBLE_CLICK_DELAY       "double-click"
> +#define GSD_KEYBOARD_SETTINGS        "org.gnome.settings-daemon"
> 
> If you're not using it, why do you keep adding it?

removed.
Comment 8 Bastien Nocera 2015-11-04 10:55:58 UTC
You already committed that patch, probably by error. Can you fix the expanded switch in the dialog?
Comment 9 Felipe Borges 2015-11-04 11:52:14 UTC
Created attachment 314808 [details] [review]
universal-access: prevent the Repeat Keys switch from vexpanding
Comment 10 Bastien Nocera 2015-11-04 11:53:28 UTC
Review of attachment 314808 [details] [review]:

Looks good.