Review Request: Fix ReadOnlyPart crash for non-local files

Raphael Kubo da Costa kubito at
Sun Apr 5 02:57:16 BST 2009

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs.


As the listed bugs say, when a URL is passed to a program and its ReadOnlyPart opens it, the program crashes when closed if the transfer is stoppped before it's finished. Calling "ark" or "okular" both present this behaviour.

This patch makes the registered FileCopyJob not autodelete itself when the transfer is stopped, thus making ReadOnlyPart::abortLoad not access a dead object.

This addresses bugs 186722, 186980, 187538, and 188231.


  /trunk/KDE/kdelibs/kparts/part.cpp 948889 



Both Ark and Okular stopped crashing here.



More information about the kde-core-devel mailing list