[5] Taskbar Icons are Reordered opening from Session Restore

Bug reports and enhancement requests
Post Reply
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

[5] Taskbar Icons are Reordered opening from Session Restore

Post by therube »

Like, Window Positions Change when FlashGot installed?, I believe similar now occurs with NoScript 5.1.0rc1 installed.

SeaMonkey 2.49.1 x64
Windows 7 x64
NoScript 5.1.0rc1

Add-ons Manager - Version Number 1.3.1
AutoCopy Addon 1.0
Chatzilla 0.9.9.3
Copy URL+ 1.3.2
DOM 2.0.17.0
DownThemAll 3.0.8
Fetch Text URL (fix version) 2.0.3
FlashGot 1.5.6.14rc1
Nuke Anything Enhanced 1.1
uBlock Origin 1.13.8
Yahoo Mail Hide Ad Panel 2.60
Lightning (disabled)
Zoomr (disabled)


This did (does) not occur with NoScript 5.0.10rc4 installed.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 Lightning/5.4
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Taskbar Icons are Reordered when open from Session Resto

Post by therube »

There is something going on.
Just what, I haven't put my finger on ... yet.

Coincidence that on install of 5.1.0rc1 it happened?
Perhaps.

IOW the issue may have existed, but had been dormant, not an issue (for a long time now)?
And for whatever reason 5.1.0rc1 happened to trigger it - for whatever reason.


I'll have to look further --- later.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 Lightning/5.4
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Taskbar Icons are Reordered when open from Session Resto

Post by therube »

FF 56.0 is also affected by this.

Until just now, I didn't think that it was.
(Or it could have been & hadn't just been paying enough attention to the FF end.)


But now I'm certain it is affected (at least at the moment).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 Lightning/5.4
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Taskbar Icons are Reordered when open from Session Resto

Post by therube »

In my "regular" FF 57 Profile, this issue has persisted from day 1.
This 57 Profile would have been a continuation of the existing Profile that was used for FF 56 (or earlier).

A couple weeks back, I created a new FF 57 Profile, opened a dozen windows, added various extensions, removed some, put some back, & over time, opened, closed, opened, closed... (& otherwise have not really done much of anything with it, browsing wise) & that Profile has remained in the correct order.


SeaMonkey Profiles, continuations of existing Profiles from ages ago (& with NoScript 5 rather then 10), all still exhibit this behavior. (NoScript 2 does not.)


With FF 58, with my "regular" FF 57 Profile, this issue might have abated.
Certainly not totally sure, but with the last couple start ups, at the least, the last FF window has maintained its position (as being the last, where in the past it would not have).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.2
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Taskbar Icons are Reordered when open from Session Resto

Post by therube »

Issue is there.
SeaMonkey (& NoScript 5) & FF 57 (& NoScript 10) are affected.

For whatever reason, the issue "resolved" itself with FF 58 (& NoScript 10).

Issue persists in SeaMonkey (& NoScript 5).
Issue did not exist (except long time ago) in SeaMonkey & NoScript 2.


AutoCopy 2 is another extension that cause the same situation.

There are alternatives for AutoCopy, but not for NoScript.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 SeaMonkey/2.49.2
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Taskbar Icons are Reordered when open from Session Resto

Post by therube »

(Tested - briefly...)

noscript-5.1.8.5rc2.xpi

Neutered "webextensions".

Code: Select all

delete  /META-INF/
delete  /webextensions/
delete  bootstrap.js
modify  install.rdf
---> delete <em:hasEmbeddedWebExtension>true</em:hasEmbeddedWebExtension>
---> delete <em:bootstrap>true</em:bootstrap>
With that, testing briefly, briefly, issue seems to be gone.
(Hoping. Shall test further...)

(And don't even tell me that such simple changes could have "fixed" this long ago, having been bitten by this ever since 5.
[Though "webextensions" would not have been the issue the last time, years ago, when this similar situation last occurred.])
Oh, wait, dumb-ass!
While NoScript is there, it isn't there, sigh.
Let me look...

I started with a dirty Profile & hacked it.

NoScript is physically installed
Shows in Addons Manager
I can open Options but cannot affect changes
No icons...

Try again... Damn.
I guess while its considered a "hybrid" its more hybrid then simply two in one. Two in one with parts intermingled.

So bootstrap.js has to be there, likewise its call from install.rdf.
Guessing the issue lies with bootstrap.js (perhaps more generally, the restartless parts), but now I'm getting beyond myself (like I wasn't before ;-)).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Taskbar Icons are Reordered when open from Session Resto

Post by therube »

So I go the other route.
Hack 2 "updating" it by 5.
Feasible? It works, seemingly.

But did I screw things up?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Taskbar Icons are Reordered when open from Session Resto

