Page 1 of 1

Taskbar Icons are Reordered when open from Session Restore

Posted: 2018-06-30, 11:47
by therube
(Windows) Taskbar Icons are Reordered when open from Session Restore

PM 28 (Win7 x64)
(I happen to be using the "portable" version, though I don't see where that should matter.)

New Profile
Set, Home Page to about:blank
Set, When PM Starts to -> Show windows & tabs from last time
Quit
Restart PM

Open 3 additional widows (so now a total of 4)
In each window do a search for the "number" of that window's relative position on the (Windows) taskbar
So window 1, do a search for '1', window 2, do a search for '2' ...
Taskbar icons show '1 at DuckDuckGo', '2 at DuckDuckGo' ...

Quit
Restart PM (should load from Session Restore)

Note the numbering of the windows.
Most likely there are not in 1,2,3,4 order.
1 will be 1.
Others are not deterministic.

Quit
Restart PM

Note the numbering of the windows.
Repeat...

---

PM 27 does not look to have this affliction ;-).
PM 27 always opens; 1,2,3,4.
(Do I have this posted in the correct forum?)

Re: Taskbar Icons are Reordered when open from Session Restore

Posted: 2018-06-30, 12:12
by Moonchild
Welcome to the world of async, where initialization order is not deterministic.

Re: Taskbar Icons are Reordered when open from Session Restore

Posted: 2018-06-30, 12:24
by adesh
Window ordering is ok on my Linux machine (I attempted 3 times), but I found a related major issue. If I close all but the main window of my session and quit, starting Pale Moon later brings up the closed windows, always. Looks like session is not being saved properly. I quit browser using Ctrl+Q, and have given sufficient time (10s) for session files to be saved.

Re: Taskbar Icons are Reordered when open from Session Restore

Posted: 2018-06-30, 13:01
by therube
If I close all but the main window of my session and quit, starting Pale Moon later brings up the closed windows
Confirmed.
I quit browser using Ctrl+Q
Lucky you to still have that.
(I'll take it that that is Linux specific, or at least is not a shortcut on the Windows end.
SeaMonkey still uses it :-).
More recent FF started to use Ctrl+Shift+Q.)

Re: Taskbar Icons are Reordered when open from Session Restore

Posted: 2018-07-02, 17:46
by Toa-Nuva
adesh wrote:If I close all but the main window of my session and quit, starting Pale Moon later brings up the closed windows, always.
I noticed the same thing in Firefox (on a university computer) recently, but I assumed that this is intended. Someone might "quit" the browser by manually closing all windows one after another, and expect all of them to be restored the next time they start the browser. So this might be a feature, not a bug. Though I did find this quite annoying myself (because I specifically closed these windows so they don't show up on next startup).

Re: Taskbar Icons are Reordered when open from Session Restore

Posted: 2018-07-02, 19:29
by Moonchild