Review Request: Workaround for the hang (freeze) when opening VLC's file dialog under KDE...

Thiago Macieira thiago at
Fri Feb 4 20:32:35 GMT 2011

On Friday, 4 de February de 2011 14:06:58 Dawit A wrote:
> BTW, there is one side issue I noticed in QProcess through this whole
> process. Why does QProcess not exit immediately if I invoke kill or
> terminate or even when it just timed out from waiting for the child
> process ? IOW, why wait some more for the child process to exit under
> those circumstances ? That is what unnecessarily prolongs or even
> doubles the blocking period.

kill() or terminate() just send the signals. There's no guarantee that the 
process will exit immediately, so why should QProcess notify you of that 
immediately? This is especially true for SIGTERM, since that one can be caught 
and handled.

Thiago Macieira - thiago (AT) - thiago (AT)
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list