I believe there was a misunderstanding, the logic changing screens was already done with the
hide_by parameters and worked, it's just that some components happened to be timing out. This didn't happen before in other projects done the same way.
.hmi.svg files are split, it keeps things organized. After some prolonged tests, there are no more timeouts.
There is one last flaw that I would like to work out. The chromium instance allows the user to use gestures and go back and forth in the history of pages. In some cases get to a restricted page this way.
I googled vigorously to solve this issue, but so far to no avail. Any advice on this topic?
Thanks for all the help so far!
chromium flags I tried:
--user-data-dir=/tmp/hmi-chromium --kiosk --incognito --disable-pinch --overscroll-history-navigation=0 #This should fix it but it doesn't --disable-overscroll-edge-effect #Tried this one too --no-sandbox --start-fullscreen --window-size=$SIZE --window-position=0,0 --no-first-run --disable-translate --noerrdialogs --disable-infobars --disable-component-update