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 112713 - Quit/close confirmation dialog is not HIG compliant
Quit/close confirmation dialog is not HIG compliant
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other Linux
: Normal trivial
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2003-05-10 17:10 UTC by Emmanuel Pacaud
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (8.19 KB, patch)
2003-05-10 17:23 UTC, Emmanuel Pacaud
none Details | Review
updated patch with 'Don't quit' and stock icons (11.38 KB, patch)
2003-05-13 20:26 UTC, Emmanuel Pacaud
none Details | Review

Description Emmanuel Pacaud 2003-05-10 17:10:45 UTC
Current confirmation dialogs for unsaved changes are not HIG conform.
Comment 1 Emmanuel Pacaud 2003-05-10 17:23:39 UTC
Created attachment 16410 [details] [review]
patch
Comment 2 Andreas J. Guelzow 2003-05-10 23:33:31 UTC
Perhaps somebody can explain to me why "cancel" is a clearer term than
"Don't quit." 
Comment 3 Emmanuel Pacaud 2003-05-11 07:05:13 UTC
By having a "Cancel" button in all message dialogs that need this
action, in all gnome, user gets used with its meaning more quickly ->
get rid of this dialog I opened by mistake...

If you want, I can change my patch in order to have a "Don't quit"
button, with the Cancel stock icon.
Comment 4 Jody Goldberg 2003-05-11 14:11:31 UTC
Don't Quit with the cancel icon sounds like a good compromise.
Comment 5 Andreas J. Guelzow 2003-05-11 17:23:30 UTC
I agree.
Comment 6 Emmanuel Pacaud 2003-05-11 19:18:58 UTC
I will update my patch to change the 'cancel' label to 'Don't quit'.

By the way, I don't like very much the message dialog with 5 buttons,
when there's more than one file to save (which look bad when the label
translation are longer than the english version).

Other apps tend to present a confirmation dialog for each unsaved
document.

Do you think that gnumeric should follow this behaviour ?

I know that will lead to a review of each unsaved workbook, which can
be painfull when you have 10 unsaved workbook. But, who works with 10
open documents ?
Comment 7 Andreas J. Guelzow 2003-05-11 22:19:18 UTC
Lots of people work with multiple open documents. In fact, gnumeric
used to require an answer for every single documen (as you suggest)t.
It was the result of user complaints/wishes that the 5-button dialog
was introduced.
Comment 8 Emmanuel Pacaud 2003-05-12 09:38:20 UTC
What do you think of a 'apply to all unsaved workbook' checkbox ?
Comment 9 Andreas J. Guelzow 2003-05-12 12:31:25 UTC
Such a checkbox would just require 2 mouse clicks to say `save all'
rather than just one. I would therefore rather stick with the current
implementation.
Comment 10 Morten Welinder 2003-05-12 15:16:28 UTC
Why is it, btw., that we build this dialog in C as opposed to glade?
Comment 11 Andreas J. Guelzow 2003-05-12 17:34:17 UTC
The `Discard' and `Discard all' buttons should probably have a trash
can icon... 
Comment 12 Emmanuel Pacaud 2003-05-13 20:26:57 UTC
Created attachment 16501 [details] [review]
updated patch with 'Don't quit' and stock icons
Comment 13 Seth Nickell 2003-06-04 04:10:44 UTC
The HIG specifies what Save confirmation dialogues should be like:

http://developer.gnome.org/projects/gup/hig/1.0/windows.html#save-confirmation-alerts
Comment 14 Jody Goldberg 2003-06-04 04:33:33 UTC
gmorten : this dialog can't be done in glade.  A user needs to be able
to quit even if there is an installation problem and the glade files
are  confused.

Sorry Seth, but while consistency is good, Cancel is a pet peeve of
mine.  Applied with "Don't Quit"