You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I seem to have bumped into issue that I am unfortunately unable to resolve on my own - I am very new to the world of embedded development.
From my point of view it seems that Cog ignores some click events.
Basically I have a webserver that serves a webpage (see minimalistic index.html and app.js below) on 127.0.0.1:80 - with correct text/plain and application/javascriptContent-Type headers. I am using a kiosk service to display this webpage - kiosk is just cog running under cage (see kiosk.service).
Now I have it in a state where the webpage is displayed correctly on connected monitor - that is including the rendered(!) mock probes list so I am 100% sure that javascript is working. I am also 100% sure that mouse input works, on my actual webpage I am able to click on links like <a href=#dashboard> and the UI switches me between different views.
But no matter what I do I am unable to make the filtering logic work. When I try to click those filter buttons, nothing happens at all.
Is there something obvious or any limitation on cog/wpewebkit side that I am missing?
I also haven't encountered such problems with firefox-esr - there it works without problems, but unfortunately it has bigger memory footprint so it's most probably unsuitable for my project.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi, I seem to have bumped into issue that I am unfortunately unable to resolve on my own - I am very new to the world of embedded development.
From my point of view it seems that Cog ignores some click events.
Basically I have a webserver that serves a webpage (see minimalistic
index.htmlandapp.jsbelow) on 127.0.0.1:80 - with correcttext/plainandapplication/javascriptContent-Typeheaders. I am using a kiosk service to display this webpage - kiosk is just cog running under cage (seekiosk.service).Now I have it in a state where the webpage is displayed correctly on connected monitor - that is including the rendered(!) mock probes list so I am 100% sure that javascript is working. I am also 100% sure that mouse input works, on my actual webpage I am able to click on links like
<a href=#dashboard>and the UI switches me between different views.But no matter what I do I am unable to make the filtering logic work. When I try to click those filter buttons, nothing happens at all.
Is there something obvious or any limitation on cog/wpewebkit side that I am missing?
I also haven't encountered such problems with firefox-esr - there it works without problems, but unfortunately it has bigger memory footprint so it's most probably unsuitable for my project.
kiosk.service:
app.js:
index.html:
All reactions