Commit e1c068e
gui: nine things the owner saw in the running window (#115)
* gui: nine things the owner saw in the running window
Every one measured on the built window with the pilot before any code, and
photographed again after. In the order the owner listed them:
1. A field's explanation opens on the surface an open list floats on, not on
the panel's colour - drawn over a panel it had no edge anywhere.
2. A list opens downward whenever a few whole rows fit under its box, cut to
that room in whole rows and scrolling, and turns upward only for a box
standing just over the bar. The format list on the preset screen opened
over the question the preset asks.
3. A list with pictures keeps its tick in front, then the picture, then the
word - the shape it had before #107 moved the tick to the end of every
row and pulled the picture and the word a column to the left. A list
without pictures keeps the shape #107 gave it.
4. The window coming to the front no longer marks whatever holds the keyboard
as if the keyboard had just arrived. The driver calls FocusGained on the
focused control at every activation, the first one included - right after
Open has put the keyboard on the first field quietly - so the first menu
on the first screen opened blue and every other menu was grey. The
foreground hook tells the control the window is returning, and the mark is
drawn again only if it was drawn before.
5. A box for a name, a template, a file name, a password or a list of sizes is
two number boxes wide (TextWidth), and only a path still takes the row.
6. The tick of a switch is drawn on the whole of its square.
7. A first start opens as tall as the screen it opens on wants, not as tall as
the tallest screen - the band of nothing under the first screen's form.
8. A secondary button wears the surface a box to type in has, with its edge,
lifted under the pointer and again under a press - an outline round
nothing read as a bordered word.
9. The busy face - the frozen form, Cancel, the bar - waits BusyFaceAfter
before it appears, so a preview that is over in 50 ms no longer flashes it
and takes it back. The state is immediate: a second press inside that
moment is refused. The row of buttons is laid out again whenever a button
comes or goes, because the toolkit lays out the parent of a hidden child
and hands the row its old size - Preview and Generate stood half a Cancel
to the left after every preview. The runner stood at its ceiling of fields
and of methods, so the state and the face moved into a type of their own,
and the Host grew Later, the clock only a real window can promise lands on
the thread that draws.
Guards for each, the stored screens regenerated, the catalogue names the two
new exports. The mutation entries live in the toolbox beside the docs.
Co-Authored-By: Claude Opus 5 <[email protected]>
* guard: the type ceilings move down to today's widest types
The runner stood on both ceilings and is no longer the widest type: the busy
state and its controls left it. The ratchet only goes down - parts.Fields at
27 methods, window.batch at 21 fields. The gate that says so was not in the
local subset, which is how CI saw it first.
Co-Authored-By: Claude Opus 5 <[email protected]>
* gui: after the outside review of #115 - the hook under a guard, an epoch on the busy face, one changelog
Three remarks, each measured before being taken:
- The foreground hook lived inside Run, behind cgo, where no guard reaches.
Its body is gui.WindowReturning now, in a file of its own, and a guard
calls it with a canvas of the test driver's - a focused menu told the
window is returning draws no mark, a focused box to type in is left alone,
nothing focused and no canvas are fine. The registration line is read out
of the source, the way the refusal seam's is.
- Calling the clock off cannot cancel a face the real window's clock has
already handed to the toolkit's queue, so a preview's face could land on
the run pressed in that gap and leave it without a bar. Each piece of work
is an epoch and a face checks it is still its own. The guard plays it
out with the held clock and a hold armed twice, and goes red on an epoch
check made always true.
- Two Unreleased changelog entries described two sizing rules for the first
start. The older one says what the window does now.
Co-Authored-By: Claude Opus 5 <[email protected]>
* gui: the hook's file asks for the method by shape, so the window binary builds with cgo off on darwin again
returning.go imported parts for one interface, and parts reaches the
toolkit's widget tree - whose internal/widget does not compile on darwin
without cgo, as ci.yml has recorded since 2026-08-20. The guard that builds
the window binary with cgo off runs on the system it is on, so Linux and
Windows stayed green and only the macOS job went red. The interface is now
asked for by shape, and a guard reads the import lists of every file of the
window package outside the cgo build, so the question is asked the same on
every system.
Co-Authored-By: Claude Opus 5 <[email protected]>
* guard: a full stop where a comment had a semicolon, so the punctuation guard is green on every system
The fourth push of #115 went red on all four test jobs (ubuntu, macOS,
Windows, coverage gate) for one cause: a comment in the guard added by
695df9d held a semicolon, and TestProseInTheRepositoryUsesFlatHyphensAndNoSemicolons
asks every comment for a full stop or a comma instead (D17). The file was
written after that session's cheap gates had run, so the gates proved a tree
that no longer existed. One line changes.
Checked before this push: the 44 cheap whole-tree gates named in the
guard files, the window binary with cgo off on darwin/arm64 and on Windows,
and preflight --quick with the full suite and the fidelity oracles, all green.
Co-Authored-By: Claude Opus 5 <[email protected]>
---------
Co-authored-by: Claude Opus 5 <[email protected]>1 parent b98b4c6 commit e1c068e
89 files changed
Lines changed: 2614 additions & 1214 deletions
File tree
- internal
- guard
- testdata/screens
- gui
- catalogue
- parts
- window
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
19 | 40 | | |
20 | 41 | | |
21 | 42 | | |
| |||
84 | 105 | | |
85 | 106 | | |
86 | 107 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
94 | 117 | | |
95 | 118 | | |
96 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
0 commit comments