Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slider issue on WebRiva
#1
Dean,

I was developing some autogen templates, and noticed the the volume slider page would freeze if the volume slider was manipulated too quickly.

I then setup a basic template with a slider and a text box to display the field (linked to a variable driver field).
That works fine in the interface viewer.
In the WebRiva version if you manipulate the slider too quickly, the page will freeze. It reloads again fine, but the behavior is reproducible each time.

I'm using both a desktop version of Chrome as well as chrome on my samsung phone.

thx,
Nishan
Reply
#2
You aren't trying to update a field as you slide it are you? That generally doesn't even work well with the regular IV.
Dean Roddey
Explorans limites defectum
Reply
#3
No, the slider just updates the static text box on the template with the current value.
The slider is linked to the variable driver field and that field get updated automatically.
My template is basically the same as the auto-generated volume pop-up...the error happens on the auto-generated pop-up too.
I just wanted to simplify the template to just the slider and a text box to eliminate other possibilities.
Reply
#4
How long is it? It may just be that it's long enough that it's sending too many events too quickly. If it doesn't happen when you move it slowly, then that is likely it. It might require some throttling of some sort.
Dean Roddey
Explorans limites defectum
Reply
#5
That's probably it. Initially I just did a brisk flick to the left on the volume bar to turn down the volume and then it froze. I've attached the template I'm using now...it's just a two widget template.

Also, now just reloading the page doesn't seem to always restablish the session, and the webserver has to be restarted on the master server. I included some console out from the browser as well with the error message:

Websocket.js:149 WebSocket connection to 'ws://192.168.0.254/Websock/CQSL/WebRIVA.html?user=Admin&pw=removed' failed: Error during WebSocket handshake: Unexpected response code: 500
connectToSrv @ Websocket.js:149
(anonymous) @ Websocket.js:70
Websocket.js:149 WebSocket connection to 'ws://192.168.0.254/Websock/CQSL/WebRIVA.html?user=Admin&pw=removed' failed: Error during WebSocket handshake: Unexpected response code: 500
connectToSrv @ Websocket.js:149
reconnHandler @ Websocket.js:234


Attached Files
.cqctmplpack   slider.CQCTmplPack (Size: 21.92 KB / Downloads: 1)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  6.0.0 Autogen issue Mark Stega 2 359 03-10-2021, 05:21 AM
Last Post: Mark Stega
  Was the issue with Lutron Radio RA2 not updating ever fixed? ghurty 3 774 12-06-2020, 11:42 AM
Last Post: gReatAutomation
  WebRiva add to home screen fix NishanF 2 788 11-16-2020, 08:54 AM
Last Post: sic0048
  WebRiva will not render graphics fze9002 16 1,746 09-06-2020, 02:59 PM
Last Post: Dean Roddey
  Elk Version Support Issue Ron Haley 20 3,896 05-05-2020, 08:38 PM
Last Post: Shaky
  With webriva, anyway to get an embedded browser window? ghurty 1 619 04-26-2020, 04:43 PM
Last Post: Dean Roddey
  WebRIVA on iOS dlmorgan999 14 2,625 04-26-2020, 04:08 PM
Last Post: dlmorgan999
  Check Box widget on WebRIVA vs Interface Viewer bryanb 1 692 04-23-2020, 06:15 AM
Last Post: bryanb
  Troubleshooting Network Issue zra 7 1,480 04-18-2020, 03:32 AM
Last Post: zra
  CQC WebRIVA and BlueIris in a secure environment bryanb 2 729 03-23-2020, 03:24 AM
Last Post: bryanb

Forum Jump:


Users browsing this thread: 1 Guest(s)