
By clicking the power icon on the leftmost of the wing panel and then "Shut Down...", a dialog which confirm that the user will truly shutdown. However, this dialog isn't an active window by defaults, like this screenshot above, when there are other active windows.

This dialog should be an active window by defaults even if when there are other active windows.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Hi.
I have the same issue.
Let me add that this also happens when you have an empty workspace and before clicking the shutdown button, you click another of the wingpanel icons.
The logout window works like it should.
Unfortunately i only saw your thread after i posted mine. I someone can, please close mine.
Thanks,
Additional Info from #118:
This bug does not happen when the desktop is empty. Also, it does not happen in the case of "Logout" dialog.
This issue also happens in Juno Beta1
Closing because I can't reproduce this in Juno at all
Hi.
I think that this issue is back.
Could you please test if it's happening on your end?
I'm seeing this on the logout and power-off dialog windows.
Yes happens for me on Juno updated. Does not happen on Loki.
@Blast-City Yes, I can also confirm this on Juno again in the following cases:
Ctrl+Alt+DelHowever, interestingly it focus on the dialog by default in the following case:
Also, it seems now this issue happens even if you don't keep one or some window open.

Closing in favor of https://github.com/elementary/wingpanel/issues/228 because there are more reasonable reason why session dialogs lose focus is talked:
Filed here and not on the session indicator because this is probably due to the self-unfocusing code of WingPanel?
Most helpful comment
Hi.
I think that this issue is back.
Could you please test if it's happening on your end?
I'm seeing this on the logout and power-off dialog windows.