¿ªÔÆÌåÓý

Locked Re: JMRI Not Identifying Locomotives Properly


 

I put some tests of the current RosterFrame behavior in java/test/jmri/jmrit/roster/swing/RosterFrameTest.java on my bobjacobsen/add-roster-loco-id-checks branch available in GitHub.

To help with exploration, they leave the window open for some seconds at the end so one can see what¡¯s happening (i.e. they need a bit more work before being merged)

The tests confirm that the RosterFrame¡¯s Ident button does use CV7 and CV8 if there are duplicates of the address. If does _not_ check those for a match if there are no duplicates (I can see that going either way)

Right now, allowing multiple selection is (inconsistently) discussed in the code, but it doesn¡¯t seem to actually happen. The act of selecting a line updates the information on the bottom of the frame with the specifics of _one_ entry. So even when there are two matching entries in the Roster, and the Roster query returned them both, only one is displayed.

Given the desire to have that bottom-of-screen info, I¡¯m not sure what the right user experience is.

Bob
--
Bob Jacobsen
rgj1927@...

Join [email protected] to automatically receive all group messages.