multiple Calibration dialogs open after USB disconnect/connect while executing calibration
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.:
- Go to 'Oscillospe/Calibrate'
- Click on '....'
- touch USB Shield, triggers a short disconnect of USB connection and instant reconnection
- See a new calibration dialog
EXPECTED BEHAVIOUR
Only a single calibration dialog while calibration was started but not completed yet
SCREENSHOTS
3 dialogs are open but only one visible due to stacked windows of same size
ADDITIONAL CONTEXT
was fixed for Android in https://github.com/espotek-org/Labrador/pull/376 Likely this needs the same approach for all platforms