Pale moon lost last session

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
bjakja

Pale moon lost last session

Post by bjakja » 2016-07-30, 11:31

I have this issue third time, opened PM and all tabs from last session vanished. :shock:
Is there any way to fix this?

User avatar
Moonchild
Project founder
Project founder
Posts: 39722
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Pale moon lost last session

Post by Moonchild » 2016-07-30, 13:41

Make sure you exit the browser properly with Pale Moon -> Exit or File -> Exit to avoid this in case the process doesn't shut down properly (e.g. because of extensions not releasing or the likes when you just close the window).
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

bjakja

Re: Pale moon lost last session

Post by bjakja » 2016-07-30, 18:34

Which means that X button on window not close this browser properly? I lost session not after terminate from task manager but after normally close x button. Even when I terminate process a few times the session was still loaded properly.

dark_moon

Re: Pale moon lost last session

Post by dark_moon » 2016-07-30, 19:36

The closing button close the browser fine, but if for example a antivirus or other tools make problem you get this trouble.

User avatar
Moonchild
Project founder
Project founder
Posts: 39722
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Pale moon lost last session

Post by Moonchild » 2016-07-30, 22:59

Pressing the X on a browser window tells the browser to close that window. Pale Moon can have multiple browsing windows open at the same time (in addition to a download window, library window, etc.).
In many cases, pressing the X on the last open window equals closing the application, but this may not always be the case if the process is prevented from shutting down (as stated by e.g. an extension or antivirus or something else that prevents a shutdown of the browser process). If the application isn't shut down and you attempt to launch it again, it will open a new window (by design) but obviously that window is not a "new browser process" and as such won't have your session stored in it.

I hope this explains the difference between Exit and closing a window. They are not necessarily the same for multi-window enabled applications.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

SGvagon

Re: Pale moon lost last session

Post by SGvagon » 2016-08-06, 12:24

Look for last closed windows (Palemoon button upper left - History - Last closed windows) . There is maybe your last session :) .