Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Borys Jurgiel
Dnia środa, 12 czerwca 2013 o 19:21:52 Sandro Santilli napisał(a): > There's actually been QuantumGIS/QGIS, QuantumGIS/QGIS2 and there is > QGIS/QGIS2 now. I guess in the future there could be something else, thus > the idea of letting users copy from somewhere else. Think at QGIS3 time, > someone

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Sandro Santilli
Andrea, I also run both 1.8 and 2.0, not saying it should be forbidden. But I don't really understand why they need to have two different configurations. As a test, I tried symlinking ~/.config/QGIS to ~/.config/QuantumGIS and ~/.config/QGIS/QGIS2.conf to ~/.aconfig/QGIS/QGIS.conf At that point q

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Sandro Santilli
On Wed, Jun 12, 2013 at 07:17:05PM +0200, Borys Jurgiel wrote: > Dnia środa, 12 czerwca 2013 o 18:55:23 Sandro Santilli napisał(a): > > I guess you'll want to do that only when the new config file doesn't > > exist, so it is about to be created. The user should be prompted about > > that, something

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Borys Jurgiel
Dnia środa, 12 czerwca 2013 o 18:55:23 Sandro Santilli napisał(a): > I guess you'll want to do that only when the new config file doesn't > exist, so it is about to be created. The user should be prompted about > that, something like: > > "Configuration file 'XXY' was not found, do you want to st

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Sandro Santilli
On Wed, Jun 12, 2013 at 06:36:22PM +0200, Borys Jurgiel wrote: > Hmmm seems a config importer would be important addition. A post-install > script? A one-time core Python plugin? I mean something as simple as that: > > for key in harcoded_list_of_important_keys_to_import: > if settings1.hasKe

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Andrea Peri
I give my fresh experience. :) I'm running with both qgis (1.8 and 1.9 dev). I need use both because I have an important project created from a group of workers. On qgis 1.8 Now I need to apply it on a qgis 1.9 But because the importing on qgis 1.9 has lost me surely transparency and perhaps so

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Borys Jurgiel
Hmmm seems a config importer would be important addition. A post-install script? A one-time core Python plugin? I mean something as simple as that: for key in harcoded_list_of_important_keys_to_import: if settings1.hasKey( key ): settings2.setValue( settings1.value( key ) ) QMessageBo

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread William Kyngesburye
On Jun 12, 2013, at 9:13 AM, Sandro Santilli wrote: > On Wed, Jun 12, 2013 at 09:07:21AM -0500, William Kyngesburye wrote: >> And --configpath isn't practical on OSX, you don't start apps from the >> command line on OS X, and there is no mechanism (like there is in Windows >> shortcuts) to add s

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Sandro Santilli
On Wed, Jun 12, 2013 at 04:16:22PM +0200, Sandro Santilli wrote: > On Wed, Jun 12, 2013 at 04:00:12PM +0200, Matthias Kuhn wrote: > > On Linux the settings are in ~/.config/QGIS/QGIS2.conf > > > > To get the latest (if you've been running QGIS 2.0 already two weeks > > ago) copy them from ~/.conf

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Sandro Santilli
On Wed, Jun 12, 2013 at 11:57:28PM +1000, Nathan Woodrow wrote: > That doesn't change the issue. The settings will still be moved and reset a > fresh using --configpath. Yes, but it won't be the default. > You would be surprised how many want to run bn I surely want to run 1.8 if 2.0 doesn't kno

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Sandro Santilli
On Wed, Jun 12, 2013 at 04:00:12PM +0200, Matthias Kuhn wrote: > On Linux the settings are in ~/.config/QGIS/QGIS2.conf > > To get the latest (if you've been running QGIS 2.0 already two weeks > ago) copy them from ~/.config/QuantumGIS/QGIS2.conf > If you have not been using master so far (I know

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Sandro Santilli
On Wed, Jun 12, 2013 at 09:07:21AM -0500, William Kyngesburye wrote: > And --configpath isn't practical on OSX, you don't start apps from the > command line on OS X, and there is no mechanism (like there is in Windows > shortcuts) to add switches to an app startup. This sounds like an invalid ar

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread William Kyngesburye
This reminds me, if it's not too late, can we get something done with http://hub.qgis.org/issues/7192 (original http://hub.qgis.org/issues/1442 that I could not reopen)? I really wanted to get the qgis2 folder moved on OS X and Windows for the 2.0 release. There is a patch for Windows in the o

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread William Kyngesburye
And --configpath isn't practical on OSX, you don't start apps from the command line on OS X, and there is no mechanism (like there is in Windows shortcuts) to add switches to an app startup. On Jun 12, 2013, at 8:57 AM, Nathan Woodrow wrote: > That doesn't change the issue. The settings will st

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Matthias Kuhn
On Linux the settings are in ~/.config/QGIS/QGIS2.conf To get the latest (if you've been running QGIS 2.0 already two weeks ago) copy them from ~/.config/QuantumGIS/QGIS2.conf If you have not been using master so far (I know that you did, but maybe others, and especially users upgrading once sta

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Nathan Woodrow
That doesn't change the issue. The settings will still be moved and reset a fresh using --configpath. You would be surprised how many want to run bn - Nathan On Wed, Jun 12, 2013 at 11:53 PM, Sandro Santilli wrote: > On Wed, Jun 12, 2013 at 11:39:25PM +1000, Nathan Woodrow wrote: > > > 2) To

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Sandro Santilli
On Wed, Jun 12, 2013 at 11:39:25PM +1000, Nathan Woodrow wrote: > 2) To allow 1.8 and 2.0 to run on the same machine without overriding a > persons 1.8 setup. Isn't there a commandline switch to use a custom setup, for those that are concerned about that ? How many people will want to run both 1.

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Nathan Woodrow
This is to allow the running of 1.8 and 2.0. On windows, because I don't know where it is in linux, the settings are stored in: For 1.8 HKEY_CURRENT_USER\Software\QuantumGIS\QGIS For 2.0: HKEY_CURRENT_USER\Software\QGIS\QGIS2 1) For the re-banding we did 2) To allow 1.8 and 2.0 to run on the sa

Re: [Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Werner Macho
Hi! To my knowledge this is only for having 1.x and 2.x versions running parallel on the same computer .. (If there are any new issues with the new version or you need the old because some plugins you really need are not updated) But I think it will be possible to copy those seetings over from the

[Qgis-developer] configuration lost when running 2.0

2013-06-12 Thread Sandro Santilli
I was surprised by not finding my postgresql connections in the pull-down menu when starting qgis-2.0 (master) from the build dir. I'm pretty sure it used to work last time I'v built it. NathanW told me this is due to a change in the configuration path, from .qgis to .qgis2, and I'm wondering why