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 730428 - Some fixes and polish for the dialogs
Some fixes and polish for the dialogs
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-20 09:05 UTC by Yosef Or Boczko
Modified: 2014-08-10 07:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
cookies-dialog: Use cancel button instead of close button (2.29 KB, patch)
2014-05-20 09:17 UTC, Yosef Or Boczko
rejected Details | Review
history-dialog: Use cancel button instead of close button (2.33 KB, patch)
2014-05-20 09:17 UTC, Yosef Or Boczko
rejected Details | Review
passwords-dialog: Use cancel button instead of close button (2.34 KB, patch)
2014-05-20 09:17 UTC, Yosef Or Boczko
rejected Details | Review
prefs-lang-dialog: Make the dialog to be modal (1.47 KB, patch)
2014-05-20 09:18 UTC, Yosef Or Boczko
none Details | Review
prefs-lang-dialog: Add "suggested-action" style class to the add button (864 bytes, patch)
2014-05-20 09:18 UTC, Yosef Or Boczko
committed Details | Review
encoding-dialog: Align a label correctly (1002 bytes, patch)
2014-05-20 09:18 UTC, Yosef Or Boczko
committed Details | Review

Description Yosef Or Boczko 2014-05-20 09:05:40 UTC
* Remove the close button in action dialog, move the action button to the end and
add a cancel button on the start, see the HIG[1] page about this
* Add "suggested-action" style class where it missing
* Align some string in the encoding dialog
Comment 1 Yosef Or Boczko 2014-05-20 09:10:32 UTC
I forgot to add the link to the HID page:
[1] https://wiki.gnome.org/Design/HIG/Dialogs#Action_Dialogs
Comment 2 Yosef Or Boczko 2014-05-20 09:17:17 UTC
Created attachment 276829 [details] [review]
cookies-dialog: Use cancel button instead of close button
Comment 3 Yosef Or Boczko 2014-05-20 09:17:33 UTC
Created attachment 276830 [details] [review]
history-dialog: Use cancel button instead of close button
Comment 4 Yosef Or Boczko 2014-05-20 09:17:47 UTC
Created attachment 276831 [details] [review]
passwords-dialog: Use cancel button instead of close button
Comment 5 Yosef Or Boczko 2014-05-20 09:18:09 UTC
Created attachment 276832 [details] [review]
prefs-lang-dialog: Make the dialog to be modal
Comment 6 Yosef Or Boczko 2014-05-20 09:18:31 UTC
Created attachment 276833 [details] [review]
prefs-lang-dialog: Add "suggested-action" style class to the add button
Comment 7 Yosef Or Boczko 2014-05-20 09:18:45 UTC
Created attachment 276834 [details] [review]
encoding-dialog: Align a label correctly
Comment 8 Michael Catanzaro 2014-05-20 18:30:13 UTC
The prefs-lang and encodings patches are clearly fine, but I think your changes to the history, cookies, and passwords dialogs are based on a misreading of the HIG.  In particular, I think these dialogs are presentation dialogs (in the language of the HIG), not action dialogs. In an action dialog, the content is setup for the action button in the header bar.  Action dialogs are explicit-apply: nothing happens until you click the action button. In contrast, the primary purpose of the history/cookies/passwords dialogs is to present information and allow the user to delete that information individually if he wishes: the deletion is instant apply, and clicking Cancel will not undo those deletions.

In particular (emphasis added):

"Action dialogs present options and information about a specific action *before it is carried out.*"

"Explicit apply is only necessary if changes in the dialog have to be applied simultaneously in order to have the desired behaviour. Explicit apply dialogs include a Cancel and a Done button (Cancel resets all values in the dialog to the state before it was opened and Done applies all changes and closes the window)."

"Instant apply presentation dialogs have a close button in their header bar."
Comment 9 Yosef Or Boczko 2014-08-10 07:12:12 UTC
Review of attachment 276833 [details] [review]:

Pushed as f5406 - prefs-lang-dialog: Add "suggested-action" style class to the add button
Comment 10 Yosef Or Boczko 2014-08-10 07:12:38 UTC
Review of attachment 276834 [details] [review]:

Pushed as 15f08 - encoding-dialog: Align a label correctly