Project

General

Profile

Actions

Support #574

closed

WTimer and browser refresh button

Added by Anonymous over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
10/26/2010
Due date:
% Done:

0%

Estimated time:

Description

Hello,

I have a trouble with Client-side events managed by a WTimer object configured in this way:

Wt::WTimer *myTimer = new Wt::WTimer(root());

myTimer->setInterval(1000);

myTimer->timeout().connect(main, &MyWidget::myClockSlot);

myTimer->start();

The problem is: all goes OK until I hit the "refresh" button on the browser,

then the timer stops emitting signals and "myClockSlot" is no more called.

I am using wthttpd server, with

URL

and

false

Could someone help me finding what is wrong?

Thank you very much

Enrico

Actions #1

Updated by Koen Deforche over 13 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche

Hey Enrico,

That definitely sounds like a bug in refresh() not restoring the timers.

Regards,

koen

Actions #2

Updated by Koen Deforche over 13 years ago

  • Status changed from InProgress to Resolved

Fixed in latest git.

Actions #3

Updated by Koen Deforche over 13 years ago

  • Status changed from Resolved to Closed

Fixed in 3.1.6

Actions

Also available in: Atom PDF