Activity log for bug #241390

Date Who What changed Old value New value Message
2008-06-19 18:23:34 sas bug added bug
2008-06-19 18:28:05 sas description SVN revision 18985, on Windows XP. Steps to reproduce: 1) Choose a file to use. The file http://launchpadlibrarian.net/12626830/blue.svg is suitable, but I think any SVG file will do. 2) Start Inkscape. 3) Import the file (File -> Import). 4) Click the "new document" button. 6) Import the file into the new document. Inkscape crashes, with the following error message on stderr: ** ERROR:(src/xml/simple-node.cpp:409):virtual void Inkscape::XML::SimpleNode::_bindDocument(Inkscape::XML::Document&): assertion failed: (!_document || _document == &document) As far as I can tell, the problem is that, on the second import, the call desktop->currentLayer() in src/file.cpp returns a layer in the wrong document (it returns the same layer as it did on the first import). (By the way, I'm also getting the error message ** (inkscape.exe:1760): CRITICAL **: gdouble sp_document_height(SPDocument*): assertion `document->root != NULL' failed But I wasn't getting that with yesterday's SVN, so it's probably some unrelated breakage.) SVN revision 18985, on Windows XP. Steps to reproduce: 1) Choose a file to use. The file http://launchpadlibrarian.net/12626830/blue.svg is suitable, but I think any SVG file will do. 2) Start Inkscape. 3) Import the file (File -> Import). 4) Click the "new document" button. 5) Import the file into the new document. Inkscape crashes, with the following error message on stderr: ** ERROR:(src/xml/simple-node.cpp:409):virtual void Inkscape::XML::SimpleNode::_bindDocument(Inkscape::XML::Document&): assertion failed: (!_document || _document == &document) As far as I can tell, the problem is that, on the second import, the call desktop->currentLayer() in src/file.cpp returns a layer in the wrong document (it returns the same layer as it did on the first import). (By the way, I'm also getting the error message ** (inkscape.exe:1760): CRITICAL **: gdouble sp_document_height(SPDocument*): assertion `document->root != NULL' failed But I wasn't getting that with yesterday's SVN, so it's probably some unrelated breakage.)
2008-06-19 18:28:23 sas inkscape: assignee mental
2008-06-20 00:53:51 Alvin Penner inkscape: status New Confirmed
2008-08-10 21:01:35 sas inkscape: importance Undecided High
2009-03-01 21:51:11 Johan Engelen inkscape: status Confirmed Fix Released
2009-03-01 21:51:11 Johan Engelen inkscape: assignee mental johanengelen
2009-03-01 21:51:11 Johan Engelen inkscape: statusexplanation The import dialog was constructed once, and therefore it always belongs to the desktop from which it was first called. the dialog should be recreated all the time (like the open dialog). So that's what I did, and it fixed this bug (svn rev 20803).