Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX Trivia #40

Open
greggman opened this issue Jul 17, 2020 · 4 comments
Open

UX Trivia #40

greggman opened this issue Jul 17, 2020 · 4 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@greggman
Copy link

Just passing on info, not a criticism.

It used to be Apple's UX Guidelines suggested not to use "Yes", "No", "Cancel" but instead the verbs of the action

Sn for example

"Save the file before closing the application"  (Save), (Quit without Saving), (Cancel)

etc....

"Yes", "No", "Cancel" and be very confusing. What does "No" mean to "Save the file before closing the application?".

  • "No I don't want to save but I do want to quit",
  • "No I don't want to and no I don't want to quit",

From their current guidelines

To the extent possible, use verbs and verb phrases that relate directly to the alert title and message—for example, View All, Reply, or Ignore. Use OK for simple acceptance. Avoid using Yes and No.

@merwok
Copy link

merwok commented Jul 17, 2020

On that topic, Gnome and Gtk guidelines have a different order for buttons: [Cancel] [Save]
Not sure which reference is the current one, but here’s one example: https://developer.gnome.org/hig-book/3.0/design-window.html.en

@samhocevar samhocevar added enhancement New feature or request question Further information is requested labels Jul 18, 2020
@samhocevar
Copy link
Owner

samhocevar commented Jul 18, 2020

I agree that platform-specific UX recommendations should be followed whenever possible. One goal of PFD is to prevent programmers from rolling their own message boxes, file browsers, etc. that clash with the rest of the desktop experience, because, well, programmers are not necessarily UX designers. Using verbs for button labels makes a lot of sense and I’ll look into a reasonable API to support that.

Note that the GNOME backend automatically follows the guidelines for button positions, as can be seen in the pfd::message screenshots, so I don’t think I want to change anything from the default Zenity behaviour here.

A few links for future reference:

@merwok
Copy link

merwok commented Jul 18, 2020

The gnome screenshot doesn’t have the main positive action on the rightmost position.

@samhocevar
Copy link
Owner

You're right. This is a bit messed up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants