otko/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
smillmorel 5262d31e33 fix: stop the Plotly hover handler redrawing on every mouse move
plotly_hover/plotly_unhover fire continuously while the mouse moves, and
the unhover handler restyled the snap marker unconditionally - even with
snapping off and nothing visible. That meant a full Plotly.restyle plus
redraw per mouse event, which re-fired hover until the page died with
'RangeError: Maximum call stack size exceeded' and the canvas froze
(reported live after opening a model).

The marker is now updated only when its visible state actually changes: no
marker when snapping is off, and a restyle only when the snapped point
differs from the one already shown. Deliberately synchronous - timers are
throttled to about a second by WebEngine when the page is not compositing,
which stalled the preview. Measured: 200 mouse-move events went from 200
restyles to 0; 200 hovers on one grid dot cost a single restyle.
2026-09-16 20:33:30 -04:00
..
gui fix: stop the Plotly hover handler redrawing on every mouse move 2026-09-16 20:33:30 -04:00
integration style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
services style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
tools style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
unit feat: opstool-style scene recipe for the Plotly canvas 2026-09-16 20:05:26 -04:00
__init__.py feat: initial otko import 2026-09-08 02:12:15 -04:00
conftest.py test: isolate QSettings so user preferences cannot fail GUI tests 2026-09-16 19:15:48 -04:00