From kde-core-devel Wed Sep 23 22:40:10 2009 From: Ingo =?iso-8859-15?q?Kl=F6cker?= Date: Wed, 23 Sep 2009 22:40:10 +0000 To: kde-core-devel Subject: Re: [PATCH] Turn Powerdevil suspend notification into a dialog Message-Id: <200909240040.10857 () thufir ! ingo-kloecker ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=125374565305314 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1743111.aBVD7VZZSe" --nextPart1743111.aBVD7VZZSe Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 22 September 2009, Aur=E9lien G=E2teau wrote: > In case you missed it, an earlier discussion about notification > capabilities on this list diverged a bit on Powerdevil suspend > notification. I am referring to the notification which appears when > your laptop is running out of battery. Powerdevil shows a > notification to tell you it will suspend the machine in a few > seconds, unless you click the "Cancel" button of the notification. > > I believe this is one of the few cases where using a dialog is more > appropriate than using a notification because the system is about to > do something very drastic, so it should ensure the user does not miss > it. > > The dialog approach has a drawback though: it can steal the focus, > resulting in the user accidentally triggering one of the dialog > buttons if the dialog receive a keystroke intended for the previously > active window. I haven't read all messages in this thread, so maybe this has already=20 been asked by someone else: How does Mac OS X notify the user when her laptop is running out of=20 battery? How does Windows Vista or Windows 7 notify the user when his laptop is=20 running out of battery? If neither Mac OS X nor Windows use a dialog then I'd say that this is a=20 strong indication that a dialog is not the right solution for the=20 problem. Regards, Ingo --nextPart1743111.aBVD7VZZSe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkq6o8oACgkQGnR+RTDgudjyagCfcMZs3kPccB6omXktA0mn+1q+ 6kEAnRwB7U8PiR43E4lKbnWqsREUx4ji =5ZxG -----END PGP SIGNATURE----- --nextPart1743111.aBVD7VZZSe--