Comment 2 for bug 394503

Revision history for this message
Alvin Penner (apenner) wrote :

there are four cases that can occur:
1. Import a pdf/ps file : result is the image goes into the existing layer
2. Import a bitmap file : result is the image goes into the existing layer

3. Open a pdf/ps file onto a empty canvas :
 - result is a new layer is created with the name of the image filename
 - for the .ps file this layer name is somewhat garbled because it is the name of a temporary .pdf file created in a two-step process.
4. Open a bitmap file onto a empty canvas :
 - result is the image goes into 'root', which is not a layer at all.

In all four cases there is no new instance of Inkscape created because the images are going into a blank unused canvas.

I believe case 4 was probably intended to behave the same as case 3. The point is that under no circumstances should the user be encouraged to, or even allowed to, draw directly into the 'root' because this leads to a document structure that is inconsistent with 'normal' Inkscape convention. In case 4 the user has to manually create his own layer in order to avoid having his future work go into the 'root'.