#8099 added five @msg rows to id.tsv (the opacity messages for
paint.setFill and paint.setStroke) that the catalog already had at lines
487 to 491, so main's gate failed on
i18n::tests::bundled_catalogs_are_consistent with "defined twice (same
context and source text)". The second copy is removed; the first copy
is kept.
Turning the Bleed link on sets all four sides to Top's bleed, as the
linked fields did before the row was rebuilt. A drag on a side's name
scrubs its field again.
#9945 placed every frame drawn by reproject_frame on whole device pixels.
That also moved the cached frame shown while the canvas is panned,
zoomed, resized or moved to another display by up to half a device pixel,
so it no longer sat where the document maps it, and main's gate failed on
canvas::tests::cached_frames_keep_their_scale_during_resize_rotation_and_dpi_changes.
A frame now snaps only when it was rendered for the current center, zoom,
canvas size and pixel density. A frame reprojected while the view changes
keeps its exact document mapping until the replacement arrives, and steady
frames stay sharp as #9945 intended.
#9835 made OK start a fresh preview to validate the values afresh, but
it replaced the running LivePreview without ending it. A fresh preview
does not start while another interaction is open, so with Preview on OK
was refused and the old preview's interaction stayed open. Reopening the
effect then could not preview: main's gate failed on
dialogs::revolve::tests::lighting_presets_cancel_restores_an_existing_custom_light_rig.
OK now ends the running preview with cancel_preview first, then runs the
fresh preview and commits it as before.
The opacity path of paint.setFill and paint.setStroke (apply_paint_opacity)
never checked `target` or `aligned`. With `id` or `ids` naming an object,
item_target reads no `target`, so a call such as {"opacity": 40,
"target": "content", "id": ...} painted the object instead of failing.
The test added in 6898eed99 covers that case, and the opacity path from
4f065ccbb (Show Opacity in the Color Wheel panel) merged beside it without
the check, so main's gate failed on
tests::paintopacity::a_bad_target_is_refused_with_an_id_or_selected_characters.
The opacity path now runs the same two checks as the color path
(tool_color_params): appearance::aligned and appearance::targets_contents.
Valid values are read where they were before.
Preset Details puts each label above its field at the field's left edge:
Width, Height, Orientation, Artboards, the four Bleed sides and
Background Contents. The fields fill the column. Height, Orientation and
Artboards share one row, with a larger share for Orientation so its two
buttons stay side by side in a 900 by 700 window.
The four Bleed fields sit in one row, each under its side's name, with
the link button at the end. The row wraps when the column has no room
for all four, so Left and Right no longer run past the dialog's right
edge. A linked edit sets all four sides; an unlinked one sets its side.
More Settings and Manage Profiles are full-width buttons, one above the
other.
- Transform effect: the Scale, Move and Rotate rows span the dialog
instead of sitting behind a "Transform" label, and Reflect X,
Reflect Y and Random show their names (the boxes were unlabeled).
- Transform Each: the reference point picker shows its name.
- Zig Zag, Roughen and Tweak: Relative and Absolute stand on one
line, and so do Smooth and Corner.
- Corners: Relative and Absolute stand on one line.
- Drop Shadow: the color well stands under Color and the Darkness
field under Darkness.
- Print: the Range field stands under the Range choice instead of
after Ignore Artboards.
Each uses the form's own radio layouts (options_in_row, under_option)
and plain check box rows. Tests in tests/dialog_layout.rs check where
the dialogs paint these rows.
The Global Edit Options popover (Properties panel and Control bar) laid its two captions, five options and the Results line out as one flat column, so the On Artboards caption sat closer to the Size option than to its own options. Match and On Artboards are now field groups in a stack with the framework's stack gap between the groups and before the Results line. Clicks are kept and run after the stack returns.
The framework port removed the check for a missing cursor theme. The
framework's cursor service paints a tool cursor only while the shell has
Caps::SYSTEM_CURSOR, and the shell always had it on Linux. On a Wayland
session where no cursor theme loads, winit cannot hide or set the
pointer, so the compositor's pointer stayed and the tool cursor was
painted next to it.
cursor_theme.rs gets theme_usable and theme_missing back, and
shell_caps leaves out Caps::SYSTEM_CURSOR on Wayland when no theme
loads. The window then shows the system pointer alone, as it did before
the port (#5734). Sessions with a cursor theme, X11 and XWayland are
unchanged.
With Use Preview Bounds on, a move lined up the outside of the selection's
stroke with the other art's geometric bounds, which Smart Guides always
use for the targets. A stroked object then stopped half a stroke short of
the edge it showed a guide for, or overlapped it by that much. The moved
selection's geometric bounds now line up with the targets' geometric
bounds whatever Use Preview Bounds says. Snap to Grid, Snap to Pixel and
the ruler guides still use the bounds the bounding box shows.
Part of #6436.
- The Rotate View compass of a turned view sits left of the vertical
scroll bar. It was placed in the canvas's top right corner, where the
scroll bar drew over most of it.
- With no document open, the status bar's artboard navigator shows a
dash instead of an empty box.
The title bar laid the app bar's right-hand controls out at the body's
row gap (5 pt in the compact sizes), so the hovered search button's
highlight came within 5 pt of the Discord button and the workspace
switcher. They now sit in a row at space.gap.item, the gap the framework
gives neighboring controls in a bar. The ranked controls still leave the
bar whole, Discord first, as the window narrows.
main draws the Artboards panel with the shared page list, whose list
fills the panel above its footer. The test now drives that panel
through the panel harness: in a 300 pt and a 700 pt panel the New
Artboard button ends inside the panel at its bottom and follows its
height, and with 36 artboards the last row lies below the footer.
The ui-parity and target-app-parity rows describe the list as it is
drawn now, and a stray tab in the test name is fixed.
#9555 merged with a merge of main that brought back the `owner` field
on `Waiting`. Main had removed it once the document check moved to the
captured UID and Revert counter. Nothing reads it, so clippy's
`-D warnings` failed main's gate with "field `owner` is never read" at
crates/ui-egui/src/file_asks.rs:42. The fix commit on #9555's branch
(8ed117a988) did not reach main before the merge.
The Manage Profiles and More Settings popovers pad their rows with the
regular pad and the stack gap. Manage Profiles shows its heading as a
section caption and lays the profiles out in a grid, so the Edit and
Reset buttons line up in columns.
Panel empty states (the shared empty_state helper, the Libraries
notices and the Properties panel with no document) sit inside the roomy
pad, so they no longer touch the tab strip, the panel edges or the
library picker above them.
In New Document, the Height, Orientation and Artboards row wraps
whenever it does not fit the column, so Artboards is not cut off, and
More Settings and Manage Profiles sit side by side the item gap apart.