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 95111 - gnome-session-properties Quit confirmation dialog is not HIG compliant
gnome-session-properties Quit confirmation dialog is not HIG compliant
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session-properties
2.8.x
Other All
: High minor
: ---
Assigned To: Session Maintainers
Session Maintainers
: 113865 (view as bug list)
Depends on:
Blocks: 115435
 
 
Reported: 2002-10-07 20:07 UTC by mawarkus
Modified: 2007-01-08 14:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch against gnome-2-2 (1.80 KB, patch)
2003-05-26 23:23 UTC, silversides
none Details | Review
Screenshot of Gedit's Save/Don't Save confirm dialog (13.73 KB, image/png)
2004-08-23 18:19 UTC, Bryan W Clark
  Details
New HIG patch (5.59 KB, patch)
2005-01-15 07:38 UTC, Michael Terry
committed Details | Review
Screenshot of dialog with new patch (patch 36049) (22.00 KB, image/png)
2005-01-24 03:01 UTC, Michael Terry
  Details

Description mawarkus 2002-10-07 20:14:35 UTC
Package: control-center
Severity: minor
Version: 2.1.0
Synopsis: gnome-session-properties Quit confirmation dialog is not HIG compliant
Bugzilla-Product: control-center
Bugzilla-Component: other capplets

Description:
gnome-session-properties' "Some changes hat not been saved" quit
confirmation dialog has Cancel and OK buttons. It should have "Cancel",
"Don't Save" and "Save" buttons or something similar




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-10-07 16:14 -------

The original reporter (mawarkus@t-online.de) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.
Reassigning to the default owner of the component, control-center-maint@bugzilla.gnome.org.

Comment 1 silversides 2003-05-26 23:23:57 UTC
Created attachment 16858 [details] [review]
Patch against gnome-2-2
Comment 2 Murray Cumming 2003-06-30 13:26:39 UTC
Moving to GNOMEVER2.3 and adding PATCH keyword so it shows up on the
radar.
Comment 3 Kjartan Maraas 2003-07-09 16:39:37 UTC
Can we get this reviewed and commited if it's ok please?
Comment 4 Andrew Sobala 2003-09-25 15:55:27 UTC
Moving session properties bugs into the relevant component. Sorry for the e-mail
spam (it's finished now): filter on "Andrew doing reassignment work" to get rid
of it.
Comment 5 alexander.winston 2004-01-21 06:27:45 UTC
Apply apply apply!
Comment 6 Kjartan Maraas 2004-04-14 19:32:47 UTC
Does this even apply any longer?
Comment 7 Bryan W Clark 2004-08-23 18:18:33 UTC
I would suggest using the similar dialog from gedit, I'll attach a screenshot. 
I don't know if this patch will apply.
Comment 8 Bryan W Clark 2004-08-23 18:19:56 UTC
Created attachment 30869 [details]
Screenshot of Gedit's Save/Don't Save confirm dialog
Comment 9 Bryan W Clark 2004-08-31 18:14:04 UTC
Adding usability-maint to get other opinions.  If there are none, this seems
like an nice bug for new hackers to work on.
Comment 10 Bryan W Clark 2004-09-29 03:15:17 UTC
Adding easy-fix keyword to this one.
Comment 11 Luis Villa 2005-01-03 03:10:25 UTC
*** Bug 113865 has been marked as a duplicate of this bug. ***
Comment 12 Michael Terry 2005-01-15 07:38:33 UTC
Created attachment 36049 [details] [review]
New HIG patch

This patch is against current CVS and makes the dialog as close to the HIG as I
can get without re-implementing large parts of GtkMessageDialog.  Look at
http://developer.gnome.org/projects/gup/hig/2.0/windows-alert.html#alerts-confirmation
for rationale of any changes.

I stole the time-to-text function with slight modification from gedit.

On my machine, there is odd wrapping behavior.	The primary text is not
wrapped, but the secondary text is wrapped after the number, halfway across the
dialog.  It does not seem to be due to anything I do, and I'm tempted to say
this is a bug in GtkMessageDialog.  Do other people see this?
Comment 13 Luis Villa 2005-01-23 20:56:50 UTC
Wow. Michael, this is great! Think you can provide a screenshot? I hate this
dialog, and I'd love to see it updated.

Mark- POKE. :)
Comment 14 Michael Terry 2005-01-24 03:01:30 UTC
Created attachment 36433 [details]
Screenshot of dialog with new patch (patch 36049)

This is what it looks like with my patch.  Again, the secondary text wraps for
an unknown reason...  Can others confirm if this is my broken system or my
broken code?
Comment 15 Rune Nesheim 2005-02-05 16:31:03 UTC
Wraps before "seconds" here as well.
Comment 16 Raphael Slinckx 2005-03-29 00:39:11 UTC
Is that countdown in seconds really needed ? I would say "Any change you made
will be lost" or somthing like that.

Imagine i push the quit button on the manager, then i switch desktop, go drink a
coffe, then come back and see the dialog that says changes of the last 20
seconds will be lost, what does that mean ? i didn't change anything in the last
20 seconds, it was an hour ago !

Alternatively, the countdown should be "real-time" in the dialog message, but i
don't know if it's that good..
Comment 17 Michael Terry 2005-03-29 01:22:12 UTC
Raphael, I think that scenario could be extended to a lot of things besides quit
warnings.  I think the larger problem there is the user ignoring warning dialogs
and switching desktops (if the user switched desktops before the warning dialog
came up, we have a performance problem instead).  If you read the warning when
it popped up, you won't be suprised.

Gedit now has a dialog that looks very much like the dialog in my patch, using a
non-real-time count.  The GIMP does a real-time count.  I'd like to get a
usability person to chime in on real-time versus not.
Comment 18 Calum Benson 2005-03-29 16:19:09 UTC
Well, although it's not what the HIG currently suggests, you could always avoid
the whole real-time/non-real-time debate by saying 'changes made since <time of
last change>' rather than 'changes made in the last <period of time>'.

Personally I think real-time counters in alerts look kind of gimmicky (except
perhaps when counting down to some event that you might want to interrupt, like
a system shutdown), and aren't really ideal for screenreaders.  And a
non-real-time counter is, as Raphael said, just plain wrong if you don't notice
it straight away.
Comment 19 Kjartan Maraas 2006-08-06 14:07:55 UTC
Did we ever get consensus on this change?
Comment 20 Vincent Untz 2007-01-07 12:48:35 UTC
I committed the patch without the time. It's enough, IMHO.
Thanks!
Comment 21 Vincent Untz 2007-01-08 14:06:38 UTC
Forgot to close the bug.