Bug report #13887
Project not considered dirty when it has no layers
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Project Loading/Saving | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | end of life |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 21909 |
Description
When a project has no layers in it, it is never considered dirty, e.g. the user is not asked to save the changes when exiting QGIS.
History
#1 Updated by Sebastian Dietrich almost 9 years ago
To reproduce:
- Create a new project
- Edit some project attributes, e.g. the title, a project variable, a default marker, ...
- Exit QGIS
You are not asked whether you want to save the changes.
#2 Updated by Sebastian Dietrich almost 9 years ago
To reproduce in a weird way:
- Load a project with some layers
- Delete all layers
- Exit QGIS
You are not asked whether you want to save the changes.
#3 Updated by Sebastian Dietrich almost 9 years ago
- % Done changed from 0 to 50
- Assignee set to Sebastian Dietrich
- Target version set to Future Release - Nice to have
#4 Updated by Sebastian Dietrich almost 9 years ago
- Target version deleted (
Future Release - Nice to have) - % Done changed from 50 to 0
- Assignee deleted (
Sebastian Dietrich)
#5 Updated by Giovanni Manghi over 8 years ago
- Crashes QGIS or corrupts data changed from Yes to No
#6 Updated by Giovanni Manghi over 7 years ago
- Regression? set to No
- Easy fix? set to No
#7 Updated by Giovanni Manghi over 5 years ago
- Resolution set to end of life
- Status changed from Open to Closed
End of life notice: QGIS 2.18 LTR
Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/