¿ªÔÆÌåÓý

Panels not rendering well on older iPads #webserver


 

Hello -

I recently upgraded JMRI to 5.10 running Java 11.0.11. I've been using the webserver to run panels on multiple iPADs using Safari:
  • 2 older iPads, one running iOS 10 the other running iOS 12
  • 2 newer iPads, each running iOS 17 and iOS 15
The two older iPads do not render the panel graphics correctly: Part of the panel is showing part is not. I've done the usual fixes (restarts, refresh). The operating system and browser cannot be further updated on the older iPads.

Any help you can provide would be greatly appreciated.
?
Thanks!,
Michael
?
--
Michael
Modeling the CNW low line


 

I should add that the newer iPads work just fine.
--
Michael
Modeling the CNW low line


 

Michael,
The most likely cause is that your pad's browser does not support WebSocket protocol.
There is a test for this on the current JMRI web "About" page.
?
If that's the issue, the workaround is to use the /frame server instead of the /panel server. You need to enable "frames" in JMRI, Edit, Preferences, Web Server.
--SteveT?


 

Hello SteveT -

The websocket protocol works on the older iPads (I checked on echo.websocket.org). I also enabled "frames" and this didn't solve the problem. See the attached pictures for a panel that worked and one that doesn't work.

I appreciate any other suggestions you or others have.
Thanks!
Michael
--
Michael
Modeling the CNW low line


 

What is the URL of the page that isn't working? That looks like it is still going to a /panel page, instead of a /frame page, but I can't see the URL in the screenshot.?
I'd also like to see the websocket.org page, as this symptom looks 99.9% like a WebSocket issue.


 

Hi Steve -

Thank you for your help. Yes, it looks like the older iPad remembered the /panel page instead of the frame page. I've made it work by changing /panel/ to /frame/ in the web address.

The good news is that it looks like I can keep the /panel pages for the newer iPads and use the /frame servers for the old - both are working when I do this.


--
Michael
Modeling the CNW low line