Version: 1.2.94 (using KDE KDE 3.1.93) Installed from: Compiled From Sources OS: Linux I was just working with Karbon and saved my progress every few minutes. Something went wrong, undo did not work correctly and I wanted to open a previous version. The first time karbon said the selected file did not exist. The second time I tried Karbon stopped responding and ate 100% CPU. I attached the file below.
Created attachment 3271 [details] testcase
I think I fixed this, can you check to make sure?
Check? How? Do you have a patch?
The fix I think solves this is in cvs. Do you have access or should I make a patch for you?
Please create a patch....
Created attachment 3360 [details] patch for loading problem
Not sure if you did got the confirmation message :} Please let me know if the patch fixes this bug.
Is this a patch against 1.2.93? When applying, it says: [dik@dik karbon]$ patch -p0 < loadpatch.patch patching file karbon_view.h patching file karbon_view.cc Hunk #1 succeeded at 135 (offset -1 lines). Hunk #2 succeeded at 951 (offset -7 lines). patching file karbon_part.h Reversed (or previously applied) patch detected! Assume -R? [n] y patching file karbon_part.cc I re-compiled Karbon after applying this patch, and It does not seem to freeze anymore. It still says the file does not exist though.
About file loading problem (using startup dialog right?), I did this fix : http://webcvs.kde.org/cgi-bin/cvsweb.cgi/koffice/karbon/karbon_part.cc.diff?r1=1.149&r2=1.150 For the above patch, I screwed up karbon_part.h indeed. Instead you need : http://webcvs.kde.org/cgi-bin/cvsweb.cgi/koffice/karbon/karbon_part.h.diff?r1=1.75&r2=1.77 You can just save the diffs linked to above and apply them to the original sources. Good luck!
It works! Thank you!
*** Bug has been marked as fixed ***.