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 747058 - Create button should be the right-most in the create event popover
Create button should be the right-most in the create event popover
Status: RESOLVED FIXED
Product: gnome-calendar
Classification: Applications
Component: User Interface
unspecified
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-30 21:09 UTC by Marcus Lundblad
Modified: 2017-04-17 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Create event popover: swap buttons' position. (1.42 KB, patch)
2015-12-10 13:06 UTC, rubik361
committed Details | Review

Description Marcus Lundblad 2015-03-30 21:09:56 UTC
In the event popover there are two buttons in the bottom, "Cancel" and "Create".
Currently the Create button is on the left (in an LTR locale).
This button should probably be the default action and thus on the right according to the HIG.
Comment 1 Marcus Lundblad 2015-04-05 11:17:00 UTC
Actually, the left-most button is ofcourse titled "Edit Details" not "Cancel".
But still "Create" would be considered the "default action", shouldn't it?
Comment 2 Erick Perez Castellanos 2015-05-18 03:30:12 UTC
(In reply to Marcus Lundblad from comment #0)
> In the event popover there are two buttons in the bottom, "Cancel" and
> "Create".
> Currently the Create button is on the left (in an LTR locale).
> This button should probably be the default action and thus on the right
> according to the HIG.

On which part of the HIG did you read that the default button should be on the left. Here [1], all I read it's that you need to place Cancel, or safe action first, before the default action. But, here the two actions are affirmative, sort of. So, in those docs, the order of these kinds of dialog isn't specified.

[1]: https://developer.gnome.org/hig/stable/dialogs.html.en
Comment 3 Bastien Nocera 2015-05-18 10:13:22 UTC
Cancel isn't a positive action. Create should be the default, and thus, rightmost, indeed.
Comment 4 Erick Perez Castellanos 2015-05-18 13:17:50 UTC
(In reply to Bastien Nocera from comment #3)
> Cancel isn't a positive action. Create should be the default, and thus,
> rightmost, indeed.

There's no Cancel in there, just "Create" and "More details"
Comment 5 rubik361 2015-12-10 13:06:13 UTC
Created attachment 317110 [details] [review]
Create event popover: swap buttons' position.

In the create event popover, the Create button is considered to be the right-most button. Because create is a positive action, it seems that it should be the default at the rightmost position.

Swaped create_button and details_button's left_attach arguments.
Comment 6 Georges Basile Stavracas Neto 2015-12-10 13:45:55 UTC
Attachment 317110 [details] pushed as dc1a7f5 - Create event popover: swap buttons' position.


A clean, straightforward patch. Thanks for your contribution!
Looking forward more patches :)

Marking this bug as FIXED