Commit de371aa
authored
Fix community apply cancelling every time due to a focus race (#259)
fix: reactivate Codex before the community-apply rollback verification
DreamSkin is an LSUIElement (menu-bar only, no Dock icon). Once its own
confirmation alert closes, macOS never automatically hands focus back
to Codex. That leaves document.visibilityState stuck on "hidden" in
the Codex renderer, so captureActiveThemeThenApplyImported's rollback-
snapshot verification spuriously fails and cancels every community
apply within its full 12s/24-attempt retry budget, even though the
visible theme content is correct.
Confirmed live: the exact preserved rollback snapshot from a failed
attempt passes injector --verify immediately when Codex is manually
reactivated first, proving the snapshot content was never the problem.1 parent 3714afe commit de371aa
1 file changed
Lines changed: 13 additions & 0 deletions
File tree
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| 816 | + | |
816 | 817 | | |
817 | 818 | | |
818 | 819 | | |
| |||
1283 | 1284 | | |
1284 | 1285 | | |
1285 | 1286 | | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
1286 | 1299 | | |
1287 | 1300 | | |
1288 | 1301 | | |
| |||
0 commit comments