View Issue Details

IDProjectCategoryView StatusLast Update
0001925FreeCADFeaturepublic2015-04-11 11:20
Reporterwvmarle Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.14 
Target Version0.15 
Summary0001925: Preferences not kept well
DescriptionWhen preferences are set, it is apparently not saved until the software is exited normally, so in case of a crash or a hang after which you have to force close the application, a change in preferences is reset to the old one.

I ran into this issue with the Part Design > Shape View > Maximium deviation... setting; haven't tested with others but expect it to be the same.

Solution: store preferences the moment they are changed, or the moment the Preferences window is closed, not when the application is closed.
Steps To ReproduceChange a preference in the Edit>Preferences window.
Use software until it crashes or until it hangs and do a force close, or simply kill the application forcefully.
Restart application.
Preference change is not kept.

Change again, now close the application normally, and the preference is stored.
Additional InformationOS: Linux Mint 17 Qiana
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4484 (Git)
Branch: master
Hash: f72c802f5daa378298ffbfc3f3a17ec2d35c1816
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
TagsNo tags attached.
FreeCAD Information

Relationships

has duplicate 0002046 closedwmayer User preferences do not survive a program crash 

Activities

quick61

2015-01-23 02:16

reporter   ~0005688

Having a "Save" button as option in Preferences, or have the Apply button write out the settings would be a good option here.

Related Changesets

FreeCAD: master 39aa178b

2015-01-23 19:41:31

wmayer

Details Diff
+ fixes 0001925: Preferences not kept well Affected Issues
0001925
mod - src/Gui/DlgPreferencesImp.cpp Diff File

Issue History

Date Modified Username Field Change
2015-01-17 13:58 wvmarle New Issue
2015-01-22 22:05 wmayer Category Bug => Feature
2015-01-22 22:05 wmayer Target Version => 0.16
2015-01-23 02:16 quick61 Note Added: 0005688
2015-01-23 19:09 wmayer Changeset attached => FreeCAD Master master 39aa178b
2015-01-23 19:09 wmayer Assigned To => wmayer
2015-01-23 19:09 wmayer Status new => closed
2015-01-23 19:09 wmayer Resolution open => fixed
2015-04-10 10:12 wmayer Relationship added has duplicate 0002046
2015-04-11 11:20 wmayer Target Version 0.16 => 0.15