Bug #7334

Pressing the power button in the GNOME session does not immediately trigger emergency shutdown

Added by anonym 2014-05-29 10:15:52 . Updated 2016-08-23 00:50:25 .

Status:
Resolved
Priority:
Low
Assignee:
Category:
Target version:
Start date:
2014-05-29
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

From the 1.1~beta1 testing session:

> When pressing the power button after Tails is done starting, the user is asked for shutdown/reboot/etc.
> and still has to press enter to start the shutdown

Regression since 1.0.


Subtasks


Related issues

Related to Tails - Bug #7335: The power button does not trigger emergency shutdown in the Greeter Confirmed 2014-05-29
Related to Tails - Bug #11385: Update /doc/first_steps/shutdown to Tails 2.0 Resolved 2016-04-28

History

#1 Updated by anonym 2014-05-29 10:18:29

  • Subject changed from Wheezy: pressing the power button does not trigger emergency shutdown to Wheezy: pressing the power button in the GNOME session does not trigger emergency shutdown

#2 Updated by anonym 2014-05-29 10:19:07

  • related to Bug #7335: The power button does not trigger emergency shutdown in the Greeter added

#3 Updated by intrigeri 2014-05-29 11:59:43

IMO, that’s not a blocker for 1.1:

  1. it’s not as if we had documented that the power button triggers an immediate power-off, have we?
  2. we provide two other ways to quickly shutdown Tails
  3. pressing Enter doesn’t take substantially more time

#4 Updated by intrigeri 2014-06-07 06:18:16

  • Target version deleted (Tails_1.1)

9 days later, I’m dropping the 1.1 milestone.

#5 Updated by intrigeri 2014-06-07 06:20:52

  • Subject changed from Wheezy: pressing the power button in the GNOME session does not trigger emergency shutdown to Pressing the power button in the GNOME session does not immediately trigger emergency shutdown

#6 Updated by anonym 2014-06-08 16:23:17

  • Priority changed from Elevated to Normal
  • Type of work changed from Research to Discuss

intrigeri wrote:
> IMO, that’s not a blocker for 1.1:
>
> # it’s not as if we had documented that the power button triggers an immediate power-off, have we?

True. Some people have even complained about it (Jake Appelbaum IIRC). Still, some may have grown used to it.

> # we provide two other ways to quickly shutdown Tails

Still, it’s a lot faster and reliable.

> # pressing Enter doesn’t take substantially more time

Fair enough, and it should be easy to re-train to this. Downgrading priority because of this.

I propose we reject this bug.

#7 Updated by intrigeri 2014-06-08 17:04:56

> I propose we reject this bug.

I think it would be good to have this working, so I would find it sad to just close this ticket.
IMO that’s a low priority task: patches welcome, but we don’t intend to work on it ourselves.
Ideally, one would patch a GSettings thing in GNOME, to dictate in a more fine-grained way what the power button does.
If GNOME people agree, then that would be a good thing to add to their upcoming privacy/security bounty program.
Else, well, we won’t maintain in-house patches for that, so then yes, we should reject this ticket.

#8 Updated by BitingBird 2014-06-09 09:15:30

  • Priority changed from Normal to Low

#9 Updated by intrigeri 2014-06-10 11:23:12

  • Type of work changed from Discuss to Code

#10 Updated by sycamoreone 2016-08-19 07:09:01

I think this was magically fixed by the switch to Jessie in Tails 2.0. At least for me, pressing the power button triggers an emergency shutdown since that release.

#11 Updated by elouann 2016-08-19 07:34:17

  • Assignee set to sycamoreone

sycamoreone wrote:
> I think this was magically fixed by the switch to Jessie in Tails 2.0. At least for me, pressing the power button triggers an emergency shutdown since that release.

I think there was another issue. Could you please test if it’s still working after suspending/locking the screen?

#12 Updated by sycamoreone 2016-08-19 08:08:43

I just tried the power button after a number of suspends and the emergency shutdown was triggered immediately.

#13 Updated by sycamoreone 2016-08-19 09:49:16

Checked a few more cases: The power button works fine after unlocking the screen locker, but not while the screen is locked.

I suggest that the interaction with the screen locker should not be tracked here but in Feature #5684. It also seems to be resolved already in Feature #6017 for the new screen locker.

#14 Updated by intrigeri 2016-08-23 00:50:25

  • Status changed from Confirmed to Resolved
  • Assignee deleted (sycamoreone)

sycamoreone wrote:
> Checked a few more cases: The power button works fine after unlocking the screen locker, but not while the screen is locked.
>
> I suggest that the interaction with the screen locker should not be tracked here but in Feature #5684. It also seems to be resolved already in Feature #6017 for the new screen locker.

Re-opened Feature #6017 (there is no “new screen locker” AFAIK, so your tests invalidate what was reported on Feature #6017 previously), which tracks the only remaining known issue => closing this one.

elouann, please file a different ticket if you still notice other problems with the power button :)

#15 Updated by sajolida 2016-11-26 17:30:59

  • related to Bug #11385: Update /doc/first_steps/shutdown to Tails 2.0 added