portable-file-dialogs icon indicating copy to clipboard operation
portable-file-dialogs copied to clipboard

UX Trivia

Open greggman opened this issue 4 years ago • 4 comments

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.

greggman avatar Jul 17 '20 16:07 greggman

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

merwok avatar Jul 17 '20 19:07 merwok

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:

samhocevar avatar Jul 18 '20 10:07 samhocevar

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

merwok avatar Jul 18 '20 17:07 merwok

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

samhocevar avatar Jul 18 '20 21:07 samhocevar