View Issue Details

IDProjectCategoryView StatusLast Update
0004515FreeCADFeaturepublic2021-02-06 06:49
Reporterqwerty_f Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status newResolutionopen 
Target Version0.20 
Summary0004515: Preferences folder misused in Mac version
DescriptionAs discussed in this forum topic I like to suggest making fixes for some mis-uses. Though they currently do not harm, they might be cause for harm in the future.

The Preferences folder is not being used correctly. ~/Library/Prefrences is meant to store .plist files. The naming for the .plist should be according to a reverse domain name order. So like Apple uses com.apple.<application>.plist it should be org.freecadweb.freecad.plist rather than FreeCAD.plist. Most applications have adopted this convention.

The current FreeCAD sub-folder shall be placed in ~/Library/Application Support. Though Apple uses the reverse domain notation here as well, most applications just use the application or company name. So it would be ok to just move the FreeCAD folder from Preferences to Application Support.

As a migration strategy it should be ok to just copy the folder during some installation phase or initial start and leave the Preferences/FreeCAD as it is, probably placing a deprecation note as text file inside.
Steps To Reproducedoes not apply
Additional Informationnone
TagsmacOS, preferences
FreeCAD InformationOS: macOS 11.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.14555 (Git shallow)
Build type: Release
Branch: master
Hash: d3d34fc9d1622d842a3a07b057e53d2a9d4e0a8c
Python version: 3.9.0
Qt version: 5.15.1
Coin version: 4.0.0
OCC version: 7.5.0
Locale: German/Germany (de_DE)

Same situation in
OS: macOS 10.15
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23323 (Git)
Build type: Release
Branch: master
Hash: 512d5c6141aec52b6eecc67370336a28fde862a6
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-12-19 08:24 qwerty_f New Issue
2020-12-19 08:24 qwerty_f Tag Attached: macOS
2020-12-19 08:24 qwerty_f Tag Attached: preferences
2020-12-19 09:46 chrisb Description Updated View Revisions
2020-12-19 09:46 chrisb FreeCAD Information OS: macOS 11.1 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.14555 (Git shallow) Build type: Release Branch: master Hash: d3d34fc9d1622d842a3a07b057e53d2a9d4e0a8c Python version: 3.9.0 Qt version: 5.15.1 Coin version: 4.0.... => OS: macOS 11.1 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.14555 (Git shallow) Build type: Release Branch: master Hash: d3d34fc9d1622d842a3a07b057e53d2a9d4e0a8c Python version: 3.9.0 Qt version: 5.15.1 Coin version: 4.0....
2021-02-06 06:49 abdullah Target Version => 0.20