jetperch / pyjoulescope_ui

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

Multimeter widget accrue + hold does not hold on resize #203

Closed mliberty1 closed 11 months ago

mliberty1 commented 12 months ago

Joulescope model

JS220 (but should apply to JS110, too)

UI version

1.0.23

What OS are you seeing the problem on?

Windows 11 (but should be an issue on all platforms)

What happened?

In the Multimeter Widget, if you select Accrue and then select Hold, the values are maintained. However, if you then resize the window, you held values are lost and you see the most recent values instead.

What was expected?

The Multimeter Widget should keep the held values until the Hold button is pressed again.

How to reproduce?

  1. Clear the Joulescope config (Start UI, File → Clear config and exit)
  2. Start the UI
  3. Press Accrue
  4. Press Hold
  5. Resize the window and watch the values change

multimeter_hold

Extra information

https://forum.joulescope.com/t/multimeter-still-updates-values-after-hold/627

Workaround

Do not resize the Joulescope UI when both Accrue and Hold are active in the Multimeter widget.

mliberty1 commented 11 months ago

Fixed in 1.0.27