#963 closed bug (fixed)
The project Save? dialog does not appear when expected.
Reported by: | smizuno | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | Project Loading / Saving | Version: | Trunk |
Keywords: | save dialog | Cc: | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
A project with layers loaded sometimes doesn't get the Save dialog on closing QGIS/new file/open file actions
The Ask to save project changes... option is enabled.
One sequence of steps that does cause the Save? dialog to appear:
- with any project (file or new) click one of the Zoom buttons (don't need to actually do any zooming - it is the button click action setting a "dirty" flag.)
- close QGIS
Most other actions on the project, like adding a layer, don't cause the Save? dialog to appear.
This occurs in HEAD and back to 0.9.0, and on Windows and Linux.
When I noticed this I decided to write down exactly what I was expecting so I could test each scenario more intelligently than just randomly clicking buttons and such.
I poked around in the Developers area of the wiki and couldn't find anything outlining expected behavior on this topic. Perhaps I am looking in the wrong place. The user manual doesn't really address this, just a mention of the Ask to save project changes option.
So, I have attached my list of expectations for the Save? dialog to appear (or not) Comments?
Attachments (1)
Change History (9)
by , 15 years ago
Attachment: | QGIS-expected behavior - Save dialog.txt added |
---|
comment:1 by , 15 years ago
Milestone: | → Version 0.9.2 |
---|
comment:2 by , 14 years ago
I confirm: if I remove a layer from a project, I can close QGIS without a question
comment:3 by , 14 years ago
I cannot reproduce it:
1) new project 2) add a shapefile 3) zoom
closing QGIS asks me if I want to save...
comment:4 by , 14 years ago
I can confirm the defect: if you add a layer to an existing project, you are not asked to save it when closing.
comment:5 by , 14 years ago
Milestone: | Version 1.0.3 → Version 1.4.0 |
---|---|
Type: | defect → bug |
Tested now on r12279: adding a layer now seems to work. If you try close qgis it ask you if you want to save the changes.
Removing a layer still doesn't work as expected: you can remove a layer from a just saved project and then close qgis. No question will pop up asking to save the project.
comment:7 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:8 by , 13 years ago
If move disabled layer in TOC to new place then The project Save? dialog does not appear.
expectations for the Save? dialog to appear