Commit Graph
17541 Commits
Author SHA1 Message Date
dotCooCoo 44e789df77 Part of #5941: the Glyphs grid fits its columns to the list's least height
Both glyph grids give their list a least height of 64 pt when the panel
leaves less room. The column count compared the rows with the room
left, so with 48 pt left two rows of twelve 22 pt cells, which fit in
the 64 pt list, made room for a bar, and the grid went to eleven
columns and a third row that scrolled. The count now uses the list's
height as drawn.
2026-11-18 20:23:35 -08:00
dotCooCoo d78e5759be Part of #5941: lists with their own rows reopen where they were; picker and glyph bars fit
- A drop-down list that draws its own rows (blend modes, warp styles,
  tracing presets) has no current option for the list to show. It
  opened at its first row since the change that opens option lists at
  their current option. It now opens where it was scrolled when it
  closed, as before that change, and the scroll is put back after the
  list takes its height beside the field: the list is taller on the pass
  it opens, and the scroll was clamped to that height.
- When several options have the current name, the list scrolls to the
  first of them.
- The Color Picker's heading set the dialog to the width of its content
  without the scroll bar's column, and the body then left out that
  column a second time. In a window 448 pt wide and 380 pt tall the
  heading measured the columns side by side while the body stacked
  them. The heading now keeps the column in the width.
- The Glyphs panel counts a row of its two smallest cell sizes at the
  height it is drawn, a button's height, so a grid whose rows run past
  the list leaves room for the bar.
2026-11-18 19:53:40 -08:00
dotCooCoo 59012217f6 Tests: the Format list test chooses a built-in format away from the list's end
The test chose the last format Export As lists. A test running beside it
can add an exporter plug-in's format after the built-in ones, which
moves that end of the list. The test now chooses the built-in format
six from the end of the built-in ones, which is out of view when the
list opens at its top and keeps the same rows around it whether or not
a plug-in format follows.
2026-11-18 17:53:57 -08:00
dotCooCoo 6de3954e6b Part of #5941: drop-down lists keep their current option in view in a short window
A drop-down list measures itself against the whole window on the pass it
opens and takes the room beside its field on the next pass. The current
option was scrolled into view only on the first pass, so where the room
beside the field was less than half the list, the option could end up
below the rows shown. It now scrolls into view on both passes.

The new test opens a 20-option list in windows 260 and 180 points tall
with the current option at its end, in its middle and near its start,
and checks that the option shows whole inside the list's clip.
2026-11-18 16:40:48 -08:00
dotCooCoo 37b3dd9a3e Part of #5941: drop-down lists open with their current option in view
A drop-down list now opens scrolled so that its current option sits in
the middle of the list, or as near to it as the list's ends allow, so
the option shows whole. A list that fits opens at its first option, as
does one with no current option.

