¿ªÔÆÌåÓý

Locked Graphic Issue with Engine Driver


 

Hello.
I'm currently facing an issue when displaying the layout panel on my Android phone.
Some segments of tracks around the turntable and a double slip are not showing up on the mobile display. On the PC screen everything works fine. It seems this is a bug related to the web display of the Engine Driver app, since it happens on my new Samsung Galaxy S6 and an older Asus Nexus 7 tablet.
Has anyone had similar issues?
I've included in the panels all the turnout types, and I've come up to the conclusion that only RH, LH e wyes turnouts are displayng correctly. Single slips, double slips and double crossovers are not displaying, preventing me to use the touch interface to throw the corresponding turnout motors by touching theturnout circle.
Here are the links to two screen captures of the mobile. In the first, is possible to see that in the web preview page all the parts are correctly displayed.

In the second picture, heres is how the layout appears after I open the layout panel.

Any hints? I don't even know if this is a problem related to JMRI or it's a Engine Driver issue. Hope someone can give me a light.

Engine Driver 2.12 on Android 6.0.1
JMRI 4.5.3

Best Regards

Roberto


 

Hi Roberto,

You are correct that there is no code in the client-side web panels to draw turntable rays or double-slips, and several other widgets. Each JMRI panel widget has unique characteristics, and requires time to code. Both are on the "to-do" list.
A workaround is to use the older /frame servlet instead. In EngineDriver Preferences, change the "Initial Web Page" to "/frame/" and restart. (make sure you double-check the preference name, there is also an "Initial Throttle Web Page" preference)



Note: EngineDriver merely provides convenient access to your device's web browser, and is not involved in this issue at all.


HTH,
SteveT


---In jmriusers@..., <r.falorni@...> wrote :

Hello.
I'm currently facing an issue when displaying the layout panel on my Android phone.
Some segments of tracks around the turntable and a double slip are not showing up on the mobile display. On the PC screen everything works fine. It seems this is a bug related to the web display of the Engine Driver app, since it happens on my new Samsung Galaxy S6 and an older Asus Nexus 7 tablet.
Has anyone had similar issues?
I've included in the panels all the turnout types, and I've come up to the conclusion that only RH, LH e wyes turnouts are displayng correctly. Single slips, double slips and double crossovers are not displaying, preventing me to use the touch interface to throw the corresponding turnout motors by touching theturnout circle.
Here are the links to two screen captures of the mobile. In the first, is possible to see that in the web preview page all the parts are correctly displayed.

In the second picture, heres is how the layout appears after I open the layout panel.

Any hints? I don't even know if this is a problem related to JMRI or it's a Engine Driver issue. Hope someone can give me a light.

Engine Driver 2.12 on Android 6.0.1
JMRI 4.5.3

Best Regards

Roberto


 

Hi Steve,
thanks alot for answering. Good to know that this issue is on the "to do" list.
I tried your suggestion of changing the initial web page default in Engine Driver to /frame/ and it shows the diagram corretcly. The only problem is now that the entire panel is not "clickable" and no interation is possible to throw turnouts on the mobile screen.
My idea was to use the tablet as a control panel on the layout fascia and my phone as a walkaround cab for controlling locos.
Am I missing something?
Best Regards

Roberto


 

Roberto,

I do exactly what you describe - Use a tablet as a fascia-mounted control panel and a phone/ED as a throttle.

For the tablet, I start the JMRI web server and just use a browser to display/control the panel. ED is not involved.

I am not near the layout at the moment so I can't give you specifics, but it wasn't difficult to set up.


HTH,
Steve
"Breezlys"


---In jmriusers@..., <r.falorni@...> wrote :


My idea was to use the tablet as a control panel on the layout fascia and my phone as a walkaround cab for controlling locos.
Am I missing something?
Best Regards

Roberto

[Non-text portions of this message have been removed]


 

Roberto,

You should be able to click on active items in the browser view. You should see a small "crosshair" where you click, make sure it's on the active item. the response will be slower than with the client-side panels, but it should work.
To use outside of EngineDriver (recommended), enter the server address and web port into your address bar, something like " (use your IP address, 12080 is teh default and probably correct).
As a test, can you open this page (on my server) and click on some turnouts and sensors?


That'll help us determine if the problem is your browser or your server.


HTH,
SteveT




---In jmriusers@..., <r.falorni@...> wrote :

Hi Steve,
thanks alot for answering. Good to know that this issue is on the "to do" list.
I tried your suggestion of changing the initial web page default in Engine Driver to /frame/ and it shows the diagram corretcly. The only problem is now that the entire panel is not "clickable" and no interation is possible to throw turnouts on the mobile screen.
My idea was to use the tablet as a control panel on the layout fascia and my phone as a walkaround cab for controlling locos.
Am I missing something?
Best Regards

Roberto


 

Hi Steve.
I tried both suggestions, by accessing the panels via web server (192.168.1.38:12080, in my case) and 192.168.1.38:12080/frame/
In the first case, even if i connect with Firefox on the same computer is ruuning JMRI (using localhost:12080) the graphic problem of missing bits appears also.
By accessing via frame on the tablet, the panel shows correctly. When i click a turnout it the display flashes in light blue colour as if i'm clicking on a jpg or bmp image. The crosshair does appear briefly but it's somewhat hit and miss. It does work, however.
Thanks for helping to address the issue.
Hope however that the SW is updated as soon as possible to work flawlessly with Engine Driver.
Best Regards

Roberto