Bug #2117

Throbber stops working globally after page.redirect (All platforms)

Added by Leonid Protasov almost 7 years ago. Updated almost 7 years ago.

Status:FixedStart date:04/30/2014
Priority:HighDue date:
Assignee:Andreas Smas% Done:

100%

Category:User interface
Target version:4.8
Found in version:all Platform:Linux

Description

Open any plugin - throbber not working...


Related issues

Related to Bug #2110: Page is not redrawn when you return back after playing vi... Fixed 04/27/2014
Related to Bug #2177: Throbber is stopping working after searcher finished the ... Fixed 05/20/2014

Associated revisions

Revision 6934cb74
Added by Andreas Smas almost 7 years ago

navigator: Unlink currentpage when redirecting

This fixes problem with stale subscriptions that follows nav.currentpage

Fixes #2117

Change included in version 4.7.14

History

#1 Updated by Leonid Protasov almost 7 years ago

  • Related to Bug #2110: Page is not redrawn when you return back after playing videos (RPi, Linux) added

#2 Updated by Leonid Protasov almost 7 years ago

  • Subject changed from Throbber is gone after you return to homescreen after reproduction of issue 2110 to Throbber is gone after you return to homescreen after reproduction of issue 2110 (All platforms)

#3 Updated by Leonid Protasov almost 7 years ago

If I play direct link throbber is alive after:

http://manifest.googlevideo.com/api/manifest/hls_variant/ipbits/0/source/yt_live_broadcast/sparams/gcr,id,ip,ipbits,itag,maudio,playlist_type,pmbypass,source,expire/gcr/ua/maudio/1/upn/Hk62BTlSGVg/ip/80.77.38.221/key/yt5/expire/1398890654/sver/3/fexp/937417,913434,936923/playlist_type/LIVE/id/HQEhZZWrEHk.1/signature/A65B82D1EE648F96C1CA218DE2D4D54194562288.2E9E22D00B4F93AC800223A2832AE4B03F0568F2/pmbypass/yes/itag/0/file/index.m3u8

If I play plugin link - throbber is gone:

youtube:video:HQEhZZWrEHk

So youtube plugin loading somehow kills throbber.

#4 Updated by Leonid Protasov almost 7 years ago

  • Subject changed from Throbber is gone after you return to homescreen after reproduction of issue 2110 (All platforms) to Throbber is gone after playing any video in Youtube plugin (All platforms)
  • Priority changed from Normal to High

#5 Updated by Leonid Protasov almost 7 years ago

  • Subject changed from Throbber is gone after playing any video in Youtube plugin (All platforms) to Throbber stops working globally after page.redirect (All platforms)
  • Priority changed from High to Immediate

I made a little plugin as a PoC.

(function(plugin) {
    plugin.createService("throbber demo", "throbber:start", "throbber", true, '');

    plugin.addURI(PREFIX + "throbber2", function(page) {
        page.loading = true;
        showtime.message("You should see the throbber spinning in background but it's gone after page.redirect :(", true, false);
        page.loading = false;
    });

    plugin.addURI(PREFIX + "throbber", function(page) {
        page.loading = true;
        showtime.message("You should see the throbber spinning in background...", true, false);
        page.loading = false;
        page.redirect(PREFIX + "throbber2");
    });

    // Start page
    plugin.addURI(PREFIX + "start", function(page) {
    page.appendItem(PREFIX + "throbber", "directory", {
        title: "Throbber killing demo :)" 
    });
    });
})(this);

#6 Updated by Leonid Protasov almost 7 years ago

  • Target version set to 4.8

#7 Updated by Andreas Smas almost 7 years ago

  • Priority changed from Immediate to High

#8 Updated by Andreas Smas almost 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

#9 Updated by Leonid Protasov almost 7 years ago

  • Related to Bug #2177: Throbber is stopping working after searcher finished the search and you enter any result's folder (Any platform) added

Also available in: Atom PDF