Opened 15 years ago

Last modified 13 years ago

#1442 new patch

system specific location of qgis settings

Reported by: borysiasty Owned by: jef
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Build/Install Version: Trunk
Keywords: Cc: borysiasty
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

The qgis QSettings are stored in the system location, while the sqlite & plugin directory is always ~/.qgis. Shouldn't we consider the use of a system-specific location? For example '~\Application Data\qgis' in Windows XP

Attachments (1)

patch_for_1442.diff (412 bytes ) - added by jef 15 years ago.
patch

Download all attachments as: .zip

Change History (13)

comment:1 by borysiasty, 15 years ago

Summary: system specific locationsystem specific location of qgis settings

by jef, 15 years ago

Attachment: patch_for_1442.diff added

patch

comment:2 by jef, 15 years ago

Type: enhancementpatch

comment:3 by jef, 15 years ago

Owner: changed from nobody to jef

comment:4 by mhugent, 15 years ago

Milestone: Version 1.0.0Version 1.0.1

comment:5 by borysiasty, 15 years ago

I believe it's a bad idea to move the database and plugin directory between 1.0.0 and 1.0.1. It will leave the abandoned directory and lost a part of settings. Users will be just confused and annoyed after upgrading to 1.0.1... So I'd rather prefer to force this change right now and save the future consistency.

comment:6 by mhugent, 15 years ago

I think it is even worse to move it so short before release. We don't have time to react if there is any unexpected problem. In my opinion, changes like this should be done before feature freeze.

comment:7 by borysiasty, 14 years ago

Milestone: Version 1.0.3Version 2.0.0

comment:8 by borysiasty, 14 years ago

so better let's wait for the 2.0

comment:9 by kyngchaos, 14 years ago

What about doing this for one of the 1.x releases, maybe 1.6?

Also, add a case for OS X:

#elif defined Q_WS_MAC
    return QDir::homePath() + QString( "/Library/Application Support/QGIS/" );

I'm not sure if there is a variable for that path fragment or full path like for Windows, but as far as I know it's hardwired in the system as a standard folder as is never localized.

Note also that there is now a runtime switch to set the settings dir, r13951, so this patch will have to be changed a bit to fit in with that.

comment:10 by borysiasty, 14 years ago

Milestone: Version 2.0.0Version 1.6.0

comment:11 by kyngchaos, 13 years ago

Milestone: Version 1.6.0Version 1.7.0

Can we get this moving for 1.7?

comment:12 by borysiasty, 13 years ago

Cc: borysiasty added
Note: See TracTickets for help on using tickets.