XWidgetSoft Forum
https://bbs.xwidget.com/

QUESTION: Does Xwidget crash/hang often for you? - CLOSED
https://bbs.xwidget.com/viewtopic.php?f=8&t=6065
Page 1 of 1

Author:  yereverluvinuncleber [ December 8th, 2015, 6:59 am ]
Post subject:  QUESTION: Does Xwidget crash/hang often for you? - CLOSED

I have added the following code to a clock widget to update the second hand. The datetime core operates at a 0.1s interval and calls this routine.

function updateTime() {
var theDate = new Date();

var theSeconds = theDate.getSeconds();
var theMilliseconds = theDate.getMilliseconds();
var useSeconds = Math.round(10 * (theSeconds + (theMilliseconds / 1000))) / 10;
secondHand.RotateAngle = (useSeconds * 6) % 360;
}

Since adding this routine I have experienced two hangs/lockups of the clock widget, only resolved by killing the Xwidget engine. The widget runs fine in debug, no errors, it is only acting strange when the widget was running normallly.

Anyone experienced the same when using a small interval in Xwidgets?

Author:  yereverluvinuncleber [ December 16th, 2015, 8:39 am ]
Post subject:  Re: QUESTION: Does Xwidget crash/hang often for you?

Since those two crashes it hasn't happened since. I have been using Win10 which is turning out to be an unstable crock of shit. I am blaming Win10 for the moment.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/