Bug #4974

WLoadingIndicator does not show up when using WebSockets

Added by Alan Finley about 6 years ago. Updated about 5 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


When WebSockets are enabled (web-sockets option in wt_config.xml is set to true), I don't see any loading indicators.

An example:

void do_sleep()

Wt::WApplication* createApplication(const Wt::WEnvironment& env)
    WApplication *app = new WApplication(env);
    WPushButton *b = new WPushButton("sleep", app->root());
    return app;

Is this intended behaviour?


issue_4974.cpp (964 Bytes) issue_4974.cpp Roel Standaert, 03/15/2017 01:14 PM
wt_config.xml (127 Bytes) wt_config.xml Roel Standaert, 03/15/2017 01:14 PM

Updated by Alan Finley about 6 years ago

I can also reproduce this behaviour on Wt 3.3.5.


Updated by Koen Deforche almost 6 years ago

  • Status changed from New to InProgress
  • Assignee set to Roel Standaert
  • Target version changed from 3.3.1 to 3.3.7

This is indeed a known behaviour. The origin of the difference is that with WebSockets browser requests are not always paired with server responses, but the current naive implementation for the loading indicator used this. This can be fixed however.


Updated by Roel Standaert almost 6 years ago

  • Status changed from InProgress to Implemented @Emweb

Updated by Koen Deforche over 5 years ago

  • Status changed from Implemented @Emweb to Resolved

Updated by Alan Finley over 5 years ago

Is this issue fixed in the master branch from GitHub? I've just tried it, and WLoadingIndicator still does not show up


Updated by Roel Standaert over 5 years ago

Yes, this should be fixed, I attached the test application and wt_config.xml I've used, and that works.


Updated by Roel Standaert about 5 years ago

  • Status changed from Resolved to Feedback

Are you still noticing that the loading indicator is not showing up in the latest release?



Also available in: Atom PDF