The shutdown is caused by the commit of https://bugzilla.gnome.org/show_bug.cgi?id=688076.
gnome-session-bin handle the first shutdown request, and change to QUERY_END_SESSION_PHASE, but the second shutdown request arrive before it open the endSessionDialog, and user not yet confirm to shutdown. The second shutdown request is handled in QUERY_END_SESSION_PHASE, which goes to prepare shutdown by the commit mentioned above. Therefore, I create a patch to check if the shutdown has been confirmed by the user then process the prepare shutdown. It seems can fix this issue. ** Bug watch added: bugzilla.gnome.org/ #688076 https://bugzilla.gnome.org/show_bug.cgi?id=688076 ** Patch added: "Patch which verified OK on the platform has 2 key event with single press" https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1878351/+attachment/5381991/+files/check-if-logout-forced-before-perform-shutdown.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