Post by therube »

Code: Select all

delete 2  /META-INF/
keep   2  chrome.manifest
keep   2  install.rdf
   or hack, <em:version>2.9.5.3rc6 updated to 5.1.8.5rc2</em:version>
replace  2  /chrome/content/noscript/
   with version from 5, in full
replace  2  /chrome/locale/en-US/noscript: noscript.dtd & noscript.properties
   with version from 5
      looks to be insignificant, but
replace  2  /chrome/chrome/skin/classic/noscript/browser.css
   with version from 5
      insignificant, but
replace  2  /defaults/preferences/noscript.js
   with version from 5
So basically, keep chrome.manifest & install.rdf from 2, & use /chrome/content/noscript/ from 5 instead of that in 2.
And some changes in /defaults/preferences/noscript.js, so pick those up also.
(All else looks to be basically insignificant. A typo here, a small change there.)

Disable updates.


Sound good?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Taskbar Icons are Reordered when open from Session Resto

Post by therube »

So for 5.1.8.7, I installed components from 2 into 5.

Code: Select all

   delete 5
      /META-INF/
      /webextension/
      bootstrap.js

   keep   2  chrome.manifest

   install.rdf
      set to 'false'
         <em:hasEmbeddedWebExtension>false</em:hasEmbeddedWebExtension>
         <em:bootstrap>false</em:bootstrap>
       if wanted, <em:version>2.9.5.3rc6 updated to 5.1.8.7rc1+HACK</em:version>

    keep  5  /chrome/
       but 5 is unpacked & so does not correspond with chrome.manifest
       so ZIP it up (from within the /chrome/ directory)
         ZIP  noscript.jar  *  -r  (& then you can delete the /content/ /locale/ & /skin/ subdirectories)
Then ZIP the whole thing up into noscript-5.1.8.7rc1+HACK.xpi.

Code: Select all

ZIP noscript-5.1.8.7rc1+HACK.xpi * -r
Disable updates.


Sound good?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Taskbar Icons are Reordered when open from Session Resto

Post by therube »

(With FF's removal of version numbering...)

Make it more apparent things have changed:

Code: Select all

install.rdf
   <em:name>NoScript 5.1.9rc1+HACK</em:name>


[AHHHHH!!!
I wonder if things [taskbar icon ordering] are not broken in SeaMonkey 2.53 [with NoScript 5]?]

[AHHHHH!!!
!AHHHHH!!!
I wonder if things [taskbar icon ordering] are not broken in SeaMonkey 2.53 [alone]?]
[AHHHHH!!!
I wonder if things [taskbar icon ordering] are not broken in SeaMonkey 2.53 [alone]?]
Yes.
But it takes, or so it seems, a VERY rapid sequence of browser open, close, open, close...
As in, all is correct the first time. And the second. And the third... Possibly forever.
But, if you open, & then an instant later, while things are still opening, hit Ctrl+Q (Quit) + Return, there exists the possibility that on next browser open, taskbar icons will be out of order. (As in the open/close sequence is too quick for the sessionrestore.json to be correctly written back to disk... or some such, causing taskbar icon order issues on the next restart.)

(As far as I can tell, I've not been able to duplicate the same in SeaMonkey 2.49. [And all of this is without NoScript, with a new, clean Profile, separate profiles for each browser version.)

(Window sizing may also come into play, or may make the situation easier to duplicate. With a new Profile, the initial window opens up, windowed, about half-screen. I like, try to keep [though it rarely remains for long] my windows full-screen. half-screen, or at least not resizing from what it the initial window opened up at, then simply opening 3 more windows, same size, makes it harder to duplicate. Maximizing all those windows, seems to make the issue easier to duplicate.

Oh... probably ought to note, that I had, oh 4 different browsers open of late, & one of them had consumed ~8 GB RAM, which is a mighty high amount for me, & when switching to other browsers, I noted that they had [partially] paged out, so their response was less then optimal. [I've since closed that 8 GB session.] Similar my computer has not been restarted since 11/27/2018 (19 days, at this point) so maybe those item are exacerbating what I'm seeing.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [5] Taskbar Icons are Reordered opening from Session Res

Post by therube »

SeaMonkey 2.53 is natively affected, but it might be somewhat hard to duplicate, so possible that one may never see the issue.

SeaMonkey 2.53 (x64, 20181210134801) + NoScript 5+HACK definitely has the issue. Sigh.
(I can't remember if this has always been the case, with earlier 2.53 versions?)

SeaMonkey 2.49 (x64, 20180923041539) + NoScript 5+HACK looks to be OK.
[Yes!]



(Way back when...)
FF 56.0 is also affected by this.
SeaMonkey 2.53 is Gecko 56.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
Post Reply