gnome-session did handle those two events, and 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 need to be tweaked to adjust two quick button press. A debounce is mentioned by the maintainer, not what my first implementation, I thought original implemention need to do some adjustment for handling the case. You can check the maintainer's comment. 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