ui.paramDialog for edit.findReplace used to drop a field of the wrong type, such as a number for find, and open on the last search. It now returns an error and leaves the dialog closed. A null field still gives none, as the menu item's does.
The Summary section shows option lines with the colon the language uses (a no-break space before it in French, a full-width colon in Japanese and Chinese). The saved Summary file wrote a plain colon. Both now build the line with one helper.
At a corner anchor the tool now shows "Corner" instead of "Cusp", and
`shape.curvatureCircle` returns "the path has a corner there, so it has
no single curvature".
- A closed subpath whose only segment with length loops back to its
start (a teardrop) has a corner at its tip, from both ends of the loop.
- An anchor marked smooth whose out handle points back along its in
handle is a corner.
- The guide error and the new corner error have rows in the 24 catalogs
that translate every message.
- A test covers a Smart Guides snapping tolerance larger than 5 screen
points, with Smart Guides off and on.
A linear dimension placed next to another one had its line exactly where
the pointer was. Chained dimensions only lined up when the pointer hit
the other line's level exactly, which at a normal zoom it rarely does.
- With Smart Guides on, a linear dimension placed with its line within
the Smart Guides snapping tolerance of the level of a parallel line of
a visible, unlocked linear dimension already drawn has its line on
that level. This applies to two clicked points and to a segment
dragged out.
- With Alignment Guides on, a guide runs along that level across both
lines while the dimension is placed.
- Smart Guides off, a level further off, a locked dimension or one that
is not parallel leaves the line where the pointer puts it.
Docs: docs/dimensions.md, docs/target-app-parity.md.
A pick of Edit › Find Next goes on from the last Find and Replace search or opens the dialog, so the palette lists it among the commands a pick still runs.
The table opens and places PostScript through the EPS reader, so PS
leaves the missing list, and .cdr drawings now open: 33 formats, missing
FreeHand and DWG.
The Arrow Style dropdown in Dimension Tool Options and in the Properties
panel's Dimension section showed only the names Filled, Open, Tick and
None. Each style now shows its arrowhead at the end of a short line
before its name, in the open list and in the closed field, drawn with
the Stroke panel's arrowhead previews. The four styles and their saved
values are unchanged.
ArrowStyle::arrowhead holds the style-to-arrowhead mapping, so the
dimension line and the preview use the same head.
dropdown_icon_names_sized takes an icon size that is not square.
Part of #8049.
- The release returns shape.circleThroughPoints followed by a Notify,
and the tool forgets the first segment only when it is told, so a
command that fails leaves the segment picked (as the Direct Selection
tool's FRAME_PICKED notice follows its command).
- The preview leaves out circles that three of their points cannot give
back, so the note shows where a click would draw nothing.
- A double-click draws nothing more: the canvas sends it after the
second click's release, which drew the circle.
- The re-exports for the tool are a separate `pub use` in the pathops
pathtools module, whose module comment is unchanged.
- Circles of one radius at places tried close together along the
first segment are no longer taken for repeats: a repeat also touches
the first segment at the same point. At a radius of 1,000,000 pt the
513 places along a 100 pt line were cut to 86.
- A test checks the note's row in every complete catalog.
Docs: a drag's circle may touch the first segment anywhere along it;
the circles that are left out; an out-of-range radius option leaves
the radius as it is. The ROADMAP, target-app-parity and ui-parity
entries move next to related entries, and docs/mcp.md is rewrapped to
120 columns.
Part of #7178.
addon.units.convert reads its value through Unit::parse, so after the
merge of main it takes x, X and × as multiplication signs as well. Its
128-sign limit counted only + - * /. The new
vectorcraft_doc::arithmetic_signs counts each multiplication sign as a
*, and both Unit::parse and the converter use it.
- The converter's params text and docs/mcp.md list the signs.
- Tests cover 2pX3 and 2p×3 (6 picas), 8.5x11 in (refused before, now
93.5 in) and the converter's reading and limit.
- The test message says "millimeters", and the doc comments wrap at
the file's width.
A dialog taller than the app window was drawn past the window's edges
with no scroll bar. In a 1024 by 480 window, SVG, EPS and DXF Options,
Save PDF, Export for Screens, Print, Keyboard Shortcuts and Find Font ran
past the top, so their heading and first options could not be seen. Save
for Web, Preferences and New Document also ran past the bottom, with
their buttons out of reach.
- The body of a shared dialog scrolls while the dialog would be taller
than the window, and its heading and buttons stay in view.
- A dialog window without such a body scrolls as a whole on each axis on
which it is taller or wider than the window. Its buttons can then sit
below or beside the part in view until it is scrolled.
- A dialog that sizes its lists from the window's height (Import
Shortcut Set, Character and Paragraph Style Options, the Color Picker)
is not scrolled vertically again, but it scrolls sideways when it is
wider than the window.
- A list with its own scroll bar inside a scrolling body (the Save for
Web settings, the Print and Save PDF sections) is no taller than the
body shows, so the list and its bar can be scrolled into view whole.
- A dialog that closes and opens again starts at its top. A dialog that
was only hidden while another opened over it (Keyboard Shortcuts under
Import Shortcut Set) keeps where it was scrolled to.
- A field being edited keeps its text and focus when a resize makes the
dialog start or stop scrolling.
- Save for Web in a window narrower than its full layout draws its
preview panes narrower, down to 240 pt, so the settings column and the
buttons stay in view.
Reported by erolkarino in #5941.
Shapes with more than a basic appearance (several fills or strokes,
effects, item transparency, brushes, width profiles, arrowheads) stay
outlines. The stroke's caps, joins, miter limit, dashes and alignment
carry over. A line's glyphs share one size and turn exactly, and a first
glyph its line cannot draw is tried on its own.
A point worked out on an outline lies a rounding error inside or outside
it. The new test places a point at 37 angles on a turned ellipse, and on
each anchor and three places along each segment of a turned and moved
Bezier circle, and checks that each gets exactly one line through it.
Each retyped line is laid out and compared glyph by glyph with the
outlines; it splits where its type would draw another glyph or the same
glyph elsewhere (tracking, manual spacing, font substitutions), and a
glyph its type cannot draw stays an outline. Shapes with their own
opacity mask stay outlines. Shapes past the limits are reported as
truncated. Glyphs of plain-shape symbols (box drawing, blocks, geometric
shapes, private use) are not matched, so drawn rectangles stay art.
Type › Retype is in the Type menu.
A pick or a press outside the palette now drops the highlight and the
availability answers on the frame that closes it, so a command that
opens the palette again before a closed frame is drawn starts on the
first row and checks the rows again. The ranking line now says a recent
pick ranks after the pick count's grade.
A floating panel's or document's window notes that one of its labels
copied the text a Copy or Cut asked for, so the Copy it sends on to the
main window copies no art. The note was also set when a field with the
keyboard copied its own text, and it stayed until the next Copy or key
a window sent on, which then lost its Copy and the formats of an art
Copy still being written.
- The note is set only when no widget in that window has the keyboard,
and it is cleared when the main window's next pass starts.
- Only a Copy or Cut another window sent on skips the main window's
labels. Before, any key sent on in the same frame, such as a key let
go in a floating panel, made Cmd/Ctrl+C on selected label text copy
the art.
- The menu bar's Copy and Cut drop the art formats not written yet when
they leave the event to the labels, also in a frame in which the main
window does not have the keyboard.
- A test runs passes of a second viewport and checks that a field's
copy is not noted and that the note does not outlast the main
window's next pass. Other tests check that Copy with label text
selected, by its keys or the menu bar's item, drops the art formats
not written yet; that Cut on a chord of the user's own, Cmd/Ctrl+C
with other keys sent on, and the menu bar's Copy with a Copy sent on
copy the label text; and that the art Copy deferred to the next frame
runs even when the window has lost the keyboard by then.
- docs/target-app-parity.md lists the behavior and the two menu cases
that still copy the art: the in-window Edit menu, whose click clears
the label's selection, and the menu bar while the selected text is in
a floating panel's own window.
The Corner menus and the unlinked Corner Radius fields sent one
object.setLiveShape item per selected live rectangle, each with the same
corners, and the command looks each id up in that list, so an edit took
time quadratic in the number of selected rectangles. They now send the
rectangles as ids with one shared corners list. With no live rectangle
selected the edit leaves the document and its undo history as they are.
The Properties panel test for a Direct-Selected rectangle corner now
expects the Rectangle Properties Corner menu once.
The area rows, the bundled-content row, the G5 entry and the UI row now
name Paint and count eleven built-in brush libraries, and the ROADMAP
progress log has a line for it.
The Curvature Circle tool, after the Circle tool in the Ellipse tool's
flyout, draws the circle that touches a path at a point and bends as the
path bends there, with shape.curvatureCircle. The pointer snaps to the
nearest path that is not a guide within 5 screen points, or within the
Smart Guides snapping tolerance when that is larger, and the tool shows
the circle as a dashed outline (solid once it is more than 50,000 screen
points around), its center, a line from the center to the point it
touches and, with Measurement Labels on, its radius. A click draws the
circle in one undo step, on the side the path bends toward; Shift held at
the press puts it on the other side. A press dragged 2 screen points or
more, or canceled with Escape, draws nothing.
A segment that is the usual cubic of a circular arc of 90° or less gives
a circle with the arc's own radius, shown with an asterisk, so a click on
a circle drawn with the Ellipse tool draws that circle. On a straight
segment, at a cusp or a corner anchor, or where the circle would reach
past the canvas, the pointer shows "Straight segment", "Cusp" or "Circle
too large", and a click draws nothing. An anchor is a corner when the
segments meet there at more than half a degree and it is not marked
smooth; segments of no length between them are passed over. The tool's
icon is new and drawn for VectorCraft.
shape.curvatureCircle takes the path, subpath, segment, t and convex, and
returns the circle's center and radius and whether the radius is an
arc's own. A guide is refused.
draw2::candidate_paths skips the selected paths with a hash set, so it
takes time linear in the number of paths on each pointer move.
Part of #7178.