docs/mcp.md now says that an edit made by another command during a
drag ends the path whether it changes the path or other art, and that
with the realTimeDrawing preference off such a press adds no piece
while the edit stays. A flip or size change made during a drag is part
of that piece's undo step; one made between presses is its own step.
The paragraph is wrapped at the file's width again.
The progress line lists a dragged piece ending at the release point and
C, [ and ] changing the arc being dragged with VectorCraft's own rules.
The bracket test checks that the arc being dragged is drawn again, the
drag test checks that the next click starts a new path, and new tests
cover an edit to other art during a click and an edit during a drag
with realTimeDrawing off. The tool no longer keeps the path as it was
before a press once the press ends.
A dragged piece now ends where the press is let go, also when the
pointer moved after the last drag event, and a press let go a drag's
distance away with no drag in between places the piece there.
An edit made to the path by another command during a press (a point
moved, its stroke changed) ends the path: the next drag no longer
previews the stored path over the edit, and the press keeps the
document as it is. An edit made to other art during a drag stays too,
and the piece stays as last shown.
C and the bracket keys change the sharp-corner arc being dragged, inside
the press's one undo step. Typed brackets now reach the Quick Pen while
a press is under way.
With Align New Objects to Pixel Grid on, the tool goes on drawing the
same path: it compares the path with what the document held after its
own last edit, and each piece is drawn on the points the path already
has, so earlier points keep their place on the grid.
Follows #8690.
imageTrace.setView read `"split": null` as an omitted divider, so it
changed the view and added an undo step instead of returning an error.
A null divider is now refused as any other value that is not a number
from 0 to 1 is; an omitted one still keeps the divider.
A fill edit of a selected Live Paint group with edges and no faces edits
no object, yet paint.editGradient accepted an aspect there and returned
no ids, and the Aspect Ratio field stayed enabled.
- paint.editGradient refuses an aspect when the Live Paint filter leaves
no object. Graph design art alone still changes nothing without an
error, as for the other params.
- Session::gradient_edit_has_objects reads the same filtered targets, so
the field is dimmed in that case.
- Params text and docs/mcp.md name the case.
view.proofSetup.save refuses a setup whose file would be larger than
the 64 KiB view.proofSetup.load reads (a device profile with a very
long name), and writes nothing.
A dropped press puts back the persistent options the tool had when the
press began. It also put back an option set while the press was held
(tool.setOption or the desktop app's setter), and the next store of the
tool's options wrote the old value over the new one. A General > Corner
Radius change during a Rounded Rectangle press was undone the same way.
- Setting an option of the tool that took the press updates the press's
saved options with every option the set changed, so the dropped press
keeps them.
- Setting an option stores all of the tool's options, the drag's changes
included, so a dropped press after such a set stores the options it
puts back.
- A Corner Radius change updates the held Rounded Rectangle press's
saved radius.
- Both hold when the tool lent a selection tool for the press (a
Cmd-drag).
On macOS the temp folder /var/... is a link to /private/var/.... Kept
script file grants hold real paths, and ScriptScope refuses a path by
its names alone when they don't start with a granted path, so the 11
grant tests that name their files under the temp folder were refused
and asked again. folder() now returns the real path of the folder it
makes.
ui_inspect_script_report_leaves_out_files_outside_the_read_root failed
on macOS for the same reason: the report names the included file by
its real path, and the test compared it with the /var spelling. It now
compares with the real path. No change outside the tests.
Fixes#8693
paint.editGradient with an aspect returned ok and changed nothing when it
edited no object: with the Live Paint Bucket active (its default gradient)
or with nothing paintable selected. The default gradient for new art is
fitted to each object it paints and keeps no aspect, so the aspect was
dropped.
- paint.editGradient now refuses an aspect when it edits no object, and
leaves the default gradient as it was. Named or selected objects still
take the aspect.
- The Gradient panel's Aspect Ratio field is dimmed in that case
(Session::gradient_edit_has_objects).
- Params text and docs/mcp.md say so.
Swap Fill and Stroke on a whole Live Paint group compared the faces'
fills without gradient placement, so faces with freeform gradients
counted as one shared fill and the edges took a freeform gradient
without its points. A freeform gradient on any face or edge now counts
as a paint the parts do not share, and the group keeps its paint.
- docs/mcp.md says that a face or edge given with its whole group follows
the group's rule, and that Default Fill and Stroke replaces the parts'
appearance also when the Default Graphic Style is redefined.
- The progress-doc line states the behavior as VectorCraft's own rule and
lists all eight tests.
- Tests cover freeform faces in Swap, an edge given with its group, and
Default Fill and Stroke with a redefined Default Graphic Style.
A new tool in the Pen tool's group, chosen with Alt+P (Option+P on
macOS), draws paths of straight lines and circular arcs, as the Quick
Pen help pages describe:
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.htmlhttps://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/quick-pen-tool-keyboard-shortcuts.html
- A click sets the start point; each click, or a press dragged to where
it is let go, adds a line, a continuous arc (it leaves the last point
in the path's direction) or a sharp-corner arc, as the tool's action
says. Each piece is one undo step.
- Alt (Option) pressed and let go on its own switches to the next
action. C flips the last sharp-corner arc to the other side of its
chord, and [ and ] make the arc size 15 degrees smaller or larger.
- A click on the first point closes the path, a click on an end of an
open path continues it, and Escape or Enter ends it. An edit made to
the path from outside the tool also ends it.
- path.quickPen {start | id, subpath?, keep?, pieces, closed?} draws
the same path for agents and scripts. The action and arc size are
kept with the preferences.
The 180 degree default arc size, its 15 degree steps, the side an arc
bulges to and Enter ending the path are VectorCraft's own rules.
Part of #2660 (reported by earlvanze). Not yet: the on-canvas toolbar,
dragging a path's ends to change its length, Ctrl+scroll for the arc
size, and editing and deleting with the tool.
With a tool other than the Live Paint Bucket, a fill given to a whole
selected Live Paint group paints its faces only and a stroke paints its
edges only, instead of applying to the group as a whole. The hidden
source paths keep their paint.
- paint.setFill, paint.setStroke, paint.none, paint.lastColor,
paint.lastGradient, paint.editGradient, paint.setGradientGeom, the
paint.freeform point and line edits, paint.invert and
paint.complement go to the faces for a fill and the edges for a
stroke, also for a group given in ids or inside a selected group.
- stroke.set, stroke.weightUp, stroke.weightDown and stroke.setAdvanced
change the edges.
- The Fill proxy shows the faces' fill, and the Stroke proxy, the Stroke
panel and the Control bar show the edges' stroke. When the first
selected object is a Live Paint group with no faces (or no edges),
they show the next selected object's paint.
- paint.swap gives the faces the stroke the edges share and gives the
edges the fill the faces share, with a gradient fitted to each face
or edge. A group whose faces' fills or edges' strokes differ, or that
has no face or no edge, is left as it is.
- paint.default leaves the faces with no fill and gives the edges a
0.5 pt black stroke; with only Live Paint groups selected, the
settings for new art take the same.
Docs: docs/mcp.md (Live Paint), docs/target-app-parity.md (Live Paint
evidence), params text of the changed commands.