¿ªÔÆÌåÓý

Locked Track highlighting not showing on web panel


 

Hi
I'm having trouble with track highlighting (block occupied) when displaying a layout editor panel on the web.
I first noticed it today on a panel that had been working previously.

My previous working 'reference' is:
  • Pi 2 (Raspian)
  • JMRI 4.17.3
  • java 1.8.0_65 (en_GB)
I'm now seeing the problem using:
  • Ubuntu 19.10
  • JMRI 4.17.5
  • java 11.0.5 ea
I've created a really simple panel in Layout Editor with a single track segment, block and sensor that demonstrates the issue (to me at least!) when run in the native panel and on the web - /g/jmriusers/files/ProblemsBeingWorkedOn/Andy%20Brown%20-%20161045/WebTrackHighlightingIssue.xml

On the native panel the track highlights to red when the sensor is activated, whereas on the web no such highlighting of the track occurs. The sensor does change colour as expected.

I've tried various combinations to get a working system (and all failed):
  • going back to JMRI 4.17.3
  • going back to java 1.8.0
  • going forward to java 13.0.1
None of these worked. I'm wondering if I'm barking up the wrong tree!

Clearly there have also been operating system updates, but I am not sure how these would impact the situation. I've had my Ubuntu browser work successfully with the 'good' Pi running the old software, so that would seem to rule out any browser changes.

There must be loads of possible other permutations of O/S, JMRI version, java version etc, but I'm not sure where to look at the moment! I'm reluctant to alter my 'good' Pi since that is a working exhibition setup (for this next weekend!). I'm keen to use some new changes, but this regression might have an impact on that.

Any ideas? Thanks
Andy


 

Andy,
There was a recent fix to support usernames in blocks. This change was in the client-side code. Make sure you are completely clearing your browser cache to get the new code.
--SteveT


 

This should have been fixed by PR #7567:?


 

George
That's brilliant! It looks like that change just missed the last test release 4.17.5, so I got hold of the latest dev release #3516 and I can confirm that for me the problem is fixed!

I'm just so impressed with the work you guys put in and dedication to the cause. It make our life as users so fulfilling, and now it means I'll be able to show off my latest changes at this weekend's show in Portsmouth (UK)! We'll see how the dev build holds up!

Thanks again
Andy


 

Andy Brown,
Hi Andy, just to let you know that I'm doing much he same as you just up the road in Bordon(UK). May not be able to get to the show this weekend, got the builders coming in!
I'm using Layout Editor with SSE on my USA layout. You're welcome to visit if you wish. Email me.
Regards, Mike.

On Thursday, 14 November 2019, 09:52:47 GMT, Andy Brown <andy.badshot@...> wrote:


George
That's brilliant! It looks like that change just missed the last test release 4.17.5, so I got hold of the latest dev release #3516 and I can confirm that for me the problem is fixed!

I'm just so impressed with the work you guys put in and dedication to the cause. It make our life as users so fulfilling, and now it means I'll be able to show off my latest changes at this weekend's show in Portsmouth (UK)! We'll see how the dev build holds up!

Thanks again
Andy


 

Hi Mike
Not sure how to email you! In fact I'm based in Farnham - a member of the Farnham & district MRC. We have an open day on Sunday 17th Nov if you're interested - pop down any time between 10 & 4 - . Won't have JMRI on show then, but you could see what else we do!
Andy


 

Hi Andy, Will contact you off list.
Regards, Mike.

On Thursday, 14 November 2019, 14:49:45 GMT, Andy Brown <andy.badshot@...> wrote:


Hi Mike
Not sure how to email you! In fact I'm based in Farnham - a member of the Farnham & district MRC. We have an open day on Sunday 17th Nov if you're interested - pop down any time between 10 & 4 - . Won't have JMRI on show then, but you could see what else we do!
Andy