Bug report #6407
Sometimes QGIS inserts extra blank lines in the project macros when saving
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||15660|
Sometimes when I open a different project and QGIS asks if I want to save the current project, and I say yes, it adds an extra newline after every line of code (including blank lines) in the project macros.
#1 Updated by Alister Hood about 8 years ago
I'm not 100% sure, but I think this happened on the several occasions when it occurred:
- I opened the project and edited the project macros
- I saved the project
- I tried to open another project and for some reason it asked me to save again
That was on Windows. As far as I can tell, on Linux it never asks you to save the project after you edit the macros, so if nothing else has changed then you lose your changes. And so far I've never had it add all the newlines on Linux.