When thumbnailing a folder for which dolphin hasn't created thumbnails yet, kio_thumbnail keeps running after exiting dolphin. This is at least an annoying behaviour since this blocks unmounting of flash drives, etc. I marked this as critical since it might be possible that the user won't notice that unmounting had failed and therefore he would remove his external device (-> data loss?). Reproducible: Always Steps to Reproduce: 1. Open a folder for which dolphin has not created thumbnails yet. 2. When dolphin starts to thumbnail the images, hit control+q or similar to exit it 3. main window disappears Actual Results: A dolphin and a kio_thumbnail process keep running and thumbnailing all the images in the queue. Expected Results: Dolphin should have exited immediately. Might this be related to the gwenview bug 302074? (I guess not.)
Thanks for the bug report! This looks similar to bug 183832. Why do you think that this is unrelated to the Gwenview bug? I would guess that the root cause is quite similar and that it can be fixed in a similar way. If you could provide a patch, that would be awesome :-)
Created attachment 72936 [details] stop thumbnail jobs > Why do you think that this is unrelated to the Gwenview bug? Only because gwenview doesn't use kio_thumbnail for image files. I had a quick look into the code and my first try seems to solve this. But more testing is needed.
Thanks for the patch! Looks very good from my point of view, and works nicely here. Do you have a git account, or shall I push it to master and 4.9 for you?
Ah, great. I don't have an account, so please push it. thanks!
Git commit 4d39dbc9620cd30826bfab4a42cf31702aeac6d8 by Frank Reininghaus. Committed on 06/08/2012 at 02:21. Pushed by freininghaus into branch 'KDE/4.9'. Stop preview jobs when closing Dolphin Patch by Benni Hill. Thanks for the patch! FIXED-IN: 4.9.1 M +1 -0 dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp http://commits.kde.org/kde-baseapps/4d39dbc9620cd30826bfab4a42cf31702aeac6d8
Git commit f0d2d6d752b478e1b1f9ebe4bdc3ca03fbe6691b by Frank Reininghaus. Committed on 06/08/2012 at 02:21. Pushed by freininghaus into branch 'master'. Stop preview jobs when closing Dolphin Patch by Benni Hill. Thanks for the patch! (cherry picked from commit 4d39dbc9620cd30826bfab4a42cf31702aeac6d8) M +1 -0 dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp http://commits.kde.org/kde-baseapps/f0d2d6d752b478e1b1f9ebe4bdc3ca03fbe6691b
*** Bug 183832 has been marked as a duplicate of this bug. ***