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
{{ message }}
Repository navigation
Commit e4b39db
Browse filesBrowse the repository at this point in the historyBrowse files
Fix NModeStepCmd's ret=false bug; attempt (unconfirmed) fix for animation radio box not switching (#81)
NModeStepCmd::execute() declared `ret = false` and never set it true on
success, unlike ShowFragCmd/NModeTraceCmd -- fixed to match. Found while
investigating a report that vibration-mode animation (#81, supposedly
fixed by 07e7bf9) still didn't work live; doesn't appear to be the
actual cause (Builder::execute() calls refreshRenderArea() unconditionally
regardless of a command's return value) but is a real, distinct defect.
Live debugging (strace, live screenshots via xdotool, a synced synthetic
click) traced the real symptom to something earlier: the Vibrational
Frequencies panel's Animation/Vector radio box doesn't deliver its click
event under wx3.2/GTK3 here. Confirmed at the syscall level with an
instrumented build -- the native GTK widget's selected bullet toggles
correctly on click, but NModePanel::OnRadioboxSelected() is never
entered, for a real click or a precisely-synced synthetic one. Since the
Animation/Vector display switch (row visibility, scene-graph switches)
is entirely gated on that event, nothing downstream ever runs.
Added NModePanel::OnRadioboxUpdateUI(), bound via EVT_UPDATE_UI, on the
theory that wx's idle-time UI-update poll would sidestep whatever GTK
signal wiring is failing for the click event specifically. Built,
packaged, and live-tested same day: no visible difference. This fix
does NOT resolve the reported symptom, or doesn't for the reason
assumed. Left in place (harmless, and correct in isolation) with an
honest code comment and a CLAUDE.md writeup for the next session, since
the diagnostic work (confirming the native event never arrives) is
solid and shouldn't need re-deriving, but the fix itself is not.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N4kYrC9KXyyiUzQrkS8ha3
0 commit comments