Files
OrcaSlicer/src/slic3r/GUI
Tommaso BianchiandClaude Opus 5 f6c551540e The key tracer had been printing one letter of the answer all along
focus= in [KEYTRACE] was never a class name. GetClassName() returns const wxChar* — wchar_t* in
this build — and the line cast that to const char* and printed it with %s, so it emitted the first
byte and stopped at the padding NUL. "wxGLCanvas" came out as "w". So did "wxWindow". Every focus
reading taken from this instrument for a whole day of diagnosis was a single character, and the
one question it existed to answer — WHICH widget has the keyboard — was the one it could not
answer. Printed through wxString now, and it says focus=wxGLCanvas: the canvas does hold wx focus
while the field is open, which removes the focus hypothesis for good.

Also here, and HONESTLY LABELLED AS INCONCLUSIVE: a wxEVT_CHAR probe on the canvas. It logged
nothing (cc=0), and the tempting reading is "the characters never reach the canvas". That reading
is not available, because the probe is bound in the DesignCanvas constructor BEFORE
GLCanvas3D::bind_event_handlers(), and wx runs the most recently bound handler first —
GLCanvas3D::on_char returns without Skip() exactly when ImGui consumes a character, which is
precisely the case under test. A silent probe is therefore consistent with ImGui consuming the
keys correctly AND with them never arriving. It measures nothing. Rebind it after
bind_event_handlers(), or instrument update_key_data itself, before believing anything about it.

Writing this down rather than acting on it: I came within one commit of "fixing" a mechanism I had
inferred from an instrument that could not see it, which is the same mistake as the focus= field
above and the same mistake that cost a whole session in September.

Deployed binary restored to 00d6c191dc (md5 0eeb9a58cef5).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FbJKJAJxxkhDTs9XdZzKA
2026-09-06 10:58:05 +02:00
..
2026-08-23 22:11:48 +08:00
2026-07-29 19:37:17 +08:00
2025-10-05 16:02:17 +08:00
2026-04-20 19:27:38 -03:00
2026-01-03 23:06:57 +08:00
2026-07-29 19:37:17 +08:00
2025-07-06 11:34:47 +08:00
2026-08-23 22:43:41 +08:00
2026-06-07 13:12:51 +08:00
2026-06-18 09:13:51 -03:00
2023-12-01 10:42:45 +00:00
2026-07-18 03:15:11 +08:00
2023-08-30 23:38:33 +08:00
2026-08-23 22:43:41 +08:00
2026-08-23 22:43:41 +08:00
2026-07-29 16:27:15 -03:00
2026-08-23 22:11:49 +08:00
2026-06-18 09:13:51 -03:00
2025-08-22 20:02:26 +08:00
2026-08-23 22:43:41 +08:00
2023-12-01 10:42:45 +00:00
2025-10-02 09:30:48 +08:00
…
2026-07-24 09:41:24 -03:00
2026-08-25 22:10:49 +08:00
2023-08-09 13:42:41 +08:00
2025-10-02 09:30:48 +08:00
2025-10-28 15:29:56 +08:00
2026-08-19 01:37:23 +08:00
2026-07-17 08:30:22 +08:00
2025-10-28 15:29:56 +08:00
…
2025-09-21 23:01:08 +08:00
2026-07-29 19:37:17 +08:00
2026-08-19 14:08:19 +08:00
2026-08-19 14:08:19 +08:00
2026-04-25 18:14:51 +08:00
2026-08-23 22:11:48 +08:00
2026-07-02 17:49:36 +08:00
2026-07-28 19:17:26 +08:00
2026-07-29 16:27:15 -03:00
2026-07-02 17:49:36 +08:00
2026-07-02 17:49:36 +08:00
2026-08-06 06:08:02 +08:00
2026-08-06 06:08:02 +08:00
2026-06-18 09:13:51 -03:00
2026-01-03 23:06:57 +08:00
2026-01-23 17:05:56 +08:00
2026-08-23 22:43:41 +08:00
2026-08-25 22:10:49 +08:00
2026-02-04 11:40:02 +00:00
2026-01-23 17:05:56 +08:00
2026-01-23 17:05:56 +08:00
2026-07-02 17:49:36 +08:00
2026-07-02 17:49:36 +08:00
2025-10-28 15:30:06 +08:00
2025-10-28 15:29:56 +08:00
2026-08-23 22:43:41 +08:00
2026-08-23 22:11:48 +08:00