Cancelling "Save and Exit" in Pcbnew can exit without save.

Bug #1446385 reported by Ed Johns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

Using pcbnew on Ubuntu 14.04:

1. Open pcbnew directly without starting kicad.
2. Create a circular board outline.
3. Select File->Quit
4. Select "Save and Exit"
5. Cancel the "Save Board File As" dialog.

Pcbnew closes without saving the file.

Version information follows:

Application: pcbnew
Version: (2015-04-14 BZR 5600)-product Release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.8.2,wx containers,compatible with 2.8)
Platform: Linux 3.13.0-49-generic x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Ed Johns (ejohns)
description: updated
Revision history for this message
Nick Østergaard (nickoe) wrote :

I can confirm this behaivour, but what would you expect to happen?

Revision history for this message
Ed Johns (ejohns) wrote :

Nick,

I would expect it to abort the exit and return to the pcbnew window. Users hit cancel with the expectation that they are opting not to do something, so their data should be safe. In this case, it isn't. An alternative is another confirmation dialog, but that would be annoying. :-)

Thanks.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

The patch committed in r5822 fixed this bug.

Changed in kicad:
status: New → Fix Committed
Jon Neal (reportingsjr)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.