Commit Graph
9085 Commits
Author SHA1 Message Date
BFlat 34959dee6b Merge pull request #3456 from dotCooCoo/fix/dock-float-closed-keeps-place
dock: Action::Float of a closed panel keeps the docked place it would reopen at
2026-11-26 09:52:16 +07:00
BFlat 2ccbe14914 Merge pull request #3455 from dotCooCoo/fix/save-for-web-panes-fill-height
ui-patterns: Save for Web's preview panes fill the height beside the settings
2026-11-26 09:52:00 +07:00
BFlat 436f5c79ec Merge pull request #3450 from dotCooCoo/fix/paint-ring-wide-chip
swatch: a ring well wider than it is high keeps its open middle
2026-11-26 09:51:43 +07:00
BFlat 91877f4160 Merge pull request #3431 from dotCooCoo/fix/job-progress-layer-role
ui-contract, ui-panels: a job progress window's layer has the progress role, and OpenFilter::Asks leaves it out
2026-11-26 09:51:10 +07:00
BFlat 2952e91af0 Merge pull request #3430 from dotCooCoo/fix/rail-scroll-bar-at-rest
ui-contract, ui-panels: an overlay scroll bar can show at rest, and the tool rail can turn it on
2026-11-26 09:50:48 +07:00
BFlat efd996021f Merge pull request #3427 from dotCooCoo/fix/stroke-caps-closed-paths
draw: StrokeEditor::caps_on_closed keeps the Caps row enabled on a closed path without dashes
2026-11-26 09:50:28 +07:00
BFlat b2dafb1633 Merge pull request #3421 from dotCooCoo/fix/glyph-text-path
ui-contract: a value glyph can lay out text through the Draw that paints its icon
2026-11-26 09:50:11 +07:00
BFlat 96d8c7f233 Merge pull request #3420 from dotCooCoo/feat/per-inch-unit
ui-contract: UnitKind::PerInch shows a count per inch after its number (10/in)
2026-11-26 09:49:54 +07:00
BFlat 704fb97f22 Merge pull request #3419 from dotCooCoo/feat/select-picture-aspect
ui-widgets: Select::picture_aspect sets the width of an entry's picture
2026-11-26 09:49:37 +07:00
BFlat 3994c77bd8 Merge pull request #3417 from dotCooCoo/fix/color-ui-spectrum-square-boxes
color-ui: the FillStroke Color panel's Spectrum keeps its end boxes square
2026-11-26 09:49:19 +07:00
BFlat 5eef467f3f Merge pull request #3416 from dotCooCoo/fix/color-ui-recent-colors-empty-row
color-ui: the FillStroke Color panel shows its Recent Colors row while the list is empty
2026-11-26 09:49:02 +07:00
BFlat 20c6b5737e Merge pull request #3414 from dotCooCoo/fix/color-ui-harmony-label-row
color-ui: HarmonyPanel's variation end labels sit at the two edges of the grid
2026-11-26 09:48:43 +07:00
BFlat e13eb03e01 Merge pull request #3377 from dotCooCoo/fix/token-file-private-at-create
automation: the control token file is private from the moment it is created
2026-11-26 09:48:23 +07:00
Martin Ball 0cb8ed3974 Merge pull request #3487 from storytold/fix/wordcraft-7707-iconbutton-side-menu-ink
ui-widgets: an IconButton in a side menu takes the menu's ink (storytold/wordcraft#7707)
2026-11-26 01:00:27 +00:00
Martin Ball 5fc077ba70 Merge pull request #3482 from storytold/fix/wordcraft-7679-gallery-arrow-size
ui-widgets: a compact glyph role keeps the ribbon gallery's arrows small (storytold/wordcraft#7679)
2026-11-26 01:00:14 +00:00
Martin Ball f6a1bc3a3a Merge pull request #3471 from storytold/fix/wordcraft-7686-cm-ruler-labels
ui-canvas rulers: a centimetre document ruler labels every whole centimetre (storytold/wordcraft#7686)
2026-11-26 01:00:05 +00:00
David Mann 5c30761a86 Merge pull request #3599 from davidmann4/fix/photocraft-17006-token-cache-settings
automation: a settings change reads the agent token file again (photocraft#17006)
2026-11-26 01:34:19 +01:00
David MannandClaude Opus 5.5 54c74e91e6 automation: a settings change reads the agent token file again (photocraft#17006)
The token a failed start checked was kept for its retries, but also
across a settings change: after a taken port, agents off and on again
reused it without reading the token file, so a file changed in between
left the server on a token clients no longer find there. Only a retry
with the same settings reuses it now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 01:08:43 +01:00
Martin BallandClaude Opus 5.5 906d63e503 Merge remote-tracking branch 'origin/next' into fix/wordcraft-7707-iconbutton-side-menu-ink
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:04:20 +00:00
Martin BallandClaude Opus 5.5 c062a92ff7 Merge remote-tracking branch 'origin/next' into fix/wordcraft-7679-gallery-arrow-size
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:04:20 +00:00
Martin BallandClaude Opus 5.5 fc71a947af Merge remote-tracking branch 'origin/next' into fix/wordcraft-7686-cm-ruler-labels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:04:20 +00:00
David Mann e1fcf7e17a Merge pull request #3581 from davidmann4/fix/prefs-classic-layout
Preferences: an opt-in classic layout with a framed page list, group boxes and Prev/Next (photocraft#17014)
2026-11-26 01:00:08 +01:00
dotCooCoo abd107a5a3 Merge next into fix/dock-float-closed-keeps-place 2026-11-25 15:37:42 -08:00
David MannandClaude Opus 5.5 b0f72d8dad SectionList: only a framed list sets the columns' gap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:13:04 +01:00
David Mann 83a63bcad4 Merge pull request #3579 from davidmann4/fix/photocraft-17006-agent-link-retry
automation: a refused agent token file is replaced and not retried every 5 s (photocraft#17006)
2026-11-26 00:00:39 +01:00
David MannandClaude Opus 5.5 f74fe090fc Preferences: an opt-in classic layout with a framed page list, group boxes and Prev/Next
PreferencesLayout::Classic draws the paged body as a desktop preferences dialog does:
the page list in a frame as tall as the page (SectionList::framed) with room before the
page, no heading over the page, and each titled group a GroupBox. The window puts OK,
Cancel, Prev and Next in a column at the end edge (ButtonPlace::Side) and opens at
1030 x 660; Prev and Next step through the listed pages and wrap. Paged and Cards are
unchanged. PreferencesPageOutput::pages lists the page ids the search keeps.

For storytold/photocraft#17014.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:46:32 +01:00
David MannandClaude Opus 5.5 c3f6756594 automation: sync's docs name fresh_token as code, not a link to a private item
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:30:21 +01:00
dotCooCoo cd76656f64 Merge next into fix/dock-float-closed-keeps-place 2026-11-25 14:16:19 -08:00
David MannandClaude Opus 5.5 4269318aa5 WIP: Preferences classic layout (photocraft#17014)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:13:45 +01:00
David MannandClaude Opus 5.5 e92a3ffc1b automation: the agent link replaces a token file the check refuses (photocraft#17006)
An older PhotoCraft wrote the agent token file on Windows without
restricting it, so it kept its folder's access list (SYSTEM,
Administrators, the user). The current check refuses such a file and the
link only ever read it, so agents could never connect until someone
deleted the file by hand.

The link's token file is its own and the token is only its secret: a
regular file the check refuses (open to others, a damaged token) is now
replaced with a new token, once. A folder or link in its place is still
reported and left alone. A token file passed with --control-token-file
is unchanged: server_token itself still never replaces a file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:08:43 +01:00
David MannandClaude Opus 5.5 3849354dbd automation: a refused agent token file is not retried every 5 s (photocraft#17006)
On Windows the token file check starts whoami and PowerShell, about
300 ms on the UI thread. A token file that is open to others (or can't
be read) failed that check and was retried every RETRY, forever, so the
app froze for ~300 ms every ~5 s while agents were switched on.

- A TokenFile problem schedules no retry: it lasts until someone changes
  the file. Changing the settings tries again.
- Retries of a taken port reuse the token the failed start already
  checked, so they only bind again; a start that succeeded reads the
  file afresh next time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:42:29 +01:00
aiongg 93c2e08256 Merge pull request #3568 from aiongg/next-sync-1125b
Merge main into next: font-store Windows copies (#3467)
2026-11-25 15:06:45 -05:00
aiongg 6a53eb858d Merge pull request #3561 from aiongg/update-local-mirror
update: local-mirror, the feature that accepts a developer's loopback update server
2026-11-25 14:51:39 -05:00
aiongg 5a88f53924 Merge pull request #3563 from aiongg/float-popup-focus
Floating windows: a modal takes the keyboard from a window it blocks, menus in popup windows keep their state; egui b9770908e
2026-11-25 14:45:46 -05:00
aiongg 4d89973576 Merge main into next (font-store: Windows copies, #3467) 2026-11-25 19:44:12 +00:00
aiongg ccb5e70367 Merge pull request #3562 from aiongg/unreached-read-only-contract
CI: unreached-rs skips craft-pdf's read-only contract; compact is a derived prop
2026-11-25 14:28:51 -05:00
aiongg 0393de7e1c Merge the workspace lint fix (#3562) 2026-11-25 19:25:56 +00:00
aiongg 6a78a88ace Window trials: the settle loop runs its frames one by one (clippy) 2026-11-25 19:21:48 +00:00
Martin Ball 3b833ae55d Merge pull request #3549 from batistalucasv/fix/3548-preserve-frame-input
ui-test-kit: preserve FrameInput installed before Windows::frame_with_files
2026-11-25 19:21:28 +00:00
aiongg 8fa4db64a9 egui: the fork's head, b9770908e (a dropdown whose text is cut off shows it in a tooltip) 2026-11-25 19:11:46 +00:00
aiongg 444ba59795 A layer in a popup window remembers what it opened with
A layer opened in a palette window shows in a popup window of its own. Its host asked in the opener's viewport whether the layer appears in this pass, and only the popup's pass recorded that it had, so the layer appeared in every pass and forgot everything in between. The arrow keys never left a menu's first row, a menu hung at the pointer jumped while the pointer was over it, and a scrolled flyout went back to its top. The host now records the appearance in the opener's viewport too (`overlay::note_appeared`, split out of `begin_layer`), so both viewports agree.

With its memory kept, such a layer takes the two rules an in-window layer has: a right-click on its context opener hangs it at the new pointer (`recall_shown`, shared by both hosts), and the press that opened it from another window does not close it when the opener runs a second pass of the opening frame.

The window kit's `send` gives events to one child window, such as a popup's.
2026-11-25 19:11:46 +00:00
aiongg 2cc39c2c4e A modal that opens while a window it blocks has the keyboard takes it
A blocked window drops the keys, so a modal opened from a focused float by a key or a command (a save prompt in the main window) got none of them until the user clicked. The modal's window now gets one focus request 0.2 s after it becomes the app's modal, if a window it blocks still has the focus; an OS dialog that opens with the modal takes the focus in that time, and then nothing is sent. The modal's own popup windows keep the keyboard. It covers framework modals and FrameInput::app_modal alike (the docking of the former crate::ui did it for its floats, #306).
2026-11-25 19:11:46 +00:00
aiongg f94b37942b FontPicker and ComboBox: compact is a prop, so its setter is derived 2026-11-25 19:04:54 +00:00
aiongg 308af64e6c CI: unreached-rs skips craft-pdf's read-only contract, a workspace of its own 2026-11-25 19:01:37 +00:00
aiongg b225cd8810 Merge pull request #3551 from aiongg/float-menu
A window's records survive the frame that opens it: a panel floated from its tab menu shows
2026-11-25 14:01:14 -05:00
aiongg 6801f1f9b5 A window's records survive the frame that opens it: closed viewports' records go as a frame begins
Every pass's end hook dropped the per-viewport records of viewports its input did not list. That list dates from the
frame's start, so the root's end hook dropped the records of a window the frame had opened. A palette that opened
hidden under an open menu lost the note that it was hidden, and stayed hidden once the menu was gone: Float in a docked
tab's menu left no window to see when the opening frame ran a second pass. The root's begin hook now drops the records
of closed viewports in a frame's first pass, where the list names every window opened before.
2026-11-25 18:16:05 +00:00
batistalucasv c13ec14cf3 ui-test-kit: preserve FrameInput installed before Windows::frame_with_files 2026-11-25 15:13:25 -03:00
aiongg 6e308319c0 update: local-mirror, the feature that accepts a developer's loopback mirror
ArtCraft Launcher's development builds install from a mirror on this computer (its `local-mirror` feature, `cargo xtask local serve`). With the feature, `check_download_link` accepts loopback links and `Http::new` leaves the agents for remote hosts off HTTPS-only.

Without it nothing changes: a build refuses a loopback download link and the remote agents refuse plain HTTP before they connect. `default`, `ui`, `screen-testing`, `suite` and `oci_migration` do not turn it on; the facade forwards it only as its own `update-local-mirror`, which no other facade feature turns on.
2026-11-25 17:06:02 +00:00
Lucas Batista Vargas c79d8d399d font-manager, ui-widgets: compact toolbar sizing for FontPicker and ComboBox (#3043) (#3053) 2026-11-25 16:30:45 +00:00
Lucas Batista Vargas 776c0bae9d ui-widgets: allow card Tile to render paper surface and large icon (#3041) (#3047) 2026-11-25 16:21:48 +00:00