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 777842 - "Set" button should be blue
"Set" button should be blue
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Keyboard
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: Rui Matos
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-27 16:08 UTC by Bastien Nocera
Modified: 2017-02-08 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
keyboard: make the "Set" button blue (1.55 KB, patch)
2017-01-31 12:08 UTC, Georges Basile Stavracas Neto
none Details | Review
keyboard: make the "Set" and "Add" buttons blue (2.09 KB, patch)
2017-01-31 12:16 UTC, Georges Basile Stavracas Neto
none Details | Review
keyboard: make the "Set" and "Add" buttons blue (3.72 KB, patch)
2017-02-03 21:38 UTC, Georges Basile Stavracas Neto
committed Details | Review
keyboard: ensure the "Add" button is insensitive when adding shortcut (1.28 KB, patch)
2017-02-03 21:46 UTC, Georges Basile Stavracas Neto
none Details | Review
keyboard: ensure the "Add" button is insensitive when adding shortcut (1.31 KB, patch)
2017-02-07 13:06 UTC, Georges Basile Stavracas Neto
committed Details | Review

Description Bastien Nocera 2017-01-27 16:08:24 UTC
When setting a non-custom shortcut, the "Set" button should be blue.

As per:
https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/keyboard/keyboard-wires.png
Comment 1 Georges Basile Stavracas Neto 2017-01-31 12:08:57 UTC
Created attachment 344646 [details] [review]
keyboard: make the "Set" button blue

Per the available mockups [1], the "Set" button is the
suggested action of the dialog and should be blue.

[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/keyboard/keyboard-wires.png
Comment 2 Georges Basile Stavracas Neto 2017-01-31 12:16:20 UTC
Created attachment 344647 [details] [review]
keyboard: make the "Set" and "Add" buttons blue

Per the available mockups [1], the "Set" and "Add" buttons
are the suggested action of the dialog and should be blue.

[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/keyboard/keyboard-wires.png
Comment 3 Bastien Nocera 2017-01-31 12:25:44 UTC
Review of attachment 344647 [details] [review]:

That doesn't seem to work.

1. Open keyboard panel
2. Select a "normal" shortcut
3. Press "Backspace"
4. The "Set Shortcut" dialogue's "Set" button isn't blue
Comment 4 Georges Basile Stavracas Neto 2017-02-03 21:38:35 UTC
Created attachment 344886 [details] [review]
keyboard: make the "Set" and "Add" buttons blue

Per the available mockups [1], the "Set" and "Add" buttons
are the suggested action of the dialog and should be blue.

[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/keyboard/keyboard-wires.png
Comment 5 Georges Basile Stavracas Neto 2017-02-03 21:46:16 UTC
Created attachment 344887 [details] [review]
keyboard: ensure the "Add" button is insensitive when adding shortcut

After successfully editing a default shortcut (and making sure the
"Set" button is sensitive), if the user clicks the '+' row to create
a new custom shortcut, the "Add" button is sensitive even with all
fields empty.

Fix that by ensuring the "Add" button is always sensitive.
Comment 6 Bastien Nocera 2017-02-07 11:01:05 UTC
Review of attachment 344887 [details] [review]:

> keyboard: ensure the "Add" button is insensitive when adding shortcut
> Fix that by ensuring the "Add" button is always sensitive.

Huh, nope.
Comment 7 Bastien Nocera 2017-02-07 11:02:35 UTC
Review of attachment 344886 [details] [review]:

Looks good.
Comment 8 Georges Basile Stavracas Neto 2017-02-07 13:06:33 UTC
Created attachment 345113 [details] [review]
keyboard: ensure the "Add" button is insensitive when adding shortcut

After successfully editing a default shortcut (and making sure the
"Set" button is sensitive), if the user clicks the '+' row to create
a new custom shortcut, the "Add" button is sensitive even with all
fields empty.

Fix that by ensuring the "Add" button is always insensitive whenever
we add a custom shortcut.
Comment 9 Bastien Nocera 2017-02-08 15:59:25 UTC
Review of attachment 345113 [details] [review]:

Sure.
Comment 10 Georges Basile Stavracas Neto 2017-02-08 16:15:54 UTC
Thanks for the reviews!

Attachment 344886 [details] pushed as c57cadf - keyboard: make the "Set" and "Add" buttons blue
Attachment 345113 [details] pushed as e601ae7 - keyboard: ensure the "Add" button is insensitive when adding shortcut