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

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.

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
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.
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
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'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://' failed: Error during WebSocket handshake: Unexpected response code: 500
connectToSrv @ Websocket.js:149
(anonymous) @ Websocket.js:70
Websocket.js:149 WebSocket connection to 'ws://' 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)

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

Forum Jump:

Users browsing this thread: 1 Guest(s)