Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked JMRI 4.11.8 - Move Sensor User Name still Broken
David Parks
¿ªÔÆÌåÓýJMRI 4.11.8 - Move Sensor User Name from one system name to another is still Broken. Move User Name updates Logix references, but does not update the Panel Icons resulting in an inconsistent panel file.? This has been broken for several JMRI versions. ?Move User name is the primary method of changing an external connection since this is tied to the system name prefix and it is not editable in the user Tables. ? David Parks Los Altos, CA |
David,
toggle quoted message
Show quoted text
If the sensor icon is created with a user name, the move user name has no functional impact since the sensor= attribute is the user name. ?The first line of the right click context menu shows the correct user and system names. ?What does not work for PE and CPE is that the tooltip is not updated. ?It is updated in LE. The tooltip issue for PE and CPE also applies to the Rename action. ?The sensor=?attribute is properly changed to the new user name. Dave Sand On Jul 12, 2018, at 1:45 AM, David Parks <bearwestern@...> wrote: |
I don't recall changing the tool tip was ever automatic when using move. A
minor enough pain that I ignored it. Or I'd go through and remove the system names from the tool tips leaving the meaningful user names. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Ken,
toggle quoted message
Show quoted text
It is still not automatic. ? Layout Editor updates the tool tip each time it is displayed. ?This makes it look like it is being changed as a result of the move or rename, but it is not. ?The saved panel xml file will have the old value if the tool tip has not been displayed since the change. Dave Sand On Jul 12, 2018, at 11:33 AM, Ken Cameron <kcameron@...> wrote: |
David Parks
Dave
You are correct, the XML file associated the sensor icon with the system name rather than the user name in my examples.? I found this out by looking in the XML file.? Since the Tool Tip can be configured to display both the user name and system regardless it can not be use to determine the relationship in the XML.? The Icon Edit Tool displays both user and system names. If the sensor icon was originally created with only a system name the Icon Edit tool used to display display the system name and it was clear that the user name was not associated with the sensor icon.? That has been changed so that the sensor name is displayed with the user name in sensor icon edit even though there is no association in the xml file.? The sensor icon edit tool used to allow the user to add an association of the icon with the user name to an existing icon.? If I remember correctly, the user could click on either the username or the system name in the displayed sensor table (edit icon) when making an edit to an existing sensor icon. 1.? How does the user know if an icon is associated with the user name? 2.? How can the user replace the system name with the user name if he wishes? Scale display problem: the sensor icon scale always displays as 100 regardless of the scale factor in the xml file.? The icon displays the actual icon with the correct scale factor. David Parks Los Altos, CA |
David Parks
I tried creating new sensor icons on a new Control Panel Editor panel.? The icons created have no apparent relation to the sensor selected and as before no user indication as whether there is a user name or a system name associated with the icon.? Same behavior in 4.11.7 and 4.11.8.
David Parks Los Altos, CA |
Changing an icon to reference another name is a bit like moving a hole: You can¡¯t do it. All you can do is make a new one and get rid of the old one.
On Jul 12, 2018, at 10:23 PM, David Parks <bearwestern@...> wrote:-- Bob Jacobsen rgj1927@... |
David,
toggle quoted message
Show quoted text
Ignore tool tips. They are fixed at create time and only subject to manual user changes. The first line of the right click context menu shows the current sensor name(s) or <Not connected>. The only way to tell which name is stored is looking at the xml file. As Bob mentions, the easiest fix for a bad sensor icon is to delete and re-add. Dave Sand On Jul 13, 2018, at 1:52 AM, David Parks <bearwestern@...> wrote: |
David Parks
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 |
David,
toggle quoted message
Show quoted text
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:
As I mentioned before, the tooltip is set when the icon is created. ?It is only updated by manual user action. Dave Sand On Jul 13, 2018, at 12:56 PM, David Parks <bearwestern@...> wrote: |
to navigate to use esc to dismiss