I'm using Codesys v3.5 SP17.
I have a project with Web Visualization and it works OK on Chromium with kiosk mode.
The problem is that I can't scroll a frame with the touch screen, I can only click on the position of the scroll bar and it changes but not scrolling as it should on touch.
I do have all the Chormium flags and it seems to work on any other website (tried google search results and more) only on the WebVisu it doesn't so it leads me to believe that the issue is with Codesys and not with Chormium.
The frame has scrolling enabled in the settings of course and I enabled the multitouch on the Visualization manager.
Any help would be appreciated.
If you get scrollbars in a frame when you have multitouch enabled, your browser reports that it does not support any multitouch events.
Therefore the visualization falls back to a mouse only behaviour.
This should also be visible in the browser console log, which should report this information.
I do have scrollbars actually.
But I enabled touch events in the browser and it does work with other websites, only in the WebVisu it doesn't.
Whats the output of the console?
No output that relates to this.
I see error messages because I updated the compiled softwre so the local WebVisu is trying to reconnect.
Try to append the following argument to your url: "?CFG_LogLevel=TRACE"
I unchecked the "Scroll elements with scrollbar" and it seems to be working now (altough not smooth like other websites).
BTW, Is it possible to make scroll when touching other elements in the frame?
I have many labels but when I try touching those when trying to scroll it doesn't work, only when I touch an empty spot on the frame.
If this element has any input action, this will of course be prioritized. e.g. a button click is always more important than moving the frame
My labels doesn't have any input action.
Just plain text...
Tooltip? Anything like that?
No, only lables.
But the labels are in a group with buttons, is it possible that it affects the labels?
Could be. Not sure to be honest from the top of my head.
Ok. I will try to ungroup the elements and test.
IF the issue still exists, you could attach your project and provide Steps to repeat for me do look into it ;)
Ok, I found what casue this but I can't solve it.
I have a menu like this one:
Even tough the menu is in the close position, I can't scroll in the area where the menu lays.
When I tried moving it to the other side, I confirmed what I thought.
Ok, I found a solution using the Bring to Foreground option.
Could you be a bit more specific on this one. What element did you bring to the foreground? Is it your hidden menu buttons?
I think I have a similar problem I have a rectangle as a background with no inputs configured yet I cannot scroll the frame via touch. When the rectangle is removed then it is possible to scroll. I have no luck bringing elements to foreground.
It's a frame.
I created the menu in a separate visualization and then inserted in the main screen as a frame.
Then I have a simple logic that moves the menu from the left and brings it forward using variables.
Log in to post a comment.