Author Topic: How can I ensure my default settings?  (Read 7839 times)

Offline gvanhau

  • PixInsight Old Hand
  • ****
  • Posts: 345
How can I ensure my default settings?
« on: 2013 March 19 16:43:36 »
Hello

Is there a way to ensure that every time I open PixInsight it restores the deffault settings that I choose?
For instance I want that my raw DSLR images are opened without debayering.

What I do is opening format explorer,  choose DSLR Raw then I edit preferences end select create RAW CFA.
This works ok for some sessions but for no apparent reason Pixi resets this at some point and then again  debayers the image when opening.

Regards
Geert
Geert Vanhauwaert

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: How can I ensure my default settings?
« Reply #1 on: 2013 March 19 16:56:34 »
Maybe it is reset during an update?
Philip de Louraille

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Re: How can I ensure my default settings?
« Reply #2 on: 2013 March 19 17:15:08 »
Hi Geert,

Can't say I have an answer, but I have found that PI goes slightly dumb if I've opened a second session. It forgets some things.

Once I recognize my error, I shut down the second session and all is well. :)

Hope this helps.

Mark

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: How can I ensure my default settings?
« Reply #3 on: 2013 March 20 00:54:29 »
Quote
Is there a way to ensure that every time I open PixInsight it restores the deffault settings that I choose?

PixInsight restores all settings upon application restart. This includes, among other things: global preferences, color management settings, readout options, process preferences, file format preferences, script editor preferences, recent file lists, file caches, and the screen locations of all tool windows. This happens in a completely automatic way.

Quote
I have found that PI goes slightly dumb if I've opened a second session.

PixInsight supports up to 256 instances of the core application running simultaneously, each one with its own independent settings. If you open a second instance, it knows nothing about the settings of the first one. This is by design.

Multiple PI instances can share data in quite sophisticated ways through interprocess communication (IPC) techniques. This is already developed in PI 1.8, but still not available to the user (it will be during the 1.8 cycle).
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: How can I ensure my default settings?
« Reply #4 on: 2013 March 20 01:46:02 »
....
Quote
I have found that PI goes slightly dumb if I've opened a second session.

PixInsight supports up to 256 instances of the core application running simultaneously, each one with its own independent settings. If you open a second instance, it knows nothing about the settings of the first one. This is by design.....

I was really hoping that this was gone with 1.8. I consider this a bug, not a feature, since it causes all kinds of surprises, not only to the novice users... I dont know of any other application that uses new sets of defaults for additional instances.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: How can I ensure my default settings?
« Reply #5 on: 2013 March 20 01:51:36 »
Sometimes I find that on opening PixInsight, it has restored my favourites list to the default, or that some scripts no longer appear in the list of scripts.  No idea why this happens-- there doesn't seem to be a clear pattern.
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline FunTomas

  • PixInsight Addict
  • ***
  • Posts: 135
    • Astrofoto.sk
