Bug#372295: please do *not* just shut down

2006-10-31 Thread James Utter





There was a nice discussion on the ubuntu-devel m-l about the same
topic. It seems that the ubuntu-devs changed the behaviour and presented
the logout dialog if the power button is pressed (so people could cancel
the shutdown) but some didn't like it because it needed manual
intervention others argued it is a little bit more cumbersome but safer.

Agreed, a logout dialogue is not the best solution, but how about the ability to cancel a shutdown? Example: Suspend2 lets you cancel by pressing Escape. Then, if you realised that you had to save a document, you could just cancel the shutdown. And it would also be useful in case you remember something you needed to do.
Gnome-power-manager is probably not the place to implement this. Could you forward it to the correct place?

The ability to cancel a shutdown is something I have wanted in an OS for a long time.

Cheers,

James Utter




signature.asc
Description: This is a digitally signed message part


Bug#372295: please do *not* just shut down

2006-08-10 Thread Marcus Better
+1 for this bug.

My laptop has the power switch on the side, and I've already twice shut
it down by accident.

IMHO it is very bad usability to do destructive things at the push of
one button. That should be configurable, with a safe default.

(Why does the default install of KDE prompt me when I log out or press
Ctrl-Alt-Del? That's much harder to do by mistake than touching a power
switch.)

Marcus


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#372295: please do *not* just shut down

2006-08-10 Thread Michael Biebl
Marcus Better wrote:
 +1 for this bug.
 
 My laptop has the power switch on the side, and I've already twice shut
 it down by accident.
 
 IMHO it is very bad usability to do destructive things at the push of
 one button. That should be configurable, with a safe default.

It is configurable: /etc/powersave/events - EVENT_BUTTON_POWER
The question is, which default makes the most sense. IMO shutting down
on pressing the power button is what most users expect. (Think of the
power switch of you tv)
Setting the default to do nothing would displease others.
What is lacking is a nice frontend to configure this (and possibly
other) settings of powersaved. debconf would be an option.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#372295: please do *not* just shut down

2006-06-09 Thread martin f krafft
Package: powersaved
Severity: important

I am making this an important bug because I just lost some data
thanks to powersaved, which I installed not to powersave, but
because I am working on acpid and needed to test some interaction.

Due to unfortunate circumstances, I touched the power button, and
the next thing I knew were all my processes being SIGTERM'd. Please
do *not* do that.

Other operating systems display confirmation boxes. Unless you can
do the same across all X and non-X machines, I suggest you rather
disable that feature (or use debconf to find out whether the user
wants to have it enabled).

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft [EMAIL PROTECTED]
: :'  :proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system


signature.asc
Description: Digital signature (GPG/PGP)


Bug#372295: please do *not* just shut down

2006-06-09 Thread Michael Biebl
martin f krafft wrote:
 Package: powersaved
 Severity: important
 
 I am making this an important bug because I just lost some data
 thanks to powersaved, which I installed not to powersave, but
 because I am working on acpid and needed to test some interaction.
 
 Due to unfortunate circumstances, I touched the power button, and
 the next thing I knew were all my processes being SIGTERM'd. Please
 do *not* do that.
 
 Other operating systems display confirmation boxes. Unless you can
 do the same across all X and non-X machines, I suggest you rather
 disable that feature (or use debconf to find out whether the user
 wants to have it enabled).
 

Never got a complaint because of this. Seems people are expecting that
the computer simply shuts down on pressing the power button.
If you don't like this behaviour you could disable it by editing
/etc/powersave/events and setting
EVENT_BUTTON_POWER=ignore but this is probably not what you want.
If you look a /usr/lib/powersave/scripts/wm_shutdown you will see that
powersaved already tries to gracefully terminate and save the running
session and not simply kill all running processes, e.g. the dcop
ksmserver call in kde_shutdown() signals all KDE applications to save
and exit. Unfortunately Linux has some many different desktop
environments and window managers that it will be impossible to support
them all.
Still I'm reluctant to disable this feature because it's what most users
do expect. acpid btw. has the same behaviour (/etc/acpi/powerbtn.sh) and
gnome-power-manager too.
There was a nice discussion on the ubuntu-devel m-l about the same
topic. It seems that the ubuntu-devs changed the behaviour and presented
the logout dialog if the power button is pressed (so people could cancel
the shutdown) but some didn't like it because it needed manual
intervention others argued it is a little bit more cumbersome but safer.
It will also be hard to support DEs besides KDE and Gnome.
So you see it will be hard to please everyone.

Michael

[1] https://lists.ubuntu.com/archives/ubuntu-devel/2006-May/018402.html
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#372295: please do *not* just shut down

2006-06-09 Thread martin f krafft
clone 372295 -1
reassign -1 gnome-power-manager
thanks

also sprach Michael Biebl [EMAIL PROTECTED] [2006.06.09.1332 +0200]:
 Never got a complaint because of this. Seems people are expecting that
 the computer simply shuts down on pressing the power button.

It's not what other operating systems do.

 If you don't like this behaviour you could disable it by editing
 /etc/powersave/events and setting
 EVENT_BUTTON_POWER=ignore but this is probably not what you want.

No. IMHO, it should be the default. If you want it, you can always
enable it.

 If you look a /usr/lib/powersave/scripts/wm_shutdown you will see
 that powersaved already tries to gracefully terminate and save the
 running session and not simply kill all running processes, e.g.
 the dcop ksmserver call in kde_shutdown() signals all KDE
 applications to save and exit. Unfortunately Linux has some many
 different desktop environments and window managers that it will be
 impossible to support them all.

So then how about just not shutting down if you don't know how to
handle the environment?

 Still I'm reluctant to disable this feature because it's what most
 users do expect. acpid btw. has the same behaviour
 (/etc/acpi/powerbtn.sh) and gnome-power-manager too.

#285779

and I am cloning this bug against gnome-power-manager, although if
you use that, it's likely that you are using GNOME, and that it
already tries to be sane about it.

 There was a nice discussion on the ubuntu-devel m-l about the same
 topic. It seems that the ubuntu-devs changed the behaviour and
 presented the logout dialog if the power button is pressed (so
 people could cancel the shutdown) but some didn't like it because
 it needed manual intervention others argued it is a little bit
 more cumbersome but safer. It will also be hard to support DEs
 besides KDE and Gnome. So you see it will be hard to please
 everyone.

That's why we have debconf. :)

(hint, hint)

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft [EMAIL PROTECTED]
: :'  :proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system


signature.asc
Description: Digital signature (GPG/PGP)