Author Topic: Workspaces not reopened as saved  (Read 2833 times)

Offline aworonow

  • PixInsight Addict
  • ***
  • Posts: 258
    • Faint Light Photography
Workspaces not reopened as saved
« on: 2017 June 07 06:09:53 »
I was working on one project and renamed all the workspaces according to that project's need, and added a couple too. I completed the project, and saved it. Then I began a new project, and it had the same workspaces from the first when I first started PI...no big deal. Many of their names were irrelevant, however, so I renamed them and eventually saved that project also.
Then I went back and reopened the first one, and it had all the uniquely named workspaces from not only the original project that I saved, but also from the following one. That does not make sense, and it raises a level of fear in me. If I then delete the unused and irrelevant workspaces from the first project, where they were never created by me in the first place, will I destroy them in the second as well?
Am I not saving projects correctly? Is there a flag to make save and load only workspaces created within a given project? Sure would seem useful if there were!

Alex W

Offline Niall Saunders

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1456
  • We have cookies? Where ?
Re: Workspaces not reopened as saved
« Reply #1 on: 2017 June 07 06:55:31 »
Hi Alex,

This is the way I am thinking about your issue:

You started with the original 4 PixInsight Workspaces - because that is all PI knew about when the program started up.

You renamed these four and added another two - and then saved the project. However, PixInsight still knew about all six workspaces. Just because you had saved the project and closed PI didn't make PI 'forget' about the workspaces that you created.

So, when you restarted PI, it still knew about the six workspaces that had been created. You renamed these, and you might have even deleted one (leaving five, for example). Now, even if you 'abandoned' that processing session (i.e. you saved nothing) it doesn't affect PI - which still knows about these fibe workspaces.

Then, you re-visit your original, saved, project - which contains six workspaces, all of which have to be included within the PixInsight framework. This means that, if the six original names are all different to the five current names, you would now have eleven workspaces (five of which are effectivelyredundant). No big deal though - just delete the five unused workspaces and move on.

The easiest solution I can think of - if specific workspaces, unique to a particular project, are useful to you and the way you work - is to create a single workspace (called 'default', for example) that you always keep in the PI framework, and don't ever rename thereafter. That way, it will always be saved with any project that you save, and it will always be there if you simply open up PixInsight with no ongoing project. All that you have to then think about doing is to delete all the workspaces, except your 'default' workspace, when you are at the end of a PI session and want to close it down.

Hope this makes sense and that it helps in some way.
Cheers,
Niall Saunders
Clinterty Observatories
Aberdeen, UK

Altair Astro GSO 10" f/8 Ritchey Chrétien CF OTA on EQ8 mount with homebrew 3D Balance and Pier
Moonfish ED80 APO & Celestron Omni XLT 120
QHY10 CCD & QHY5L-II Colour
9mm TS-OAG and Meade DSI-IIC

Offline aworonow

  • PixInsight Addict
  • ***
  • Posts: 258
    • Faint Light Photography
Re: Workspaces not reopened as saved
« Reply #2 on: 2017 June 07 11:37:53 »
Niall, thanks. I see the flow of the workspace logic now. I was not expecting that 'persistence' was seen as a good thing...perhaps it is.

Alex

Offline Niall Saunders

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1456
  • We have cookies? Where ?
Re: Workspaces not reopened as saved
« Reply #3 on: 2017 June 07 11:40:50 »
Alex,

It is neither 'good' nor 'bad' - it just 'is' !!

But it should hopefully be more manageable for you now.
Cheers,
Niall Saunders
Clinterty Observatories
Aberdeen, UK

Altair Astro GSO 10" f/8 Ritchey Chrétien CF OTA on EQ8 mount with homebrew 3D Balance and Pier
Moonfish ED80 APO & Celestron Omni XLT 120
QHY10 CCD & QHY5L-II Colour
9mm TS-OAG and Meade DSI-IIC