Commit Graph
19258 Commits
Author SHA1 Message Date
dotCooCoo b20c22500a Merge main into feat/symbolism-shift-gestures 2026-11-19 06:05:13 -08:00
bflatastic bd54047751 Merge remote-tracking branch 'origin/main' into fix/8429 2026-11-19 21:03:06 +07:00
BFlat 7d3231dc19 Merge pull request #8574 from dotCooCoo/fix/gaps-g5-brush-library-count
Docs: G5 Missing line counts eleven built-in brush libraries
2026-11-19 21:01:38 +07:00
BFlat 4e6cc2aed2 Merge pull request #8464 from dotCooCoo/fix/psd-knockout-layers-merge
PSD import: a layer with a knockout merges with the layers below it in its group
2026-11-19 21:01:03 +07:00
dotCooCoo 507b3d2d68 Color Wheel: end an OKLCH row drag when the working RGB space stops being sRGB
The OKLCH rows turn gray when Edit > Color Settings picks a working RGB
space other than sRGB, so a drag on one reports no release. The panel
now keeps that drag's preview as one undo step and ends the
interaction, as it does when the rows are hidden or replaced.

The ui.colorWheel tests now expect the harmony, harmonyRule, vision and
sliders keys that main and this branch report together.
2026-11-19 06:00:40 -08:00
dotCooCoo ff0b835509 Part of #5941: drop-down lists stop above the bottom bars
A drop-down list that did not fit on either side of its field was moved
up only as far as the window's bottom edge, so it could cover the status
bar, the hint bar and a Control bar docked at the bottom. The list now
measures the room below its field to those bars, as other menus do
(#2086), and a list too tall for either side moves up until it ends at
them. Its right-to-left alignment now follows the field's own style.

The Gradient panel's Presets menu change is taken out of this branch;
the menus that set a fixed minimum width get their own fix.

Tests:
- a_dropdown_list_stops_above_the_bottom_bars
- a_dropdown_option_cut_short_shows_its_full_name_on_hover, which checks
  the tooltip of an option cut short in a list narrowed to the window
2026-11-19 05:59:50 -08:00
dotCooCoo 5b25517dc1 Metafile import: one line's background reaches its furthest glyph edge
A single line without advances now has its background from the nearest
to the furthest edge its glyphs' advances reach, as a line of several
does, instead of from the nearest edge on by the sum of the advances.
2026-11-19 05:59:19 -08:00
dotCooCoo 14318099c2 Metafile import: an underlined blank line's background follows its bar
On more than one line without advances, a line of blanks whose underline
or strikethrough draws now has its background across its glyphs, where
the bar is drawn, instead of where the alignment puts a line that long.
Text without a background no longer measures or builds the cells.
2026-11-19 05:54:13 -08:00
dotCooCoo 8d7eaf36bb Gradient: an aspect for a Live Paint group without faces is an error
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.
2026-11-19 05:53:08 -08:00
dotCooCoo 7dd62110ba Merge main into feat/prefs-descriptions-plugins-scratch 2026-11-19 05:52:32 -08:00
dotCooCoo 4a7f523080 Merge main into feat/nature-icons-symbol-library 2026-11-19 05:51:21 -08:00
dotCooCoo 8dd0824b3f Metafile import: opaque backgrounds cover trailing spaces and NUL-only lines
On more than one line without advances, each line's background now runs
across its glyphs' advances, trailing spaces included, as a single line's
does; layout leaves the trailing spaces out of the width it aligns. A
first line that holds only NULs fills its cells across their advances
instead of drawing nothing.
2026-11-19 05:49:23 -08:00
dotCooCoo 8b289bf6bb Direct Selection: Cmd/Ctrl mirrors an ordinary path's handle again
The handle drag that keeps Space translation sent path.setHandle without
`symmetric`, so Cmd/Ctrl no longer mirrored the opposite handle on an
ordinary path. The drag now records the mirror with the handle it accepts
and sends it on every preview, so the opposite handle stays mirrored while
Space moves the anchor. Alt still takes priority.
2026-11-19 05:49:14 -08:00
dotCooCoo bcfdbc3113 Merge main into feat/palette-dimmed-rows 2026-11-19 05:45:14 -08:00
BFlat 778b95918d Merge pull request #8460 from dotCooCoo/feat/transform-rect-ellipse-angle
Transform: Rectangle and Ellipse Properties show the shape's angle
2026-11-19 20:44:43 +07:00
BFlat bccded3d86 Merge pull request #8276 from yoriswind/codex/8068-trace-ignore-sampler
#8068: sample Image Trace Ignore Color from the source image
2026-11-19 20:44:24 +07:00
dotCooCoo 8993be043f Metafile import: keep the opaque text background to its own change
This takes three behavior changes out of the branch, so that it holds the
opaque background and the character cell it fills:

- A single line without advances is aligned as before, without its
  trailing spaces. Its cells run across its glyphs' advances from where
  its type starts; blanks alone, which draw no type, are filled where the
  alignment puts them.
- NULs after a line break add their advance to the character before them,
  as before.
- Blanks that are underlined or struck through draw nothing, as before.
  A string of NULs alone in an underlined font now fills its cells and
  adds no empty type object.

docs/mcp.md no longer describes the three, and docs/target-app-parity.md
lists the background and the cell.

The first commit's body names FontFace::win_ascent_descent as
Face::win_ascent_descent. A device context starts with a background color
that is typically white; the first commit states white as the playback
default.
2026-11-19 05:42:41 -08:00
dotCooCoo a5cc1d6548 Symbols: a click egui counts reads its modifiers wherever the button goes up
A click that went down on New Symbol, Delete Symbol or a panel menu
item and went up in a later frame within egui's click distance reads
the modifiers of that release, also past the interact radius. A click
within one frame is matched by where the button went down, as egui
does.
2026-11-19 05:42:24 -08:00
dotCooCoo fab39fc50b Tests: the Color Picker key opens the stroke with no document open
The Color Picker shortcut test now also brings the Stroke proxy forward
before a document is open and checks that the key opens the picker for
the stroke.
2026-11-19 05:41:58 -08:00
dotCooCoo 8c7b75300f Merge main into feat/paint-brush-library 2026-11-19 05:41:10 -08:00
dotCooCoo efe4c7e30f Proof Setup: a setup that would be too large to load is not saved
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.
2026-11-19 05:39:51 -08:00
dotCooCoo 537d8ce10b Contextual Task Bar: docs and test comment say a null visible toggles
The opening sentence of the window.taskBar.actions entry in docs/mcp.md
now says the action toggles when visible is omitted or null, as the
params text does. The comment above bar_actions_refuse_bad_params now
says a visible that is not true, false or null is an error.
2026-11-19 05:38:54 -08:00
Sven Lafebre a16e459727 Artboard tool: Shift held during a move keeps it to its line (#8580)
Shift held once an artboard move or Alt-drag copy is under way keeps it
to the level, upright or 45° line from General › Constrain Angle, as a
Selection tool move does. A Shift-press still draws an artboard inside
another or marquee-selects (#2497). Smart Guides, the grid and whole
pixels slide the move along its line, and the cursor stays the move
cursor during a move.
2026-11-19 14:38:00 +01:00
dotCooCoo 25bb2abfc8 Retype: the null more test adds a font so a new search is told apart
When ten or fewer fonts match, adding more to the exhausted list returns
the same list as a new search, so the null more assertion could not tell
the two apart. The test now adds a font to the list before the null more
call, and only a new search drops it.
2026-11-19 05:36:53 -08:00
dotCooCoo c4d43cec03 Merge main into feat/palette-recent-rank 2026-11-19 05:35:46 -08:00
dotCooCoo 6ed07b44d1 Merge main into feat/palette-empty-search-recent 2026-11-19 05:30:24 -08:00
ruchirguitar d386d3280f Links panel: add row context menu (Relink, Go to Link, Edit Original, Show in Folder) 2026-11-19 18:59:17 +05:30
dotCooCoo 9dcc6913d8 Metafile import: text in the opaque background mode fills its character cells
A metafile playback starts in the opaque background mode with a white
background color, and text drawn in that mode fills its character cells
with the background color before the glyphs. EMF and WMF import now adds
one filled rectangle of the background color behind each line of such
text, before the type, from the font's OS/2 usWinAscent above the
baseline to its usWinDescent below it, as far as the line's advances
reach (NULs and negative advances included). Files that never set the
background mode now import with a background behind their text.

Top and bottom aligned text now has the top or the bottom of that cell at
the reference point instead of 0.8 and 0.2 of the em. A single line
without advances is aligned as long as its glyphs' advances, trailing
spaces included. NULs after a line break move the start of that line,
and underlined or struck through blanks draw their bars.

Face::win_ascent_descent gives the OS/2 usWinAscent and usWinDescent
separately, at a variable font's instance.
2026-11-19 05:28:52 -08:00
dotCooCoo 71086edeed Merge main into feat/swatches-add-selected-colors 2026-11-19 05:25:36 -08:00
dotCooCoo 8c97874ad0 Merge main into feat/vector-packs-library 2026-11-19 05:23:10 -08:00
dotCooCoo ff4076caaa Merge main into feat/prefs-descriptions-devices 2026-11-19 05:21:47 -08:00
dotCooCoo 54a964d4fa Tools: an option set during a press survives the press being dropped
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).
2026-11-19 05:21:36 -08:00
dotCooCoo 056059d8cb Merge main into feat/direct-select-mirror-handles 2026-11-19 05:18:05 -08:00
ruchirguitar 55c95f62cb Merge origin/main into feat/brushes-item-context-menu 2026-11-19 18:46:37 +05:30
dotCooCoo 51ab54ac2b Merge main into feat/decorative-brush-library 2026-11-19 05:15:47 -08:00
dotCooCoo 1f28746afc Merge main into feat/prefs-descriptions-appearance-of-black 2026-11-19 05:15:27 -08:00
dotCooCoo ddedcda657 Merge main into feat/ornamental-brush-library 2026-11-19 05:15:06 -08:00
dotCooCoo 5d458d3142 Merge main into feat/arc-by-points 2026-11-19 05:12:59 -08:00
dotCooCoo 2b1aa98c6f Links: the request to show the selected image applies only in its own document
The Control bar label's request to scroll the Links panel to the selected
image now carries the document it was made in. A draw of another document
drops it and leaves the Show filter as it is, and every draw that reads the
request clears it, including one with an empty list.
2026-11-19 05:12:15 -08:00
dotCooCoo 4d3bd79763 Symbols: a release that ends a drag begun in an earlier frame gives no modifiers
New Symbol, Delete Symbol and the panel menu's New Symbol… and Redefine
Symbol read the modifiers of a release only when egui reports the
control clicked by the pointer. A Click from the keyboard or a screen
reader reads the modifiers held now, so an Alt release that ends a drag
over Delete Symbol in the same frame no longer deletes without asking.
2026-11-19 05:11:47 -08:00
dotCooCoo 3965501b17 Merge main into feat/dropdown-list-fits-window 2026-11-19 05:10:50 -08:00
dotCooCoo f9b7c9482e Merge main into feat/circle-tool-options 2026-11-19 05:09:36 -08:00
dotCooCoo 2843ee7fd0 Keyboard Shortcuts: Color Picker can be given a key
Edit › Keyboard Shortcuts did not list Color Picker… (`ui.colorPicker`),
so no key could be assigned to it, and no menu item runs it. It is now
listed, with no default key. A key assigned to it runs the command with
no params, which opens the picker for the proxy in front: the fill, or
the stroke while Stroke is in front, with or without a selection and
with no document open.

Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-19 05:07:02 -08:00
dotCooCoo 3e0963814f Merge main into feat/engraving-brush-library 2026-11-19 05:06:49 -08:00
dotCooCoo e16d59661c Contextual Task Bar: Bar Actions names drop a colon and an ellipsis in any order
More Options › Bar Actions now leaves out a final colon and a final
ellipsis ("…" or "...") whichever comes last, with or without a space
between them, so "Name...:" and "Name: ..." are listed as "Name".

window.taskBar.actions treats a `visible` of null as omitted again, so
the action toggles, as docs/mcp.md says for every command's params and
as window.control.options does. Its params text and docs/mcp.md entry
now say that null toggles, and a test covers it.
2026-11-19 05:06:18 -08:00
dotCooCoo 63d87b6d3e Merge main into feat/swatches-alt-drag-pattern-replace 2026-11-19 05:05:44 -08:00
dotCooCoo dafade6173 Merge main into feat/proof-setup-customize
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/i18n/tests.rs
2026-11-19 05:04:12 -08:00
dotCooCoo 16de36545c Retype: retype.find's params text says a null more runs a new search
retype.find reads `more` with opt_bool, which treats null as omitted, so
`{more: null}` runs a new search. The params text said any value other
than true or false is an error. The params text, its MCP mirror and
docs/mcp.md now say that false, omitted or null runs a new search and
that a value other than true, false or null is an error. A test checks
that a null more lists the first ten again.
2026-11-19 05:04:10 -08:00
dotCooCoo 50b039cd10 Merge main into feat/color-wheel-hsl-sliders 2026-11-19 05:03:21 -08:00
BFlat 2ef4858543 Merge pull request #8698 from Hassan1305/fix-8693-script-io-real-temp
Tests: script_io makes its temp folders by their real paths
2026-11-19 20:02:19 +07:00