With a leading tab, the tabs after it fit whole by construction, but
each one's room was the strip's width less a running sum of the widths
before it. That sum can come out a fraction of a point short of a tab's
width, which shortened the active tab's title though it fits. The tabs
after the leading tab now take their whole widths. `leading_tab` and
the new `tab_room` have unit tests, and the frame test's doc comment
now says that the strip used to end short of the » button.
When the active tab was one of the last documents, the strip showed the
tabs from it to the end and left the room before them empty. The tab
before them now fills that room with its title shortened, as the tab
after the whole ones does. The tab strip takes each tab's window and
title from one list, so a docked window without a document no longer
shifts which tab is drawn as the active one. The tests check that 3
tabs fit whole and a fourth is shortened in a window 1000 pt wide.
When the open documents' tabs don't all fit, the strip stopped at the
last tab that fit whole and left the room before the » button empty,
even where it could hold most of the next tab. That tab now fills the
room with its title shortened and ending in "…", as long as at least
40 pt of the title fits, and its tooltip shows the whole title, wrapped
to fit inside the window. An active tab wider than the whole strip is
shortened the same way, so its × no longer runs under the » button.
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.
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.
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
- 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.
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.