Repository navigation
Commit 1250467
committed
chore(tui): instrument the dialog input path
Two attempts at making the keys work have failed, both by reasoning about the
API rather than observing it. Rather than guess a third time, trace every point
where the chain can break: whether openDisplayDialog is called, whether the app
slot render fires and registers the layer, whether the layer factory re-runs and
what its target resolves to, whether the ref callback receives a real renderable
and whether focus() succeeds, and whether each key handler runs at all.
That last one is the decisive split: "handler never ran" means the layer is not
receiving keys, while "handler ran and did nothing" means the state is wrong.
The current guess is that the layer registers fine but its target never becomes
the focused renderable, which would make it permanently inert while looking
perfectly healthy in the source.
Temporary. Remove once the keys are confirmed.1 parent 3e5cd79 commit 1250467
1 file changed
Lines changed: 44 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
419 | 428 | | |
420 | 429 | | |
421 | 430 | | |
| 431 | + | |
422 | 432 | | |
423 | 433 | | |
424 | 434 | | |
| |||
428 | 438 | | |
429 | 439 | | |
430 | 440 | | |
| 441 | + | |
431 | 442 | | |
432 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
433 | 449 | | |
434 | 450 | | |
435 | 451 | | |
| |||
452 | 468 | | |
453 | 469 | | |
454 | 470 | | |
| 471 | + | |
455 | 472 | | |
456 | 473 | | |
457 | 474 | | |
| |||
463 | 480 | | |
464 | 481 | | |
465 | 482 | | |
466 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
467 | 488 | | |
468 | 489 | | |
469 | | - | |
470 | | - | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
471 | 506 | | |
472 | 507 | | |
473 | 508 | | |
474 | 509 | | |
| 510 | + | |
475 | 511 | | |
476 | 512 | | |
477 | 513 | | |
| |||
481 | 517 | | |
482 | 518 | | |
483 | 519 | | |
| 520 | + | |
484 | 521 | | |
485 | 522 | | |
486 | 523 | | |
| |||
490 | 527 | | |
491 | 528 | | |
492 | 529 | | |
| 530 | + | |
493 | 531 | | |
494 | 532 | | |
495 | 533 | | |
496 | 534 | | |
497 | 535 | | |
498 | 536 | | |
499 | | - | |
| 537 | + | |
| 538 | + | |
500 | 539 | | |
501 | 540 | | |
502 | 541 | | |
| |||
0 commit comments