jetperch / pyjoulescope_ui

Joulescope graphical user interface
https://www.joulescope.com
Apache License 2.0
87 stars 26 forks source link

Settings widget does not update on view change #253

Closed mliberty1 closed 8 months ago

mliberty1 commented 9 months ago

Joulescope model

JS220, JS110

UI version

1.0.48

What OS are you seeing the problem on?

Windows 11

What happened?

The sidebar settings widget does not remain in sync with the active view.

What was expected?

The sidebar settings widget should remain up to date with the active view.

How to reproduce?

  1. Open the sidebar settings widget. Observe Viewname and the View's widgets under Widgets.
  2. In the menubar select View and then any other view.
  3. Open the sidebar settings widget. Observe Viewname and the View's widgets under Widgets. The View name did not update and the widgets are still for the previous view.

Extra information

The Settings widget is normally part of a view, so it works correctly. However, the sidebar settings widget persists between view changes. However, it is not updating correctly. The Settings widget needs to subscribe to the relevant pubsub topics to refresh itself.

mliberty1 commented 8 months ago

Fixed in 1.0.58