The Format list test chooses the last format, checks that it shows
whole and that the list opens again at the same rows after a scroll,
and checks that the theme gives every scroll area the bar at rest.
Export for Screens' test picks GIF after SVG, since PNG is no longer in
view when the list opens with SVG in its middle.
2026-11-18 16:40:48 -08:00
dotCooCoo e35c3b78aa Fix #5941: the Color Picker leaves room for its scroll bar
While the picker's content scrolls, its field and columns are sized to the
window's width less the scroll bar's column. Before, the content filled the
whole width, so with dialogs that scroll sideways when too wide (#8529), in
an app window 504 to 624 pt wide and 380 pt tall the picker scrolled
sideways as a whole and showed no bar beside its content.

The Export As test now also checks that the wheel scrolled the Format list
before it checks that the list opens again at its first format.
2026-11-18 15:51:09 -08:00
dotCooCoo 63bdb29ff0 Merge main into fix/issue-5941 2026-11-18 15:21:06 -08:00
BFlat 96a34ff3f9 Merge pull request #8618 from storytold/revert/8612
Revert #8612 (craft-cms cutover) and its fmt fix #8616: main fails to build
2026-11-19 05:35:23 +07:00
bflatastic 57ac9a7ff2 Revert "color: cut over cms/icc.rs to craft-cms (#8612)"
This reverts commit 4d73308977.
2026-11-19 05:34:52 +07:00
bflatastic 8a84e0edcd Revert "Merge pull request #8616 from storytold/fix/fmt-icc"
This reverts commit 760c91f9fe, reversing
changes made to 4d73308977.
2026-11-19 05:34:52 +07:00
BFlat 760c91f9fe Merge pull request #8616 from storytold/fix/fmt-icc
color: format the craft-cms import in cms/icc.rs
2026-11-19 05:27:31 +07:00
bflatastic 2ef4fe36b4 color: format the craft-cms import in cms/icc.rs 2026-11-19 05:27:20 +07:00
Dylan M. Taylor 4d73308977 color: cut over cms/icc.rs to craft-cms (#8612) 2026-11-18 17:21:45 -05:00
BFlat 190b9ac6c9 Merge pull request #8614 from storytold/fix/shortcut-sheet-date
tests: the shortcut sheet test compares two exports without the clock's stamps
2026-11-19 05:19:12 +07:00
bflatastic 0ae4e9c10d tests: the shortcut sheet test compares two exports without the clock's stamps
The PDF writer dates each file and makes its IDs from the clock, so two
sheet exports on either side of a second boundary differed there and the
test failed on main's coverage run.
2026-11-19 05:14:13 +07:00
BFlat 2b42358568 Merge pull request #8609 from storytold/train/carry7007
Panels: floating panels keep their level while focus moves between the app's windows (#7007, main merged in)
2026-11-19 04:38:51 +07:00
bflatastic aef624be77 Merge main into #7007
# Conflicts:
#	docs/target-app-parity.md
2026-11-19 04:38:16 +07:00
BFlat 5dddce1425 Merge pull request #8129 from jmverges/fix/ai-grouped-clipping-paths-in-compound
.ai import: clipping paths grouped in a compound path are its subpaths
2026-11-19 04:37:33 +07:00
BFlat ba645414c6 Merge pull request #8603 from el-j/feat/layers-guide-spine-context-menus-8592
Layers panel: add row context menus for guide and blend spine rows (#8592)
2026-11-19 04:37:24 +07:00
.CooCoo f2ffbe81d0 SVG import: a textPath finds the element its href names through an id map built once (#8160)
Each <textPath> with an href walked the whole document to find the element it names, so a file with many texts on paths took time proportional to the number of texts times the number of elements. The importer now builds a map of element ids at the first such lookup, keeping the first element in document order for each id, and looks each href up there. Files whose texts name no element do not build the map. The imported document is the same: a test compares the whole document and warnings with the per-id walk, including duplicate, missing and unusable ids.
2026-11-18 15:51:04 -05:00
el-j 33701e2321 Layers panel: add row context menus for guide and blend spine rows (#8592) 2026-11-18 20:58:54 +01:00
Dan Green 94a4a50a15 Panels: focus moving between the app's windows can make floating panels disappear
Clicking between app windows (floating panels and the canvas) passes through one frame where none of them has focus. The palette levels counted the app inactive on that frame and lowered every floating panel's OS window. The panels flickered, could end up disappearing behind the main window until the next repaint, and a click on one panel's bar could hand the keyboard to another.

The app now counts as inactive once none of its windows has had focus for  0.25 s, counted from the first frame that saw none. craft-ui's docking waits as long.
Fixes #6986
2026-11-18 11:03:56 -08:00
BFlat e34bf8c82f Merge pull request #8601 from storytold/fix/main-tests-after-merges
tests: fix two main test failures from crossed merges
2026-11-19 01:53:26 +07:00
bflatastic bb66ae9a87 tests: fix main after tonight's merges crossed
- The French script error line now has the catalog's no-break spaces before its colons.
- es.tsv drops the old file.info control character row a merge brought back.
2026-11-19 01:47:51 +07:00
BFlat be2e4afa67 Merge pull request #8600 from storytold/fix/catalog-duplicate-rows
i18n: fix main's catalog test (duplicate Gujarati Panel row)
2026-11-19 01:40:00 +07:00
bflatastic b41254d05b i18n: drop the Gujarati Panel row two merges both added
Two PRs merged tonight each added the same row, so bundled_catalogs_are_consistent fails on main
(gu: duplicate "" "Panel"). Both rows have the same translation.
2026-11-19 01:39:31 +07:00
BFlat 18a5b41f31 Merge pull request #8599 from storytold/train/combo6
Land 21 dotCooCoo PRs, with main merged in
2026-11-19 01:29:14 +07:00
bflatastic 6f218a8ea5 combo: #8229 2026-11-19 01:26:14 +07:00
bflatastic 4bce0e413d combo: #8561 2026-11-19 01:26:14 +07:00
bflatastic 1e3e559820 combo: #8559 2026-11-19 01:26:13 +07:00
bflatastic 65673958c2 combo: #8553
# Conflicts:
#	docs/target-app-parity.md
2026-11-19 01:26:13 +07:00
bflatastic 7e76af1916 combo: #8545 2026-11-19 01:26:10 +07:00
bflatastic 5c6d82aa58 combo: #8517 2026-11-19 01:26:09 +07:00
bflatastic 35321b5f39 combo: #8502 2026-11-19 01:26:09 +07:00
bflatastic e3a5a29afa combo: #8495 2026-11-19 01:26:08 +07:00
bflatastic d40178b95b combo: #8489 2026-11-19 01:26:08 +07:00
bflatastic a56bad4c0d combo: #8452 2026-11-19 01:26:07 +07:00
bflatastic 71a0a0ee92 combo: #8420 2026-11-19 01:26:07 +07:00
bflatastic 6575c2dadf combo: #8295
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
2026-11-19 01:26:07 +07:00
bflatastic 213543aa35 combo: #8146 2026-11-19 01:26:04 +07:00
bflatastic a8c951f7f7 combo: #8082 2026-11-19 01:26:03 +07:00
bflatastic e398e5f155 combo: #8061 2026-11-19 01:26:02 +07:00
bflatastic 885ca23738 combo: #8057 2026-11-19 01:26:01 +07:00
bflatastic 950ff08613 combo: #8030 2026-11-19 01:26:00 +07:00
bflatastic 27c4f8d780 combo: #8014 2026-11-19 01:26:00 +07:00
bflatastic 8cb2ab2a27 combo: #7971 2026-11-19 01:25:59 +07:00
bflatastic e27ae0bf96 combo: #7867 2026-11-19 01:25:58 +07:00
bflatastic 2039068a1f combo: #7316 2026-11-19 01:25:57 +07:00
bflatastic cfab560ff9 Merge main into #8229 2026-11-19 01:21:55 +07:00
jmvergesandClaude Opus 5.5 3d2bbf5d69 Merge main (4cae5249e) into fix/ai-grouped-clipping-paths-in-compound
Conflicts in docs only (status lines, changelog rows and table rows):
main's entries and this branch's are both kept, each once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 18:21:32 +00:00