[Psi-devel] [BUG] Psi prohibits user logout or system shutdown
textshell-I1QKlO at neutronstar.dyndns.org
textshell-I1QKlO at neutronstar.dyndns.org
Mon Jul 9 05:46:39 PDT 2007
On Mon, Jul 09, 2007 at 07:15:49AM +0200, Michał Jazłowiecki wrote:
> Welcome,
>
>
> I've noticed that Psi-0.11 (after recent power events' support fix)
> prohibits user logout or system shutdown (either for restart or for
> poweroff) on Windows.
>
> This is caused by invalid processing of WM_QUERYENDSESSION message - Psi
> does not set any return value, which defaults to 0, meaning "dissallow".
>
> Maybe we should test lParam argument of this message (it tells what
> really is going on - user logout, system shutdown or application's file
> substitution) and give the user ability to respond.
>
> Anyway, we should return a non-zero value.
>
Yes, this is a know Problem but i forgot to add it to flyspray too.
I think the right fix is to let Qt handle the message as normal, after
psi did notice it and did it's own processing, so that it will be
processed by DefaultWindowProc (or how was that one called) somewhere
inside Qt.
I'll fix it in darcs today or tomorrow...
- Martin H.
More information about the psi-devel
mailing list