Just add syslog messages on pressing power off button in gnome shell
menu:
Oct 21 09:49:11 eugene-VirtualBox gnome-shell[3241]: endSessionDialog: No
XDG_SESSION_ID, fetched from logind: 6
Oct 21 09:49:12 eugene-VirtualBox gnome-session-binary[3226]: Entering running
state
Oct 21 09:49:12
"The power off dialog is meant to ask apps if they can, or to try to,
close" - but not before I confirmed the action.
"or a bug in the app itself" - yes, it's most likely.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell
I'm not sure this is a bug.
The power off dialog is meant to ask apps if they can, or to try to,
close. Apps then have the opportunity to say "no" or to ask you to save
your work.
Depending on the design of the message it might be appropriate for apps
to terminate immediately when they get it. I