Repository navigation
Commit ccb4750
authored
fix: attribute sheet controls to the window the sheet is attached to (#8)
Save and Open sheets are separate WindowServer windows outside the app's
AXWindows; their controls link to the sheet or to the Open and Save Panel
Service's window, so the detached identity read before focus and value
writes could not resolve the observed window and refused every mutation
(githubnext/ace#378). Resolve the nearest same-process AXWindow instead,
in one helper shared by element identity and the detached reader.1 parent d18f1a3 commit ccb4750
4 files changed
Lines changed: 368 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
175 | 187 | | |
176 | 188 | | |
177 | 189 | | |
| |||
0 commit comments