GetAppConfigDir delivers uncorrect path on Mac OS
Original Reporter info from Mantis: jwdietrich @jwdietrich21
-
Reporter name: Johannes W. Dietrich
Original Reporter info from Mantis: jwdietrich @jwdietrich21
- Reporter name: Johannes W. Dietrich
Description:
On Mac OS X (Carbon widgetset, but probably not restricted to that) GetAppConfigDir delivers a wrong path.
The function returns the directory ~/.config/ApplicationName that is hard to find for users on Mac OS X 10.4 as it is hidden by default. Moreover it is not compatible with Apple's user interface guidelines. Even more importantly, on modern versions of Mac OS X (at least 10.6 and up) this directory is write protected, therefore preferences can not be stored.
The correct path would be ~/Library/Preferences/.
Steps to reproduce:
This problem is reproducible permanently.
Mantis conversion info:
- Mantis ID: 20706
- OS: Mac OS X
- OS Build: 10.4.11
- Platform: Macintosh
- Version: 2.4.4
- Monitored by: » tintinux (tintinux), » @jwdietrich21 (Johannes W. Dietrich), » Vincent (Vincent Snijders), » @trevoz (Trevor Roydhouse)