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. https://gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/46#note_836061 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/1878351 Title: System shutdown directly by pressing power button and releasing immediately on Dell Vostro 5301 To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1878351/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs