if gnome-session handle those two events, then it goes to prepare_shutdown 
which is current result.
If the original implementation of 
https://bugzilla.gnome.org/show_bug.cgi?id=688076 is correct, then it is 
expected result, and we accept it.

Unless the commit of https://bugzilla.gnome.org/show_bug.cgi?id=688076
have to tweak to adjust two quick button press.

A debounce is mentioned by the maintainer, not what my original thought, my 
thought original implement need to do some adjust for handling such corner case.

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  System shutdown directly by pressing power button and releasing
  immediately on Dell Vostro 5301

Status in OEM Priority Project:
Status in gnome-session package in Ubuntu:
Status in linux package in Ubuntu:

Bug description:
  kchsieh@kchsieh-laptop:~$ lsb_release -rd
  Description:  Ubuntu 20.04 LTS (fossa-bulbasaur X23)
  Release:      20.04

  kchsieh@kchsieh-laptop:~$ apt-cache policy systemd
    Installed: 245.4-4ubuntu3
    Candidate: 245.4-4ubuntu3
    Version table:
   *** 245.4-4ubuntu3 500
          500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
          100 /var/lib/dpkg/status

  Expect: When press the button, the endSeesionDialog should show up.
  Actual: The system shutdown directly.

  When the issue happend:
  endSessionDialog is not triggered immediately after the first power button 
event, but triggered after the second power button event.
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
   # This is the distribution channel descriptor for the OEM CDs
   # For more information see 
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2020-05-10 (3 days ago)
  InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 
  MachineType: Dell Inc. Vostro 5301
  Package: systemd 245.4-4ubuntu3
  PackageArchitecture: amd64
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.6.0-1010-oem 
root=UUID=b16fea1e-d8bc-4c71-a2e6-c43d269b40de ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.6.0-1010.10-oem 5.6.8
  Tags:  focal
  Uname: Linux 5.6.0-1010-oem x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 04/30/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 0.1.12
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.product.family: Vostro
  dmi.product.name: Vostro 5301
  dmi.product.sku: 09FC
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to