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.

Moderator: satrow

User avatar
therube
Keeps coming back
Keeps coming back
Posts: 875
Joined: Fri, 08 Jun 2018, 17:02

Taskbar Icons are Reordered when open from Session Restore

Unread postby therube » Sat, 30 Jun 2018, 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 Sat, 30 Jun 2018, 11:57, edited 4 times in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23040
Joined: Sun, 28 Aug 2011, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Taskbar Icons are Reordered when open from Session Restore

Unread postby Moonchild » Sat, 30 Jun 2018, 12:12

Welcome to the world of async, where initialization order is not deterministic.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
adesh
Astronaut
Astronaut
Posts: 592
Joined: Tue, 06 Jun 2017, 07:38

Re: Taskbar Icons are Reordered when open from Session Restore

Unread postby adesh » Sat, 30 Jun 2018, 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 Sat, 30 Jun 2018, 12:27, edited 2 times in total.

User avatar
therube
Keeps coming back
Keeps coming back
Posts: 875
Joined: Fri, 08 Jun 2018, 17:02

Re: Taskbar Icons are Reordered when open from Session Restore

Unread postby therube » Sat, 30 Jun 2018, 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: 179
Joined: Thu, 04 Jun 2015, 18:12

Re: Taskbar Icons are Reordered when open from Session Restore

Unread postby Toa-Nuva » Mon, 02 Jul 2018, 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 Mon, 02 Jul 2018, 17:48, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23040
Joined: Sun, 28 Aug 2011, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Taskbar Icons are Reordered when open from Session Restore

Unread postby Moonchild » Mon, 02 Jul 2018, 19:29

Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne


Return to “Pale Moon UXP alpha/beta”

Who is online

Users browsing this forum: No registered users and 0 guests