[Psi-devel] [BUG] Psi prohibits user logout or system shutdown
Michał Jazłowiecki
michalj at poczta.neostrada.pl
Mon Jul 9 13:49:23 PDT 2007
textshell wrote:
> 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.
It just might work. However, what about file transfers in progress? I
mean, if user has FT in progress and Psi receives WM_QUERYENDSESSION,
then it would be wise to ask user whether to break the FT and allow
system for user logout or system shutdown. DefaultWindowProc would not
do that.
> I'll fix it in darcs today or tomorrow...
I've just made my own quick-fix. Just a proof of concept. I'll test it
tomorrow.
So, my question is: How to get the information whether any FT is in
progress?
Regards,
--
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator
More information about the psi-devel
mailing list