On 2/6/10 18:57, Martin Sucha wrote:
On Wednesday 02 June 2010 16:27:19 Jasper van de Gronde wrote:
Given that the release is slowly nearing I would love at least some confirmation that it also works on Linux(/Mac), as I've only tested on Windows. The attached file demonstrates some changes I used to add a Crash menu item to the file menu, as I didn't know of any other way to make Inkscape crash fast and reliably :)
I saved a drawing, then opened it second time (without closing the original drawing), made some changes without saving and then crashed Inkscape (using your cool crashing menu item :) ) and it appears both backup files were saved correctly in the same folder the original drawing was saved. Tested r9470 on Linux.
With regard to bug #283769 - on OS X I only saw this issue randomly (AFAIU bug #283769 reports that on Windows Inkscape completely fails to create an emergency-save document for saved files?) and to me it appeared to depend on both the kind of crash and the original file name [1]. (I have reproduced a lot of crashes reported in the bug tracker ;)
Notes after preliminary tests with revision 9470/9471 [2]:
- changed location of emergency-saved documents Previously emergency-saved files have all been saved to $HOME, now only emergency-saved files of not yet saved Inkscape documents are stored in $HOME, those of saved files are stored in the same directory of the original file. I'm not sure if this is really better - at least up to now it was easy to manage those emergency-save files (decide to keep for reuse or delete) because they all appeared in the same location. Now they will be in various places and more likely to stay behind if I don't regularly use the file browser to 'cleanup'. Until Inkscape has a built-in crash recovery feature IMHO a central location for emergency save is preferable. But maybe that's just me ;)
- file name of emergency-saved document While previously often the last character of the original file name was either cut off or replaced with an apparently random character (I don't know what is the correct term: binary or control? It is not a regular Unicode character) [1], now the new file name even includes the file extension in the name (e.g. file "test-1.svg" is emergency-saved as "test-1.svg.2010_06_02_20_50_43.0.svg"). Could the original file extension be excluded when creating the new file name? Or is there a reason to include it?
~suv
[1] bug #379375 https://bugs.launchpad.net/inkscape/+bug/379375
[2] tested with Inkscape 0.47+devel r9471 on OS X 10.5.8 I did not use your diff.txt (menu command to crash Inkscape) but tested with two random procedures I know to crash Inkscape: https://bugs.launchpad.net/inkscape/+bug/546752/comments/4 https://bugs.launchpad.net/inkscape/+bug/484057