Re: How can I ensure my default settings?
« Reply #6 on: 2013 March 20 02:03:41 »
I have similar problem described here (http://pixinsight.com/forum/index.php?topic=5304.0). Yesterday I run PixInsight and removed zoom toolbar.  Today is toolbar back. This is repeatable feature. I didn't start secondary session and I didn't update PixInsight from yesterday.

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Re: How can I ensure my default settings?
« Reply #7 on: 2013 March 20 17:26:09 »
Quote

Quote
I have found that PI goes slightly dumb if I've opened a second session.

PixInsight supports up to 256 instances of the core application running simultaneously, each one with its own independent settings. If you open a second instance, it knows nothing about the settings of the first one. This is by design.

Multiple PI instances can share data in quite sophisticated ways through interprocess communication (IPC) techniques. This is already developed in PI 1.8, but still not available to the user (it will be during the 1.8 cycle).

Thanks for the clarification, Juan.  I had recognized the behavior, just didn't know why.
And I meant no disrespect with the "dumb" comment. PI is a great, and my only, processing software.

Mark

Offline gvanhau

  • PixInsight Old Hand
  • ****
  • Posts: 345
Re: How can I ensure my default settings?
« Reply #8 on: 2013 March 21 11:16:01 »
PixInsight supports up to 256 instances of the core application running simultaneously, each one with its own independent settings. If you open a second instance, it knows nothing about the settings of the first one. This is by design.

Multiple PI instances can share data in quite sophisticated ways through interprocess communication (IPC) techniques. This is already developed in PI 1.8, but still not available to the user (it will be during the 1.8 cycle).
If so, is there a way that we can store our default settings in a file that we can then load during startup?

Regards
Geert
Geert Vanhauwaert

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Re: How can I ensure my default settings?
« Reply #9 on: 2013 March 22 08:05:52 »
After thinking of it my problem listed at
Code: [Select]
http://pixinsight.com/forum/index.php?topic=5226.0may be linked to your problem. I may have restarted PI too quickly and it loose the preferences in that case. May be.  The whole rules of preferences and multiple instances and default preferences is too complicated for mere mortals.
I tried to add a command in the startup.scm file to setup preferences, but this had no effect. No clue why.
I wait until PCL is out so maybe I can understand more from the preference setting source code.
-- bitli

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: How can I ensure my default settings?
« Reply #10 on: 2013 March 23 09:39:54 »
Hi Geert, I experimented a little more with RC4 in Linux, and all setting were correctly restored with my previous modifications.

As you can see in the screenshot, I have added all tool bars, changed settings in global preferences, and also I have added more Favorites in Process Explorer and have changed the default raw settings.
I did the modifications in three instances of RC4 and they remain there after restart the computer



The fourth instance has the defalut values as I did not do any modification in there.



I really do not know if it could be something related to windows.

Now, it is important to know if you work with several instances of the same version or differents versions that PI will remember the confirguration by instance, not by version.
Example, if I open PI RC4 (1) and then open PI RC3 (2), both version will have my special configuration, because I have defined three instances with that configuration. However, if I open PI RC4 (1), PI RC4 (2), PI RC4 (3) and then open PI RC3 (4), the last opend instances will show the default values an not my configurations.




Saludos. Alejandro.

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Re: How can I ensure my default settings?
« Reply #11 on: 2013 March 25 07:37:17 »
Here's a bit of a followup on this.  I'm currently running RC4, although I believe the behavior was the same in v17.
I open a saved customized process icon of Dynamic Background extraction.  Double clicking the icon brings up the DBE window and applies the tick marks to the image.  If I close the DBE window (it happens), PI will ask if I want to, and will then clear the ticks from the image being worked on.  But If I double click on the process icon (still on the screen), the tick marks will be applied on the image.
At this point I cannot cancel nor close the original image being DBE'd.  The only out I've found is to close PI entirely.  And at least in some cases, PI comes back upon restart as if it is in a second instance.  My only solution then is to reboot the computer.
Hope this makes sense.
Mark

Offline FunTomas

  • PixInsight Addict
  • ***
  • Posts: 135
    • Astrofoto.sk
Re: How can I ensure my default settings?
« Reply #12 on: 2013 March 25 12:26:51 »
Hi Alejandro. May be the problem with default settings occurs only on windows. I use PI RC4 on 32bit Win 7 OS.  My problem is repeatable. My adrenaline level is raising up when I need restore my preferred tool bar settings. I never start more than one PI session. Only difference is in using two displays at work and one display at home. Where is the file for storing PI settings?

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: How can I ensure my default settings?
« Reply #13 on: 2013 March 25 15:23:03 »
Here's a bit of a followup on this.  I'm currently running RC4, although I believe the behavior was the same in v17.
I open a saved customized process icon of Dynamic Background extraction.  Double clicking the icon brings up the DBE window and applies the tick marks to the image.  If I close the DBE window (it happens), PI will ask if I want to, and will then clear the ticks from the image being worked on.  But If I double click on the process icon (still on the screen), the tick marks will be applied on the image.
At this point I cannot cancel nor close the original image being DBE'd.  The only out I've found is to close PI entirely.  And at least in some cases, PI comes back upon restart as if it is in a second instance.  My only solution then is to reboot the computer.
Hope this makes sense.
Mark
Hi Mark, no way to reproduce what you have described on linux.
Here appears the typical warning "The DynamicBackgroundExtraction interface is already active in dynamic mode"
Why don't you try opening your customized icon, and creating a new instance and saving it again.
Maybe saving it with the new version solve the problem. 

Hi Alejandro. May be the problem with default settings occurs only on windows. I use PI RC4 on 32bit Win 7 OS.  My problem is repeatable. My adrenaline level is raising up when I need restore my preferred tool bar settings. I never start more than one PI session. Only difference is in using two displays at work and one display at home. Where is the file for storing PI settings?
Hi Tomáš, this kind of things that should not happen but does, are undesirable, even more when can't be determinated why it happens.
For testing and understand what could be happening why don't you configure two instances of PI with the same settings and if you lost the configuration in the first one, open the second and see if it is ok. 

Saludos, Alejandro

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Re: How can I ensure my default settings?
« Reply #14 on: 2013 March 26 05:04:19 »

Hi Mark, no way to reproduce what you have described on linux.
Here appears the typical warning "The DynamicBackgroundExtraction interface is already active in dynamic mode"
Why don't you try opening your customized icon, and creating a new instance and saving it again.
Maybe saving it with the new version solve the problem. 

Saludos, Alejandro

Hi Alejandro,

I started PI anew and opened an image-in-process, and went straight to DBE.  In this case the DBE window would open each time I executed the customized process icon after I had previously closed the window.  And this is the expected behavior. So, different from yesterday.
I suspect that my problem occurs after I have been thrashing around in PI for some time, processing.  When it occurs again, I will try your suggestion and let you know.

Thanks,

Mark