David,
I have been doing some more research on sensor icon behavior.
At 3.0 ( possibly before ) the sensor name in the context menu will be either the system name if the sensor has no user name or the user(system) format if it does. ?This format has been around since at least 7/2012.
XML reference names:
- The system name if there is no user name.
- The user name if there was a user name for the sensor when the icon was created.
- The system name or user name depending on the "update references" option for renames or moves.
- The system name if the sensor¡¯s user name was removed.
As I mentioned before, the tooltip is set when the icon is created. ?It is only updated by manual user action.
Dave Sand
toggle quoted message
Show quoted text
On Jul 13, 2018, at 12:56 PM, David Parks <bearwestern@...> wrote:
If I right click on a sensor icon to edit it, it no longer tells me if the xml reference uses the system name or the user names. ?Thus if this is an old file, a?file coming from ?another person or a file partially stripped of user names via a previous jmri revision bug I have no way to find out which icon references?do not currently have user name references. ?This was not a problem in previous jmri versions when the reference name could be discovered via right-click edit. ?Re-creation of all named icons is not a practical solution for a large existing file.
David Parks
Los Altos, CA