The grip a tool rail is dragged by showed the plain arrow, while the grips
of a collapsed column show grab and grabbing. A movable marked GroupGrip now
requests Grab over it and Grabbing while held, at part priority, so a drop
target's cursor during the drag still wins.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A docked stepped column (a tool rail) was clamped to its content's height, so under a docked
toolbar the window background showed instead of the toolbar's surface. The reference
application keeps the docked toolbar's column surface down to the dock's foot, with the tools
at the top. Docked, a stepped column now takes the dock's height like any column; a floating
stepped window stays as tall as its content.
The dividers between docked columns and between a dock and the document area were the inline
gap (6 px comfortable, 4 compact); the reference application's are 3 px at 100%. They are now
the tight gap (3 px comfortable, 2 compact).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A turned frame stopped at the image's edge on a move (photocraft#16460);
the reference application lets it go past and fills the area there, as for
an upright frame (photocraft#16404). Only the turn itself still keeps the
frame inside the turned image (photocraft#10869).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dropdown_target hands the opener's list keys to the named collection only when
it registered a stop in the last pass, so a dropdown that shows no list (the
font picker with no matching family) leaves Enter with the field, which
commits the typed name. The font picker names its family list on every pass.
The trial covers the no-match case with the class column shown.
A dropdown's opener (a picker's field or button) hands Up, Down, Page keys,
Enter and Tab to a collection in its dropdown. The framework took the first
type-ahead collection it found in the layer. The font picker's dropdown holds
the class column before the family list, so with filters shown Enter and the
arrows went to the class column: typing a name and pressing Enter picked
nothing.
Overlay::list (FocusPolicy::list) names the collection instead, and every
dropdown names its list: Select, ComboBox, TreePicker, completions, number
presets, PopupList (new PopupList::list) and the font picker, which names its
family list while it shows one. The type-ahead guess is gone.
The grip strip keeps 2 points more above its marks than below them in
every theme, so the marks stand clear of the column bar or icon group
above. Pro's dark mode pins line.grip to #555555 (it derived #474747 on
the #323232 panel), easier to see; token dumps follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every pass the Navigator pulled the view's centre back into the document
and wrote it back when it differed, also when it had moved nothing. With
Overscroll on, a view the scroll bars or the Hand put on the pasteboard
went back to the document's edge at once: the scroll bars stopped there
(the thumb never reached its track's ends) and their drags ended on the
change, while the Navigator panel was shown. Only a centre the Navigator
moved in its pass is kept inside the document now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GroupDrag carries the press a rail's grip started it with; a drop that
moves the floating window it is the whole of moves the window by the
pointer's travel from there (kept inside the float area) and keeps its
size, instead of putting its title row under the pointer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The grip under a tool rail's column bar starts a drag of the rail's group;
released over empty room it floated the group under the pointer, which the
model refuses for a group that floats already, so a floating toolbar's grip
did nothing. A unit that is a whole floating window now moves that window
under the pointer (Action::MoveFloating), as its title row does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The grip strip above an icon group and under a tool rail's column bar
was the least hit size (8 points), so the 5-point ticks nearly touched
its top edge. It is now tall enough for the theme's marks with
space.gap.tight above and below them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without a ready face the sample measured no width, so an unavailable sample
allocated nothing. It reserves the most the ready layout can take, the width it is
offered, at LINE_EM of its size: the band the sample will draw in. A ready face
lays out as before.
DocumentWindow::level stands the window at a WindowLevel; with Palette a
floating document stays above the app's main window while the app is
active, drops below a blocking dialog and hides with the minimized main
window. first_placed's doc says what it does: the window is kept at the
rect while shown, so a caller whose user moves the window follows it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
shape.grip in a theme file sets the grips' marks: ticks or dots, how many,
a tick's length, a mark's width and the gap. Each value is optional and
keeps the default, now eleven ticks five points tall (one more mark and
one point taller than the reference application's ten of four). The
theme editor, the writer (unknown keys kept) and the token dumps carry it;
GripMarks paints from the tokens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The banner drew the preview text in the current family even when its face lacks the
text's characters (tofu). It takes the rows' sample text, through the same
FamilyInfos::sample_text: the text, else the family's name, else its first glyphs.
Every row's sample shows the picker's sample text: the host's preview text, else the
sample word. The Arabic second sample and its script check are gone. A face that
lacks the text's characters keeps the existing fallback: its name, else its first
glyphs.
A sample, in a row, the banner or the panel, is laid out and drawn only in its own
face once it is ready. Until then (and for good when the face is unavailable or the
family has none, SampleFace::Missing) it keeps its band, LINE_EM of its size high,
and draws nothing, instead of laying the text out in the interface face, which may
lack its characters.
The Arabic story becomes font_picker_arabic_sample_text: an Arabic preview text over
a catalog with Noto Sans Arabic.
A trailing or optional field was capped at the base row height, so in a taller row
(a large thumbnail) a field that measures taller was cut to one base row and centred,
clipping what it drew outside that band (the font picker's Arabic sample lost its
hamza and dots). It is capped at its slot, the row's height, as cell fields are.
The overlay test also moves the image with Auto Center Preview on, and a CropTool test moves an
upright frame past the canvas with the default settings (image mode, Auto Center, Delete Cropped
Pixels on), at 31 % and with snapping to the document's edges, as the app runs it.
Part of storytold/photocraft#16404.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The story's catalog had no face that maps Arabic, so no row showed the
Arabic sample. craft-font-manager's build script embeds Noto Sans Arabic
with fonts-build's Embed when the suite feature is on and CRAFT_FONTS_DIR
names a craft-fonts checkout; without it the table is empty and the story
shows the other families only.
A memoized view starts a layout room of its own (`start_view_room`), which dropped the row line of
the row around it. A fill-width row shown through a memoized view (an app's options bar in the
shell's options slot) then measured its content with its padding on top and bottom instead of
taking the slot's line: its members sat below the slot's middle and the bottom of a text button's
outline was cut off. The view now keeps the line as a levelled unit does (`places: false`): its
content fills the line without taking slots on it.
Fixesstorytold/photocraft#16405.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`paint_outside` filled each convex piece of the area outside the frame on its own, feathered on all
its edges, so along an edge two pieces share both faded out and the translucent shield left a thin
strip less covered than the rest: a light line from the frame's corner to the window's edge. The
pieces are now one mesh without feathering (`Draw::data_fill_tiled`), whose triangles meet with no
gap and no overlap. Crop and Perspective Crop both paint through it.
Fixesstorytold/photocraft#16410.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dock grips drew their marks at 0.83 of the panel colour, as the references do on their lighter
panels; on our dark panels that is #2a2a2a on #323232, almost invisible, and no theme could choose
it. The marks now use a `line.grip` token: by default two steps from the panel (lighter in dark
mode, darker in light mode; Pro dark #474747 on #323232), and a theme can pin its own.
Fixesstorytold/photocraft#16406.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An edge or corner drag of a document crop already goes past the canvas (photocraft#16043); a move
of the frame (Classic Mode) or of the image under it (image mode) still stopped at the canvas
edge, so a crop could not take in the area past it by a move. In the reference application it
does. A move of an upright document crop now goes past the bounds too; a turned frame's move, turns,
drawn frames, nudges and a placed picture's crop keep their limits.
Fixesstorytold/photocraft#16404.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The canvas settles the view a drag proposes to whole device pixels, so the view the app writes
back differs from the Navigator preview's proposal by a fraction of a pixel. The preview used the
default `same_value` (exact equality), so the host-change check ended its drag after the first
move and the canvas only caught up on the release. It now compares with the tolerance the canvas
scroll bars use (photocraft#16006), shared as `settled_as_proposed`.
Fixesstorytold/photocraft#16403.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An empty commit inserts nothing, so it replaces no selection (the Type
tool's selected placeholder, photocraft#15556) and ends no composition
whose confirming key needs the guard frame. An empty commit that ends a
composition still ends it.
- FontPreviewBanner measures its name and sample, not the room: reporting the room sized the popup layer to the banner, so the rows under it took no pointer input.
- TreeLeaves::Aligned keeps an empty disclosure column on top-level leaves instead of adding an indent step, which the shrink rule gave up first. The picker aligns only lists that have a family to open, so a plain list keeps its names at the start. ListRow::leaves is a derived prop.
- A collection inside a row or grid takes no layer floor: the class column took the field's width beside the font list.
- The name column is as wide as NAME_SAMPLE, the rule the field's width follows; the list shows no column header; style rows stay in the name column and reserve the check column.
- Row samples are named "{name}: {sample}", as the font manager names its samples, so the row keeps the family's name to itself.
- The Arabic sample shows as an optional trailing field.
- FontPreviewBanner has stories; the open-list story shows the recent group, a family with styles and the class column.