When I delete it, PMail comes up with totally empty Folders .. strange .
That is very strange. I tested my fix before posting, including renaming STATE.PMJ and on subsequent start of Pegasus Mail it opened the same folders that were open on previous close (stored on FOLSTATE.PM) but all of their windows had been moved and the sizes changed.
Where does PMAIL get the default's from ? Stored in the code or a template file, it might not be able to access in my multi user installatoin ?
I am multi-user as well. I did my tests in one of my lesser used user accounts, opened with the -i command line option. The open folders populated as expected. I don't know what happened in your case. It may have been a screen refresh anamoly that a restart of Pegasus Mail may have fixed. Regardless, I'm glad you have it fixed.
Regarding the source of the defaults, my sense is that the code opens them Cascaded by default. Only the new mail folder is recorded in STATE.PMJ on creation. The location of any other open folders does not get written until shutdown. Interestingly, when the option to save the desktop state is not enabled, STATE.PMJ and FOLSTATE.PM are updated at shutdown but appear to be ignored on subsequent startup, opening just the new mail folder.
NOTE: I run in List mode. Little of what I have said applies to Preview mode.
[quote="pid:54729, uid:37515"]When I delete it, PMail comes up with totally empty Folders .. strange .[/quote]
That is very strange. I tested my fix before posting, including renaming STATE.PMJ and on subsequent start of Pegasus Mail it opened the same folders that were open on previous close (stored on FOLSTATE.PM) but all of their windows had been moved and the sizes changed.
[quote="pid:54729, uid:37515"]
Where does PMAIL get the default's from ? Stored in the code or a template file, it might not be able to access in my multi user installatoin ?[/quote]
I am multi-user as well. I did my tests in one of my lesser used user accounts, opened with the -i command line option. The open folders populated as expected. I don't know what happened in your case. It may have been a screen refresh anamoly that a restart of Pegasus Mail may have fixed. Regardless, I'm glad you have it fixed.
Regarding the source of the defaults, my sense is that the code opens them Cascaded by default. Only the new mail folder is recorded in STATE.PMJ on creation. The location of any other open folders does not get written until shutdown. Interestingly, when the option to save the desktop state is not enabled, STATE.PMJ and FOLSTATE.PM are updated at shutdown but appear to be ignored on subsequent startup, opening just the new mail folder.
NOTE: I run in List mode. Little of what I have said applies to Preview mode.