Taskbar Icons are Reordered when open from Session Restore

This board is for discussions, bug reports, etc. for pre-releases of the v28 milestone building on UXP.
User avatar
therube
Board Warrior
Board Warrior
Posts: 1650
Joined: 2018-06-08, 17:02

Taskbar Icons are Reordered when open from Session Restore

Unread post by therube » 2018-06-30, 11:47

(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?)
Last edited by therube on 2018-06-30, 11:57, edited 4 times in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Taskbar Icons are Reordered when open from Session Restore

Unread post by Moonchild » 2018-06-30, 12:12

Welcome to the world of async, where initialization order is not deterministic.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Taskbar Icons are Reordered when open from Session Restore

Unread post by adesh » 2018-06-30, 12:24

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.
Last edited by adesh on 2018-06-30, 12:27, edited 2 times in total.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1650
Joined: 2018-06-08, 17:02

Re: Taskbar Icons are Reordered when open from Session Restore

Unread post by therube » 2018-06-30, 13:01

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.)

Toa-Nuva
Fanatic
Fanatic
Posts: 199
Joined: 2015-06-04, 18:12

Re: Taskbar Icons are Reordered when open from Session Restore

Unread post by Toa-Nuva » 2018-07-02, 17:46

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).
Last edited by Toa-Nuva on 2018-07-02, 17:48, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Taskbar Icons are Reordered when open from Session Restore

Unread post by Moonchild » 2018-07-02, 19:29

"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked