suspendtab icon indicating copy to clipboard operation
suspendtab copied to clipboard

December 15 build not working on firefox 44 beta

Open rayman89 opened this issue 10 years ago • 21 comments

Not working at all. There are no tab menu items. It does not auto unload tabs or anything.

rayman89 avatar Dec 19 '15 15:12 rayman89

please try this patch https://github.com/linvinus/suspendtab/commit/7191b36b9042b026363f511c5b2d7d30d756ec98

linvinus avatar Dec 28 '15 15:12 linvinus

Is this patch based on nightly version of suspendtab tab or release? I tested it on nightly and tab menus now are there but they don't do anything..

rayman89 avatar Dec 30 '15 01:12 rayman89

patch based on git master version, you may clone my forked version and then build as usual. if suspendtab appear in menu then it should working. try to open several tabs, then on current active tab, run "suspend other tabs", after that click on any other tab, if it was suspended then you will see page loading progress same as you just open it first time.

linvinus avatar Dec 30 '15 08:12 linvinus

Sorry I'm not a dev I don't know how to do that. Could you provide me with either the already patched xpi or the "git master version" xpi?

I tested "suspend other tabs" on a clean profile and it didn't work. Auto suspend tabs doesn't work either. Wouldn't be the first add-on i tested to have a menu without functionality.

rayman89 avatar Dec 30 '15 14:12 rayman89

there is ftp://linvinus.ru/forum/firefox/suspendtab_noupdate.xpi

linvinus avatar Dec 30 '15 16:12 linvinus

Tested that and it's the same. It does not work. The context menu on the tabs do show but they do nothing and the tabs do not automatically unload/suspend either. (it was tested on a new clean profile firefox 44 beta x64 on windows 7 x64)

rayman89 avatar Dec 31 '15 14:12 rayman89

you are right! there is updated version ftp://linvinus.ru/forum/firefox/suspendtab_noupdate.xpi now it working, changes available there https://github.com/linvinus/suspendtab/commit/5f7d4008ffc1d591a39cd4fb38f4e04fd33b14fe

linvinus avatar Jan 15 '16 12:01 linvinus

When a page is suspended and you try to load it it wont render the page even if you reload the tab it appears to be loading but after it finishes there is still no webpage showing it's just the default white background with nothing on it. Trying to load an other url on that tab wont work either it stays always white.

rayman89 avatar Jan 15 '16 16:01 rayman89

yep, thanks for testing, after while i also observe that. hope to resolve that. suspend is working, resume is buggy.

linvinus avatar Jan 15 '16 17:01 linvinus

please try new version version ftp://linvinus.ru/forum/firefox/suspendtab_noupdate.xpi changes https://github.com/linvinus/suspendtab/commit/35d36f170081fb6cf89b7e99505741f5d949af19 on my system working fine

linvinus avatar Jan 19 '16 00:01 linvinus

Has the same exact issue as the one before.(it was tested on a new clean profile firefox 44 beta x64 on windows 7 x64)

rayman89 avatar Jan 19 '16 02:01 rayman89

finally now FF 40 - 44 working. please try new version version ftp://linvinus.ru/forum/firefox/suspendtab_noupdate.xpi changes https://github.com/linvinus/suspendtab/commit/56fa835c10ea0f745ac7e26c3c0d57cdba501a44

don't forget to disable automatically update in extension preferences!!! extensions->suspendtab->More->Automatic Updates=Off

linvinus avatar Jan 27 '16 17:01 linvinus

Works properly now. Thanks a lot.

rayman89 avatar Jan 27 '16 19:01 rayman89

I've feedbacked some changes from https://github.com/linvinus/suspendtab/commits/master

piroor avatar Jan 28 '16 08:01 piroor

what about this changes? https://github.com/linvinus/suspendtab/commit/35d36f170081fb6cf89b7e99505741f5d949af19

as i understand now FF will call SessionStoreInternal.restoreTabContent(aTab); by it self on tab select event if browser.__SS_restoreState = TAB_STATE_NEEDS_RESTORE;

linvinus avatar Jan 28 '16 08:01 linvinus

Thanks! I missed the point. 9e905e850f9531156d74e47a57bbedee7c1866ed is my version. For compatibility I think I should keep other codes to dispatch custom events.

piroor avatar Jan 28 '16 10:01 piroor

ok, it is up to you.

also it will be good to save tab icon, for suspended tab, so it will looks the same as unsuspended.

for example, currently suspended tabs looks differently, on the left suspended tabs without icon, on the right not suspended. screenshot

(changes on line 350 in suspendtab-internal.js)

    // Update the persistent tab state cache with |state| information.
    TabStateCache.update(browser, {
          history: {entries: state.entries, index: state.index},
          scroll: state.scroll || null,
          storage: state.storage || null,
          formdata: state.formdata || null,
          disallow: state.disallow || null,
          pageStyle: state.pageStyle || null

      // This information is only needed until the tab has finished restoring.
      // When that's done it will be removed from the cache and we always
      // collect it in TabState._collectBaseTabData().
      image: state.image || "",
      userTypedValue: state.userTypedValue || "",
      userTypedClear: state.userTypedClear || 0
    });

linvinus avatar Jan 28 '16 18:01 linvinus

Thanks, merged at b20d44a6d404d547ed50e5fa93c0a149ea198e0f.

piroor avatar Jan 28 '16 18:01 piroor

this bug should be closed as resolved, if author don't agree with that then he could reopen it.

linvinus avatar Jan 29 '16 18:01 linvinus

Now it's under doogfooding. I'll release a new version, if it works correctly on my daily environment.

piroor avatar Feb 02 '16 00:02 piroor

on my system also working fine

linvinus avatar Feb 02 '16 06:02 linvinus