ControlSystemStudio / cs-studio

Control System Studio is an Eclipse-based collections of tools to monitor and operate large scale control systems, such as the ones in the accelerator community.
https://controlsystemstudio.org/
Eclipse Public License 1.0
113 stars 96 forks source link

PVTree handling of missing PVs and 'expand errors' #2064

Closed kasemir closed 7 years ago

kasemir commented 7 years ago

The PV tree shows when a PV is in alarm, but it doesn't specifically indicate missing PVs.

In this screenshot, the highlighted INPE has a missing PV. It is shown just like the also highlighted INPH, which has a constant value: tree1

Expected: Missing PVs should show invalid/disconnected alarm.

Especially for large trees, the 'expand only errors' button in the toolbar should expand the tree so that nodes in alarm are shown. It currently seems to stop at the top node in alarm:

tree2

Expected (or at least more practical): Expand paths to all nodes in alarm.

kasemir commented 7 years ago

Update:

tree3

kasemir commented 7 years ago

While #2067 fixes missing PVs and 'expand errors', noticed that the code could do with an overall rework: