openmct icon indicating copy to clipboard operation
openmct copied to clipboard

[Multiple Y-Axes] Elements tab in inspector incorrectly shows which axis an element is in.

Open rukmini-bose opened this issue 1 year ago • 3 comments

Summary

If a user is on a plot in which multiple y-axes are being used, the elements pool is not correctly showing which elements are under each axis. Instead, all the elements are being shown under Y Axis 1. If you look closely enough, when you navigate to the Elements tab, you can visually see all elements move from their assigned y-axes to only Y Axis 1. Reloading/navigating away and back does not fix this issue either.

https://github.com/nasa/openmct/assets/48999852/54abc6e3-ecc5-4cd2-9367-3b2bbd9e193f

Expected vs Current Behavior

If elements are moved to use different y-axes, you should be able to see which elements are in which axis in the Elements tab.

Steps to Reproduce

  1. Create/navigate to an Overlay Plot and make sure the plot is using multiple telemetry points.
  2. Go into Edit mode and drag one of the elements to use a different Y Axis (Axis 2 or 3). Then Save.
  3. Go back into Edit mode and navigate to the Elements tab. Observe that the element that was moved to a different axis goes back to Axis 1.

Environment

  • Open MCT Version: 3.0.0-SNAPSHOT
  • Deployment Type: Testathon
  • OS:
  • Browser: Chrome

Impact Check List

  • [ ] Data loss or misrepresented data?
  • [ ] Regression? Did this used to work or has it always been broken?
  • [ ] Is there a workaround available?
  • [ ] Does this impact a critical component?
  • [ ] Is this just a visual bug with no functional impact?
  • [ ] Does this block the execution of e2e tests?
  • [ ] Does this have an impact on Performance?

Additional Information

rukmini-bose avatar Aug 21 '23 19:08 rukmini-bose

I reproduced this, but did not get this bug. Could you provide what values you're using in each of the sine wave instances? (Edit: This issue was busy, nvm!)

evenstensberg avatar Aug 21 '23 19:08 evenstensberg

@rukmini-bose I'm unable to reproduce this on Testathon. I think you found this issue just as I was restarting YAMCS on banner and starting it in replay mode, so I'm thinking it was a side-effect of losing connectivity.

ozyx avatar Aug 21 '23 20:08 ozyx

Reopening this. I saw this happen but only with certain (old) overlay plots and SWGs on banner. Still need to identify the root cause, but the issue seems to be only visual.

Rukmini's Update: This issue is still around, and I can verify that this happens mainly with SWGs, even in new plots

ozyx avatar Aug 22 '23 00:08 ozyx