I am building a couple data packages in QGIS - that is, QGIS projects full of useful data for my colleagues to use. The problem is, if I open the project without any internet, all the WMS layers will fail to connect and they will be lost from the project. This is not a big problem for me because I can work around it, but this is certain to be annoying when for my colleagues when I pass it on to them to use.
If I click cancel, the window disappears and I can work on the project. If click "OK", I'll be warned about losing these layers first:
In both cases, I'm taken to the project, and these layers are no longer in the layers list. If I save the project, this change will be permanent, and I'll need to manually add the layers again. That's not a big issue for me, but I'm passing this on to people who are not as comfortable with QGIS.
Is there any way to stop this happening?
I see a similar question here, unsolved: Prevent QGIS from loading WMS services when opening project