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 73031 - Inconsistent exit dialogs
Inconsistent exit dialogs
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
2.0.x
Other other
: High minor
: ---
Assigned To: GNOME Games maintainers
Gregory Leblanc
: 90494 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-02-28 21:02 UTC by Tommi Komulainen
Modified: 2006-02-18 08:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mahjongg fix (2.10 KB, patch)
2002-07-09 17:11 UTC, Samuel Stringham
none Details | Review
dialog patch (also fixes other iagno bug) (1.60 KB, patch)
2002-07-09 18:29 UTC, Samuel Stringham
none Details | Review
freecell patch (1.06 KB, patch)
2002-07-09 23:38 UTC, Samuel Stringham
none Details | Review
gataxx patch (1.12 KB, patch)
2002-07-09 23:44 UTC, Samuel Stringham
none Details | Review
multi game patch (33.18 KB, patch)
2002-07-11 04:08 UTC, Samuel Stringham
none Details | Review
small changelog patch too (426 bytes, patch)
2002-07-11 04:39 UTC, Samuel Stringham
none Details | Review
aisleriot patch, not included because untested (979 bytes, patch)
2002-07-11 05:15 UTC, Samuel Stringham
none Details | Review
tested aisleriot patch (1.49 KB, patch)
2002-07-15 00:55 UTC, Samuel Stringham
none Details | Review

Description Tommi Komulainen 2002-02-28 21:02:51 UTC
Attempt to exit iagno shows Question dialog with buttons in order Yes-No.
Exiting mahjongg shows Information dialog with buttons in order No-Yes.

Wonder what the others would show me... :)
Comment 1 Gediminas Paulauskas 2002-02-28 22:19:54 UTC
Should be No Yes, or maybe Cancel Quit

they are inconsistent in more ways, as to when they appear:
1) some games always ask if you want to quit,
2) other games ask only if a game is running
3) never ask

all should be 2), and similar question should be asked on New Game,
Restart Game, New with seed, layout change in preferences (as in
mahjongg, you cannot simply switch from easy to difficult, you need to
restart).

I.e. if no game is running, don't ask anything. If game is in
progress, ask for confirmation, maybe user clicked accidentally.

Playing a game is the same as editing a document. Editors ask "you
have modified the document, do you want to save changes [Cancel]
[Don't save] [Save]". Should this be for games

Game is currently running. Do you want to end this game?
[Continue Playing] [End Game]
Comment 2 Seth Nickell 2002-03-01 03:56:54 UTC
Should be "     [Cancel] [Quit]"
Comment 3 Seth Nickell 2002-03-01 03:58:44 UTC
marking as an HIG compliance issue
Comment 4 Gregory Leblanc 2002-03-01 04:05:10 UTC
Is there a reason that [Don't quit] is unsuitable in place of
[Cancel]?  It seems to leave a lot less room for misinterpretation
Comment 5 Juan Pablo Mendoza 2002-03-06 17:19:21 UTC
Some one is working on this, the dialogs should be [Cancel][Quit], and
will only popup when you are on the middle of a game.
Comment 6 Bastien Nocera 2002-04-17 00:13:00 UTC
What's the status on this ?

Can you please assign this bug to the person who's making the changes ?

Thank you
Comment 7 Samuel Stringham 2002-07-09 17:11:30 UTC
Created attachment 9751 [details] [review]
mahjongg fix
Comment 8 Samuel Stringham 2002-07-09 17:11:52 UTC
let's do this one game at a time.
Comment 9 Samuel Stringham 2002-07-09 18:29:40 UTC
Created attachment 9755 [details] [review]
dialog patch (also fixes other iagno bug)
Comment 10 Samuel Stringham 2002-07-09 23:38:59 UTC
Created attachment 9763 [details] [review]
freecell patch
Comment 11 Samuel Stringham 2002-07-09 23:44:06 UTC
Created attachment 9764 [details] [review]
gataxx patch
Comment 12 Samuel Stringham 2002-07-10 00:47:00 UTC
man, I should really test these a bit better, that one for freecell
contains a stray printf.  I should have all of these done in the next
day or so, want me to submit a huge patch?
Comment 13 Ross Burton 2002-07-10 08:58:50 UTC
You da man!

I'd prefer smaller patches, but a huge one is fine if it replaces all
previous patches.

Please also create Changelog entries to describe the changes ('M-x
add-change-log-entry' in the function in Emacs is your new best friend).
Comment 14 Samuel Stringham 2002-07-11 04:08:04 UTC
Created attachment 9787 [details] [review]
multi game patch
Comment 15 Samuel Stringham 2002-07-11 04:11:31 UTC
That patch updates everything to "[cancel] [quit]" and to only show it
if the game is in progress.  For some games it always shows it because
the game "automatically" starts a new game.  Should we keep this open
until those games have a running state variable?  I suggest we close
this after patch is approved/applied, then deal with checking the
state after bug 87856 is closed:)
Also note I am not as proficient in C++ as I am in C, so gnometris is
not fixed, can someone else do a (rather trivial) patch please?
Comment 16 Samuel Stringham 2002-07-11 04:13:21 UTC
oops, reference above should be to bug 87886.  Marking as high since
there is a patch too.
Comment 17 Samuel Stringham 2002-07-11 04:39:49 UTC
Created attachment 9788 [details] [review]
small changelog patch too
Comment 18 Samuel Stringham 2002-07-11 05:15:26 UTC
Created attachment 9789 [details] [review]
aisleriot patch, not included because untested
Comment 19 Samuel Stringham 2002-07-11 05:16:47 UTC
those last three patches (9787, 9788, and 9789) should update
everything but gnometris.  Please test/commit:)
Comment 20 Samuel Stringham 2002-07-15 00:55:50 UTC
Created attachment 9860 [details] [review]
tested aisleriot patch
Comment 21 Andrew Sobala 2002-08-14 12:45:42 UTC
*** Bug 90494 has been marked as a duplicate of this bug. ***
Comment 22 Ross Burton 2002-08-18 21:23:17 UTC
I *think* all of these are now in HEAD.  They might wander towards the
stable branch, but as they are string changes... :)