WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
52278
A more suitable place for webkitgtk's database location on Windows
https://bugs.webkit.org/show_bug.cgi?id=52278
Summary
A more suitable place for webkitgtk's database location on Windows
Bakhtiar Hasmanan
Reported
2011-01-11 23:36:52 PST
Just a suggestion, WebkitGTK by default using g_get_user_data_dir() for storing sqlite database file. In Windows this path mapped into My Documents folder not Application Data folder. It would be nice to use APPDATA environment variable using g_getenv() instead for Windows.
Attachments
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2011-01-12 12:53:05 PST
According to the documentation for g_get_user_data_dir, GLib uses CSIDL_LOCAL_APPDATA on Windows. Documentation for the CSIDL_Foo constants is here
http://msdn.microsoft.com/en-us/library/bb762494(v=vs.85).aspx
. If this location isn't consistent with what a Windows user expects, wouldn't it make more sense to file this bug against GLib?
Bakhtiar Hasmanan
Comment 2
2011-01-12 15:57:16 PST
(In reply to
comment #1
)
> According to the documentation for g_get_user_data_dir, GLib uses CSIDL_LOCAL_APPDATA on Windows. Documentation for the CSIDL_Foo constants is here
http://msdn.microsoft.com/en-us/library/bb762494(v=vs.85).aspx
. If this location isn't consistent with what a Windows user expects, wouldn't it make more sense to file this bug against GLib?
You're right, that's strange it should be correct then. I'll dig this more and report to glib.. I think this report can be closed
Martin Robinson
Comment 3
2011-01-12 16:12:48 PST
(In reply to
comment #2
)
> (In reply to
comment #1
) > > According to the documentation for g_get_user_data_dir, GLib uses CSIDL_LOCAL_APPDATA on Windows. Documentation for the CSIDL_Foo constants is here
http://msdn.microsoft.com/en-us/library/bb762494(v=vs.85).aspx
. If this location isn't consistent with what a Windows user expects, wouldn't it make more sense to file this bug against GLib? > > You're right, that's strange it should be correct then. > I'll dig this more and report to glib.. I think this report can be closed
Thank you for reporting the issue! If you find that this is indeed a problem with WebKitGTK+ feel free to re-open this bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug