[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - BUG: timer interval less than 1 second - possible? - REOPEN

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 16th, 2024, 12:56 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: August 2nd, 2013, 5:09 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Is a timer interval less than one second possible?

I wish to set a timer of 1/3rd of a second or 333ms.


Last edited by yereverluvinuncleber on November 22nd, 2015, 5:04 pm, edited 3 times in total.

Top
 Profile  
 
PostPosted: August 9th, 2013, 6:35 pm 
Offline

Joined: June 18th, 2012, 12:07 am
Posts: 268


Top
 Profile  
 
PostPosted: August 10th, 2013, 3:18 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
You are quite correct, what confused me was that when I set the timer to 300 (hopefully in ms) in the IDE it posted below "300 Minute(s) Second(s)econd(s)" - very confusing...

Also the drop-down only provided a minimum value of 1 second.

Meme - Thanks for your assistance.


Top
 Profile  
 
PostPosted: October 19th, 2014, 12:01 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Although the timer can be defined at less that 500ms it does not seem to make much difference, the standard timer seems to be stuck at 500ms, is there a reason for this?

I have set up a timer that looks at the system volume periodically and if that has changed recently it then moves a slider. The delay between the system volume being lowered/raised and the widget slider responding is approx 500ms. If I set the timercore interval to less than 500ms it seems to have little or no effect.

It seems as if the timerCore interval can be set at less than 500ms but 500ms is actually the practical value as smaller values are ignored?


Top
 Profile  
 
PostPosted: October 25th, 2014, 7:31 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362


Top
 Profile  
 
PostPosted: October 26th, 2014, 4:26 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Thanks Hamid, I will re-test - perhaps it is my code...


Top
 Profile  
 
PostPosted: January 30th, 2015, 8:22 pm 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
Windows Javascript is sloooow. I've seen lags of about 1s in one of my widgets

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
PostPosted: January 30th, 2015, 8:58 pm 
Offline

Joined: June 18th, 2012, 12:07 am
Posts: 268
Hi digigamer
I have been frustrated with lags or pauses in javascript execution for some time, I don't know if your cause is the same as mine but I finally fixed mine just recently.
I noticed the lag effect when moving the mouse quickly over objects that change effects.
After isolating other programs on my PC with no luck, I came back to xwidget itself. I have two widgets running, I found shutting down the other widget stopped the lagging effect.
The other widget has several different cores running, I found the problem was caused by diskcore1 and diskcore2 being triggered at the same time interval 1000ms.
Disabling one of the cores solved the problem. I now have the core triggered at 1600ms and 2100ms and all runs smoothly.


Top
 Profile  
 
PostPosted: February 2nd, 2015, 8:19 am 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
I upgraded IE to version 11 and JS performs better. Yes, mouse events also cause lags

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
PostPosted: February 2nd, 2015, 1:37 pm 
Offline

Joined: June 18th, 2012, 12:07 am
Posts: 268


Top
 Profile  
 
PostPosted: November 21st, 2015, 6:44 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
BUG 1: Sorry to resurrect this thread but I found that the standard timercore core does not seem to respect times set below 500ms.

The VolumeCore timer does respect times set below 500ms but the standard timercore does not seem to in my testing.

BUG 2: I have also noticed that if the interval of the VolumeCore is set below 1000ms that it is saved correctly in the main.xul file but when you click on the volumecore in the designer in order to view its parameters the displayed interval defaults incorrectly back to 1000ms. This is a bug.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Google [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group