You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hint at a stale Bluetooth serial port if the machine does not respond
On macOS a Bluetooth serial port can survive a system suspension as a stale
device: /dev/cu.<machine> still exists and opens successfully, but there is no
serial connection behind it any longer, so nothing is sent or received. The
connect loop then repeats "connection timeout" forever while the user is left
with empty readings and no indication of what to do. The port can only be
re-established by removing the machine in the system Bluetooth settings and
pairing it again (neither toggling Bluetooth nor reconnecting the device
rebuilds it, and the Bluetooth daemon cannot be restarted under SIP).
- counts the connect attempts of the Kaleido serial transport that opened the
port but received no response from the machine and, after three of them,
logs a hint and reports it to the user via the new unresponsive_handler
- the hint is raised only once per unresponsive phase and re-armed by a
successful connect, so a machine that is simply switched off does not repeat
the message on every reconnect attempt
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
unresponsive_handler=lambda : self.aw.sendmessageSignal.emit(QApplication.translate('Message', '{} does not respond. If connected via Bluetooth, remove the machine in the system Bluetooth settings and pair it again.').format('Kaleido'),True,None))
Copy file name to clipboardExpand all lines: wiki/ReleaseHistory.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ v4.2.2
22
22
- faster app start (startup time redued by ~50%)
23
23
- refreshed UI
24
24
* FIXES
25
+
- reports a hint if the serial port of a Kaleido machine opens, but the machine does not respond, as a Bluetooth serial port can be left behind stale by a system suspension on macOS ([Issue #2226](../../../issues/2226))
25
26
- fixes faulty hash generation on files created using `Save As` causing `modified file` warnings on load ([Issue #2205](../../../issues/2205))
26
27
- fixes regression causing canvas color not being applied correctly ([Issue #2212](../../../issues/2212))
0 commit comments