CI's test-lint step rejected the 500 % case of
the_frame_limit_grows_with_the_monitor_dpi, which compared the clamped
rect with a tuple of numbers. The test now checks that only the bottom
edge moves and that it hangs below the work area by the same border the
top edge hangs above the monitor.
* Locate both color wells by their reported radio values
The shared swatch pair exposes unnamed radio parts. Drive real clicks on the exposed area of Stroke and Fill and keep the original paint and modifier assertions.
(cherry picked from commit 5b990d637c)
* Use regional decimal marks in UI fixtures
(cherry picked from commit 4208649d63)
* Use ordinary canonical paths in script fixtures
(cherry picked from commit f37b5811ad)
* Restore Animated Zoom for mouse-wheel notches
Restore the glide when Zoom with Scroll Wheel and Animated Zoom are both on, as in 0.24.1. The canvas keeps precision point input and pinches immediate. Tracks #10418.
(cherry picked from commit 1dde4db0f3)
---------
Co-authored-by: Codex <[email protected]>
* Use regional decimals in remaining UI fixtures
(cherry picked from commit d689f09e46)
* Test Divide preserves artwork at complexity limit
(cherry picked from commit cc54974df6)
* Honor an explicit Crop Box when opening editable PDFs
Backport the PDF option handling from 82d4ec4336. Apply it to editable and linked opens while preserving the original file when an alternate box was requested.
(cherry picked from commit 73bbd005f3)
---------
Co-authored-by: Codex <[email protected]>
A press that begins on the canvas keeps the document hover point while the
pointer is dragged off it, so the thumbnail and count stayed drawn at the
canvas edge. The overlay now also needs the pointer over the canvas. The
test drags a press across the canvas, where the thumbnail stays, and then
off it, where nothing shows.
With monitors stacked vertically, the upper monitor's auto-hidden bottom
taskbar is parked mostly past its edge, so most of it lies on the monitor
below. The guard counted it as that monitor's top taskbar and trimmed a
maximize there a pixel short of the top. A taskbar that is not wholly on
a monitor now counts only when most of it is off that monitor, as an
auto-hidden taskbar of its own is.
The largest frame a parked maximize may have was a fixed 32 px. The
resize border grows with DPI (about 40 px at 500 %), so at high scaling a
maximize covering the taskbar was never moved clear of it. The limit is
now 32 px at 96 DPI, scaled by the window's DPI.
Palette windows hide while the main window shows a popup, and an open flyout
is one. A built-in workspace now opens its panel's flyout when it is
switched to, so a panel floated by a command in Essentials Classic (Color's
flyout) and the other workspaces that open one opened its window hidden, and
a_panel_floated_in_any_built_in_workspace_opens_a_shown_window failed on main.
The command that reveals a floating window now closes the open flyout.
Co-authored-by: FredApps <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Part of #10797.
On the OpenGL backend, Preferences and floating panels drew their content
offset down and right by a title bar and border, while clicks landed at the
unshifted positions. These windows draw their own title bar, so winit makes
them undecorated, but it still gives them the WS_CAPTION and WS_BORDER styles,
and on these systems the frame stays reserved for the window surface. The
guard added for #1758 removes the two styles from the main window only.
A viewport hook now records every undecorated window other than the main
one as eframe creates it, and runs the same guard on it at creation and
before each of its frames, so the styles stay off when winit puts them back.
Windows with the system title bar are left alone, and a window's record is
dropped with the window.
The canvas drew no thumbnail or count beside the pointer while the place
cursor held files: since the craft UI port, place::cursor_overlay had no
caller.
- The canvas shows the cursor overlay while the Place tool holds files and
the pointer is on the canvas, beside the pointer, and on its other side
near the canvas's right or bottom edge.
- For a load of more than one file the count reads remaining/total (3/3,
2/3, 1/3); a load of one file shows no count.
- The place tool reports a read-only `total`, the size of the load.
Fixes#10821
With unchanged settings OK closes the dialog before the document, history and object checks run (crates/ui-egui/src/panels/three_d/raster.rs:147), so docs/mcp.md and docs/three-d.md now say the refusals apply when there are changes.
During an add-on dialog's preview, a command from outside the dialog no
longer acts on a path whose selected anchors the preview renumbered (Set
Corners recut it), so Clear does not delete other points of the base
path. A refused outside command leaves the dialog's own selection as it
was, while a command that ran, such as Deselect, still sets it. The
journal records the selection the command acts on before it, so an
action replays it on the same objects.
When a region's decoded data went past the size limit and its record had
no group 94, or a group 94 at or above the decoded length, the reader
kept the whole oversized buffer in the drawing until the import ended.
The region was still left out later, but its data stayed in memory. The
reader now checks the stored length after the declared-size cut and
drops the record when it is still over the limit. A declared size within
the limit still cuts the data and loads it.
In the Flatpak build the save panel answers with a path in the document
portal, which puts only that exact name into the folder picked. Three
more save panels changed the answer before writing, so the write
succeeded inside the portal and no file appeared:
- Keyboard Shortcuts > Export Text added or replaced the extension of
the format picked (list became list.pdf).
- Save Metadata Template added .xmp to a name typed without it.
- Unembed added the stored image format's extension to a name typed
without one (links.unembed does this in the engine).
Each now opens the save panel again in the answer's folder, suggesting
the completed name, and the status bar says why. Its answer is written.
Paths outside the portal are unchanged. The check reuses the helper the
main Save and Export flows use, now shared as
io::save::portal_ask_again, and the engine exposes
links::unembed_path so the panel knows the name Unembed writes.
Open and Place read .jpe files in any letter case, but the dialogs' JPEG filter adds only the lowercase extension, and GTK matches filter patterns case-sensitively.
The corner radius test from #10864 expected Reverse Path Direction to leave
the Direct-Selected anchor index unchanged, so that the same index named a
different corner. Reverse Path Direction now moves the selection with its
points, so the picked anchor is the same corner at its reversed index, with
its sides swapped.
The test now checks both cases for each of its six paths: the picked anchor
follows its point and the unfinished radius is dropped, and picking the old
index again after the reversal names a different corner and drops the
radius. corner_radii reads every anchor, so an open path's end reads 0.
Typed RGB values convert from the RGB profile of the document the window
shows (or the working RGB profile) to the script document's RGB profile,
and separate through its CMYK profile only in a CMYK document. Hex,
screen-sample, HSB and web-snapped picks start in display sRGB.
test-lint rejects assert!(...all(...)) without a length check, which
failed the gate. The test now compares the three channels one at a time
with the same tolerance.