Fix overlay drop ordering and qualify native docking test setup
Hit-test expanded overlays before the docked content they cover. Share tab detachment and group-settings capture across lifecycle paths. Native fixtures establish their initial OS focus with one client click. Geometry setup waits for the requested client width before creating the split, avoiding a ratio constrained by the previous native size. Transfer assertions remain unchanged. Verified 329 fx tests and 34 example tests with all five native test options enabled.
This commit is contained in:
@@ -123,3 +123,9 @@ No MVVM setup is required.
|
||||
The buttons are setup/recovery commands; dragging uses the same move checks and
|
||||
live contents. Closing the demonstration's main Stage hides its floating
|
||||
windows; application-wide shutdown coordination is supplied by its own slice.
|
||||
|
||||
The final native fixtures explicitly establish their initial desktop state with
|
||||
one real click in the initial editor, then restore its selected range. No such
|
||||
setup helper runs after a tested transfer, invalid drop or cancellation. This
|
||||
avoids assuming that programmatic Stage display alone established OS focus; it
|
||||
does not claim a specific operating-system defect.
|
||||
|
||||
@@ -129,3 +129,9 @@ exclusive desktop slot:
|
||||
Without that property, the native pointer case is explicitly skipped. Ordinary
|
||||
public initial-bounds verification still runs. The native case includes a
|
||||
watchdog and restores the pointer in `finally`.
|
||||
|
||||
The final native fixtures explicitly establish their initial desktop state with
|
||||
one real click in the initial editor, then restore its selected range. No such
|
||||
setup helper runs after a tested transfer, invalid drop or cancellation. This
|
||||
avoids assuming that programmatic Stage display alone established OS focus; it
|
||||
does not claim a specific operating-system defect.
|
||||
|
||||
@@ -101,3 +101,27 @@ independent managers/processes and JavaFX Dragboard interoperability are outside
|
||||
this implementation. Native input has to be qualified on each target desktop;
|
||||
see the [drag](docking-drag.md) and [keyboard](docking-accessibility.md) guides for
|
||||
the executed platform checks.
|
||||
|
||||
## Verified integration
|
||||
|
||||
On 2026-11-16, the complete affected reactor passed `verify` with Java 25,
|
||||
JavaFX 27.0.1 and macOS 27.2. All 329 `fx` tests and 34 `fx-example` tests ran
|
||||
without failures or skips. The reference application contributes five
|
||||
Java/FXML/storage/MVVM workflow cases, three actual file-boundary cases and one
|
||||
native desktop case. The latter drags Notes into a new window, replaces selected
|
||||
text, returns it through the real keyboard context menu and types again without
|
||||
a focus-repair click. It also observes every consent before cleanup, a veto,
|
||||
a pending/failed save and successful persistence before final closure.
|
||||
|
||||
To rerun that native application case, use an exclusive desktop session:
|
||||
|
||||
```sh
|
||||
./mvnw -pl fx-example -am -DskipVersions=true -Dversions.skip=true \
|
||||
-Dtest=NativeReferenceWorkspaceTest -Dsurefire.failIfNoSpecifiedTests=false \
|
||||
-Dneitzellib.nativeWorkspaceTest=true test
|
||||
```
|
||||
|
||||
The suite asserts exact text, retained Node identities, visible outcomes and
|
||||
saved application data. The Changes list is illustrative content, not a file
|
||||
watcher. Windows/Linux native delivery and full screen-reader behavior are not
|
||||
established by this macOS qualification.
|
||||
|
||||
Reference in New Issue
Block a user