After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 620709 - g_get_system_config_dirs() returns the application data on windows
g_get_system_config_dirs() returns the application data on windows
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: win32
2.25.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-win32 maintainers
Depends on:
Blocks: 659349
 
 
Reported: 2010-06-06 04:02 UTC by Javier Jardón (IRC: jjardon)
Modified: 2018-05-24 12:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Javier Jardón (IRC: jjardon) 2010-06-06 04:02:25 UTC
g_get_system_config_dirs() returns CSIDL_COMMON_APPDATA, from msdn documentation:

"On Windows is the directory that contains application data for all users.
 A typical path is C:\Documents and Settings\All Users\Application Data.
 This folder is used for application data that is not user specific.
 For example, an application can store a spell-check dictionary, a database
 of clip art, or a log file in the CSIDL_COMMON_APPDATA folder.
 This information will not roam and is available to anyone using the computer."

Is this intentional?
Comment 1 Tor Lillqvist 2010-06-08 11:53:09 UTC
It was the best quick guess back when implemented.
Comment 2 Javier Jardón (IRC: jjardon) 2010-06-08 14:12:46 UTC
Hello Tor, so, we currently have:

g_get_system_config_dirs(): CSIDL_COMMON_APPDATA

g_get_system_data_dirs(): CSIDL_COMMON_APPDATA and CSIDL_COMMON_DOCUMENTS

I suposse that there is not dictinction between a config dir and a data dir in a win machine, so feel free to close the bug if you want.
Comment 3 GNOME Infrastructure Team 2018-05-24 12:21:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/308.