- An answer step with an empty control matches only an unnamed control whose
text is empty, not the first unnamed control.
- add() and add("item") on an object made to look like a container or list
throw a TypeError and charge nothing to the dialog's limits.
- A new list's initial items are read through ordinary property access, so an
index getter gives its value.
- findElement() keeps the controls it has still to look at rooted while a
name getter runs, and skips a control the element no longer holds.
- A close() that onClose calls before it returns false belongs to the close it
refuses; the dialog waits for the next event.
- show() throws for an edittext with noecho before the dialog opens.
- show() reads the dialog again when a getter adds or removes a control after
the controls were read, and throws when it changes again.
- An edit field takes at most 32,768 characters while it is typed.
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.
gate test shard 1/5 (and the Sonar scan that reads its coverage) fails on crates/ui-egui/src/doc_windows/tests.rs `a_document_made_current_in_presentation_mode_comes_to_the_front_after_it`, which main fails too (CI run 45581083304); this PR touches no ui-egui code.
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
A control whose visible is false, and everything in it, no longer adds to
its container's size or pushes the next control along. An event sent with
ui.dialog.confirm while the dialog still holds events the script has not
taken goes after them, so handlers run in the order the events were given.
The Safe Mode choice after a stopped launch moves to main's dialog host and keeps listing every
plug-in that was loading: one name in the sentence, or the list with "Disable Listed Plug-ins and
Continue". Automation requests wait in the queue while plug-ins load, and one past its deadline is
answered as expired. File > Open and opening a file still wait for the plug-ins still loading.
- The grant test accepts only a missing grants file as an empty list; any other read error fails it.
- The same-stamp replacement test asserts that the callback rewrote the file before it checks that
nothing installed.
- The loader's ordering test binds the job senders after `loads`, so a failing assertion releases
the held jobs before `loads` waits on them under the manual clock.
A command run during a Direct Selection drag of anchors or segments, such as
Add Anchor Point or Reverse Path Direction, can number the path's anchors
anew. The drag kept its old anchor numbers and then moved a different point.
When the command changes a path that holds the drag's selected anchors or
segments in more than a move of the whole path, the drag now ends without a
step of its own, and the command's edit stays. A command that only moves the
path leaves the drag going on the same anchor.
The two Direct Selection preference tests in
crates/ui-egui/src/tests/removeanchors.rs now use
crate::testing::ui_context() and app.canvas_view() to place the click,
as the other canvas tests on main do.
After Find Objects with `select` runs during a drag, the drag's own
selection is journaled before its release, so the expected journal is
document.find, select.set, shape.rectangle.
A link in the grants file's place whose target is missing is there but
cannot be read, so script.grants fails on it and script.grants.revoke
leaves it as it is, instead of treating it as a missing grants file.
A headless window step whose control matched no name fell back to the
first control with that text, even when that control had a name of its
own, so a step could reach a different control than the one it named.
The text now matches only controls without a name.
document.find with `select: true` is journaled, so during a tool drag it
now runs outside the drag like other journaled commands. It finds and
selects only objects outside the drag's preview, as its replay before
the drag does.