JMRI icon indicating copy to clipboard operation
JMRI copied to clipboard

DP showing an additional color if the value is the same as the default value

Open bobjacobsen opened this issue 5 months ago • 5 comments

(From the JMRI Community Meeting at the NMRA 2025 Convention)

A user suggested it would be useful if DP would show an additional color, maybe really light blue, if the value of a variable was equal to its default value (assuming there was a default value defined).

bobjacobsen avatar Jul 17 '25 15:07 bobjacobsen

A quick, non-scientific survey shows that about 45% of variables have defaults explicitly included. Should we consider the default for the rest of these to be zero? Or treat them as not having a default value, hence never getting the "matches default" color?

bobjacobsen avatar Jul 22 '25 15:07 bobjacobsen

My thought would be there is no (known) default is the better option. Either the writer of the file didn't have documents for a default value from the vendor (frequent beyond the 'typical' CVs) or they didn't have a brand new decoder to read to use that as defaults. Either way, the system doesn't know what default would mean.

Now on the issue of if the system was asked to 'set default', I'm not sure which is worst. Just leaving it alone or setting to zero. Neither seems ideal but we don't really have any other choices.

KenC57 avatar Jul 22 '25 16:07 KenC57

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] avatar Sep 08 '25 02:09 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Oct 13 '25 02:10 github-actions[bot]

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] avatar Dec 01 '25 03:12 github-actions[bot]