https://bugs.freedesktop.org/show_bug.cgi?id=75578

--- Comment #4 from Mirek2 <[email protected]> ---
Hi Cor,

(In reply to comment #3)
> (In reply to comment #0)
> 
> > The standard is for "Apply" to apply the changes and leave the dialog open,
> > "OK" to apply the changes and close the dialog, "Close" to close the dialog
> > (should be used when changes are applied automatically), "Cancel" to revert
> > changes made and close the dialog, "Undo" to go a single step back in
> > history, "Back" to navigate to the last visited screen.
> 
> Do these standards also apply for non-modal dialogs?

Yes. For example, see the Gnome [1], Windows [2], or Mac OS X HIG [3].

I'm no longer sure about "Close", though. It seems that it doesn't discard the
changes made with the window (it was impossible to tell when "Apply" closed the
window), so it doesn't quite fit the role of "Cancel":
"[Cancel] must undo the effects of all applications of the Apply since the
window was opened, not just the most recent one." [1]

And though the Windows HIG tells us to "Never use Close for dialogs that have
settings" [1], perhaps it's the best description for the way the button
currently works.

> > So, in terms of the current hyperlink dialog:
> > * There should be two buttons instead of the current "Apply": "Apply" and
> > "OK", working as described above.
> 
> If one clicks Apply .. hyperlink is inserted. The one chooses OK .. the link
> is inserted again plus that the dialog closes? That is what I understand
> from what you described above...

When one clicks OK, the changes made in the dialog are applied and the dialog
closes. If those changes have been applied already using "Apply", then "OK"
simply closes the dialog.
> 
> > * "Close" should be renamed to "Cancel"
> > * "Back" should be renamed to "Revert" ("Undo" doesn't quite fit the bill,
> > as the button doesn't go through each step in history); however, IMHO it'd
> > be good to remove this button -- it does the same thing as Cancel, only
> > without closing the dialog.
> 
> Back sets the state of the dialog to it's default. It doesn't do anything
> with the already inserted links. Revert/Undo might give that impression more.

It was impossible to tell when Apply closed the window, but now I see that it
sets the state of the dialog to the last applied change.
Perhaps "Reset" is a better term, then?
(BTW, this button should be inactive if it won't do anything.)

[1]
https://developer.gnome.org/hig-book/stable/windows-utility.html.en#windows-explicit-apply
[2] http://msdn.microsoft.com/en-us/library/windows/desktop/aa511268
[3]
https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/AppleHIGuidelines/Windows/Windows.html#//apple_ref/doc/uid/20000961-TP9

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to