Labrador icon indicating copy to clipboard operation
Labrador copied to clipboard

multiple Calibration dialogs open after USB disconnect/connect while executing calibration

Open mi-hol opened this issue 2 weeks ago • 2 comments

PROBLEM DESCRIPTION

Calibration is not protected against multiple activation during a pending calibration

REQUESTED INFORMATION

  • [x] Verified with latest published Labrador version

  • [x] Searched the problem in the Troubleshooting Guide

  • [x] Searched the problem in the docs

  • [x] Searched the problem in issues

  • [x] Searched the problem in discussions

  • Hardware the software is running on: "System Type: x64-based PC"

  • Operating System (OS) Build Version: "OS Name: "Microsoft Windows 11 Home" & "OS Version: 25H2 (Build: 26200.7462)" & "OS Configuration: Standalone Workstation")

  • Labrador Git hash: 572b5577ae30ef21db59a318a3bd30c91987c1aa

TO REPRODUCE

Steps to reproduce the behavior: i.e.:

  1. Go to 'Oscillospe/Calibrate'
  2. Click on '....'
  3. touch USB Shield, triggers a short disconnect of USB connection and instant reconnection
  4. See a new calibration dialog

EXPECTED BEHAVIOUR

Only a single calibration dialog while calibration was started but not completed yet

SCREENSHOTS

Image

3 dialogs are open but only one visible due to stacked windows of same size Image

ADDITIONAL CONTEXT

was fixed for Android in https://github.com/espotek-org/Labrador/pull/376 Likely this needs the same approach for all platforms

mi-hol avatar Dec 20 '25 10:12 mi-hol