Apologies — posted this first in Troubleshooting then saw that bug reports should go here.
I can confirm this behaviour again. I see that the servicemanager folder seems to be a scratch folder. The obvious key issue is that OpenLP lets the user save service files there.
[=====================================]
In my learning to use OpenLP I lost track of the standard folder where the service files are saved to. Looking around in the settings I saw that the standard data path was
C:\Users\%USERNAME%\AppData\Roaming\openlp\data
so I saved a test service (*.osz) file in the subfolder
C:\Users\%USERNAME%\AppData\Roaming\openlp\data\servicemanager
because I thought it looked a likely suspect.
When I went back into OpenLP (few minutes later) I found that the service file was gone. So I made another and saved it in the same folder — same behaviour. Next I saved the file, then with OpenLP still running I confirmed that the .osz file was saved and present in the folder. Then I exited OpenLP and the file immediately disappeared.
I then tested again saving a file in
C:\Users\%USERNAME%\AppData\Roaming\openlp\data
and that one was fine, did not get deleted.
I am not sure of the function of the servicemanager folder but OpenLP happily let me save a service file in there with no warning and consistently deleted the file on exiting the app.
So far I can reproduce this at will - system is Win 7 SP1 running in Parallels on a Mac.
Comments
That being said OpenLP is an open source project, and I am not the project leader, so if any of the developers agrees with you and are willing to provide patches, your wish might come true.
Ideally, OpenLP wouldn't delete files without telling you unless it already created them without telling you in the first place and called them something like 123xyz.tmp to make it obvious that they are temporary. This would resolve the issue FromOZ mentioned, if I understood correctly. There should also be a warning against the data folder field in the settings explaining that files in this folder may be deleted; this might just save the guy who sets his data folder to C:\.
FromOZ, I think the reason people were maybe not taking you too seriously was that you did something rather unusual on the face of it, by picking a pretty obscure place to save your file, and possibly one of the only places where it would get deleted. It's a bit like deciding to save your service file in your browser cache folder, or saving an important e-mail in the OpenLP data folder, or telling Word to save a document to C:\Users\myaccount\AppData\Roaming\Microsoft\Office\Recent (who knows what happens to those files): it's possible but quite a bizarre thing to do. However, I can see that the purpose of the OpenLP data folder may not be clear. Certainly OpenLP should never offer to save your service into the data folder by default, that would be asking for trouble.