<html><head></head><body bgcolor="#FFFFFF"><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">On 18/09/2012, at 4:08, Julian Bogdani <<a href="mailto:jbogdani@gmail.com">jbogdani@gmail.com</a>> wrote:</span><br></div><div><br></div><div></div><blockquote type="cite"><div><div>Hello</div><div>I've posted a question on <a href="http://gis.stackexchange.com">gis.stackexchange.com</a> (<a href="http://gis.stackexchange.com/questions/33608/layers-in-qgs-file-not-present-in-the-layers-pane">http://gis.stackexchange.com/questions/33608/layers-in-qgs-file-not-present-in-the-layers-pane</a>), and as promised there I'm sending here a qgis project file with a phantom layer to use for test.</div></div></blockquote><div><br></div><div>[snip]</div><br><blockquote type="cite"><div><div>As you can see in the same file other traces of older files are still present in the xml, for instance near lines126 and following: a list of vector layer with snapping turned on. This does not produce any error, but getting them removed when layer is removed is probably cleaner.</div></div></blockquote><div><br></div>As a you're not hallucinating comment (rather than a solution) I also have seen such things, although I'm not sure I have an example to hand. <div><div><br></div><div>Is it just in projects saved by QGIS 1.8?</div><div><br></div><div>I think from memory mine are with relative paths, and are projects originally started under an earlier QGIS version. </div><div><br></div><div>Save As did not work for me either. </div><div><br></div><div>-ramon. </div></div></body></html>