Skip to content

javafx-compat and mapping fixes - #6141

Open
shai-almog wants to merge 28 commits into
masterfrom
fx-compat-port-gaps
Open

shai-almog wants to merge 28 commits into
masterfrom
fx-compat-port-gaps

Conversation

@shai-almog

Copy link
Copy Markdown
Collaborator

Fixes for gaps and bugs found porting a real JavaFX mobile application (JFX Central's mobile module) to the JavaFX compatibility layer.

javafx-compat

  • ListProperty change listeners now fire on content changes (old and new value are the list), as in JavaFX.
  • Cell.layoutChildren no longer sets visible on a graphic whose visibility is bound (it threw "A bound value cannot be set").
  • ObservableValue.map, flatMap and orElse.
  • Region.insetsProperty().
  • ImageView -fx-fit-width, -fx-fit-height, -fx-preserve-ratio from CSS.
  • http:/https: images load in the background through ConnectionRequest.downloadImageToStorage (the Storage cache URLImage uses); views showing the image repaint and relayout when it arrives.
  • wrapText wraps a Label onto several lines: horizontal content bias, height for width, ellipsis-sized minimum width.

Mapping processor

  • Nested types are written by their canonical names in generated mappers (Outer$Inner failed to compile).
  • Properties inherited from superclasses are mapped.

Core / JavaSE

  • Lifecycle.handleNetworkError sends the log only for a thrown exception, not for an HTTP error code. In the simulator, sending asked for the build account with a modal prompt that blocked the EDT on a plain 404; that prompt is now skipped on the EDT and headless.
  • The default CodenameOneImplementation.getStorageEntrySize looped until skip() returned -1, but skip() returns 0 at end of stream, so it never ended. It now counts with read(). The shipping ports override it; the headless test implementation hung on it.

Tests: javafx-compat suite (535 incl. new PortGapsTest, RemoteImageTest, WrapTextTest), build-engine mapping processor tests (two new). SpotBugs zero for javafx-compat, build-engine, android, ios and core-unittests locally.

Not covered: wrapping for buttons, checkboxes and cells; lineSpacing, textOverrun, ellipsisString.

🤖 Generated with Claude Code

shai-almog and others added 12 commits October 30, 2026 19:03
…rvableValue.map, Region.insetsProperty, ImageView fit CSS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…operties

Nested class/enum field types were emitted as binary names (Outer$Inner),
which javac rejects in source. Properties inherited from a non-@mapped
base class were silently dropped by the generated mapper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An HTTP error code is not a crash, so Lifecycle no longer sends the log for
it; the simulator's built_by_user prompt is skipped on the EDT or headless.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The default getStorageEntrySize looped until skip() answered -1, but
skip() answers 0 at the end of a stream, so an implementation without its
own override hung its background thread on the first cached image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n Storage

Image downloads a remote URL through ConnectionRequest.downloadImageToStorage,
the cache URLImage uses, and tells the views showing it when it arrives.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Label with wrapText on now has a horizontal content bias, a preferred
height of its text wrapped at the given width, and a native peer
(WrappingLabel) that paints the wrapped lines. VBox, HBox and ScrollPane
already ask for height-for-width, so a column of wrapping labels in a
fit-to-width scroll pane gets the right height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orage

Reading an entry through to count it was slow, and the loop the default
used never ended on a stream whose skip() honours its contract. The native
Linux and Windows ports ask the file length, the headless implementations
the stored array.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ap/flatMap

- Image holds view listeners only while a remote load is pending, and drops a
  cached entry that failed to decode so the next request downloads again.
- DerivedValue observes its source only while it is observed itself.
- WrappingLabel caches its lines per text, font and width; tabs break.
- The mapping processor skips an inherited field whose type is a type
  variable of the superclass instead of mapping it erased.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g before letters

A tab bar of icon-over-text toggle buttons on a phone theme cut "Home" to
"Ho..." between margins wide enough for the word: fitPadding refused to shed
anything once a graphic was set. The theme's part of the padding is now given
up as it is without a graphic; the graphic's own room never is, and the
graphic is placed against the padding that remains.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…room

computeMinWidth counted the whole padding as sheddable, graphic room
included, while fitPadding only gives up theme padding; a control
shrunk to its minimum lost the text to the graphic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eir width

Cell laid its graphic out at its preferred width, so a list cell with
wrapping text drew it on one line past the edge of the list. The graphic
is now no wider than the cell, as in JavaFX, and is as tall as it is at
that width; RowFlow measures the row height at the column width and
measures again when that changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Developer Guide build artifacts are available for download from this workflow run:

Developer Guide quality checks:

  • AsciiDoc linter: No issues found (report)
  • Vale: No alerts found (report)
  • Paragraph capitalization: No paragraph capitalization issues (report)
  • LanguageTool: No grammar matches (report)
  • Image references: No unused images detected (report)

@shai-almog

shai-almog commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 12 screenshots: 12 matched.
✅ JavaSE simulator integration screenshots matched stored baselines.

@github-actions

Copy link
Copy Markdown
Contributor

Cloudflare Preview

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

✅ ByteCodeTranslator Quality Report

Test & Coverage

  • ✅ Tests: 901 total, 0 failed, 55 skipped

Benchmark Results

  • Execution Time: 8817 ms

  • Hotspots (Top 20 sampled methods):

    • 9.07% java.util.ArrayList.indexOf (120 samples)
    • 8.01% com.codename1.tools.translator.IteratorEscape.ctorOnlyStoresParamsIntoThis (106 samples)
    • 7.33% java.lang.System.identityHashCode (97 samples)
    • 6.05% com.codename1.tools.translator.BytecodeMethod.equals (80 samples)
    • 5.06% java.lang.Object.hashCode (67 samples)
    • 2.34% com.codename1.tools.translator.JavascriptReachability.enqueueResolved (31 samples)
    • 2.12% com.codename1.tools.translator.IteratorEscape.mangle (28 samples)
    • 2.12% java.lang.StringBuilder.append (28 samples)
    • 1.81% java.io.FileOutputStream.writeBytes (24 samples)
    • 1.81% java.util.AbstractCollection.containsAll (24 samples)
    • 1.66% java.lang.String.equals (22 samples)
    • 1.51% com.codename1.tools.translator.bytecodes.Invoke.findMethodUp (20 samples)
    • 1.44% java.io.FileOutputStream.open0 (19 samples)
    • 1.44% java.util.HashMap.hash (19 samples)
    • 1.44% com.codename1.tools.translator.ByteCodeClass.hasDeclaredMethod (19 samples)
    • 1.28% java.util.HashMap.putVal (17 samples)
    • 1.21% com.codename1.tools.translator.BytecodeMethod.updateInlinableFieldDependencies (16 samples)
    • 1.13% com.codename1.tools.translator.bytecodes.Invoke.resolveDirectTarget (15 samples)
    • 1.13% com.codename1.tools.translator.ByteCodeClass.fillVirtualMethodTable (15 samples)
    • 0.98% com.codename1.tools.translator.NativeSymbolIndex.<init> (13 samples)
  • ⚠️ Coverage report not generated.

Static Analysis

  • ✅ SpotBugs: no findings (report was not generated by the build).
  • ⚠️ PMD report not generated.
  • ⚠️ Checkstyle report not generated.

Generated automatically by the PR CI workflow.

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

✅ Continuous Quality Report

Test & Coverage

Static Analysis

  • SpotBugs [Report archive]
    • ✅ ByteCodeTranslator: 0 findings (no issues)
    • ✅ android: 0 findings (no issues)
    • ✅ android-compat: 0 findings (no issues)
    • ✅ android-res-compiler: 0 findings (no issues)
    • ✅ backend: 0 findings (no issues)
    • ✅ backend-test: 0 findings (no issues)
    • ✅ build-engine: 0 findings (no issues)
    • ✅ build-hint-catalog: 0 findings (no issues)
    • ✅ build-hint-tools: 0 findings (no issues)
    • ✅ codenameone-gradle-plugin: 0 findings (no issues)
    • ✅ codenameone-maven-plugin: 0 findings (no issues)
    • ✅ compose-compat: 0 findings (no issues)
    • ✅ core-unittests: 0 findings (no issues)
    • ✅ desktop-compat-runtime: 0 findings (no issues)
    • ✅ fxml-compiler: 0 findings (no issues)
    • ✅ ios: 0 findings (no issues)
    • ✅ javac: 0 findings (no issues)
    • ✅ javafx-compat: 0 findings (no issues)
    • ✅ project-model: 0 findings (no issues)
    • ✅ swing-compat: 0 findings (no issues)
  • ✅ PMD: 0 findings (no issues) [Report archive]
  • ✅ Checkstyle: 0 findings (no issues) [Report archive]

Generated automatically by the PR CI workflow.

shai-almog and others added 2 commits October 30, 2026 23:00
- Lists and scroll panes glide on after a touch drag, decelerating the
  way a UIScrollView does (runtime Fling, driven by the frame clock).
  They used to stop dead the moment the finger lifted.
- A native button's own repaint (its pressed state) now goes through its
  node, so it no longer paints over the graphic drawn above it or
  outside the clips and effects of its ancestors. A touched tab lost
  its icon until the next full repaint.
- ParentPeer's layout reports overlap support, so a peer that repaints
  alone also repaints the siblings drawn over it.
- Component skips a backdrop blur that its own opaque fill hides; the
  iOS theme's text field blur was most of the time a frame took.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o their CSS, auto-hide touch scroll bars; JavaSE measures text unzoomed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

shai-almog commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 231 screenshots: 231 matched.
✅ JavaScript-port screenshot tests passed.

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Flutter vs Codename One

Same application, built both ways: Flutter's AOT compile of the gallery, and the identical Dart source transpiled to Java on Codename One. Lower is better for every metric, so a ratio above 1.00x means Codename One is ahead by that factor.

android

9 interleaved rounds; host load 0.84, 2.02, 1.72

Metric Codename One Flutter Ratio Winner
Installed size 78.3 MB 95.8 MB 1.22x Codename One
Executable code 4.7 MB 20.6 MB 4.35x Codename One
Download size (zipped) 78.3 MB 95.8 MB 1.22x Codename One
Cold start to first frame on screen 512 ms 1593 ms 3.50x Codename One
Memory at rest 45.5 MB 77.9 MB 1.71x Codename One

Start-up and memory at rest are judged round by round: the ratio is the median of the per-round ratios, each from two launches made back to back, and the times and sizes shown are each side's median, so the ratio need not equal their quotient. Codename One was ahead in 9 of 9 rounds on cold start to first frame on screen; 9 of 9 rounds on memory at rest.

Compute -- the VM workloads (vm/benchmarks), run inside each app; time is the best of the app's own repetitions, higher ratio means Codename One is faster.

Workload Codename One Flutter Ratio
intArithmetic 89 ms 190 ms 2.13x
longArithmetic 65 ms 59 ms 0.91x
mathTranscendental 228 ms 352 ms 1.54x
arraySequential 27 ms 36 ms 1.33x
arrayRandom 263 ms 312 ms 1.19x
objectAllocation 63 ms 49 ms 0.78x
valueEscape 7 ms 7 ms 1.00x
hashMapChurn 138 ms 301 ms 2.18x
stringBuilding 100 ms 136 ms 1.36x
recursion 87 ms 274 ms 3.15x
quicksortBench 129 ms 153 ms 1.19x
Geometric mean 1.40x

Gate: within tolerance against scripts/flutter-bench/baseline.

Android sizes are for the arm64-v8a slice a phone is delivered, on both sides; Flutter's release apk carries three ABIs and would otherwise count its engine about three times.
Android start-up and memory come from an x86_64 emulator with a software GPU. They compare the two runtimes on one machine; they are not phone timings, and a renderer that leans on the GPU is penalised more there.
This platform's adapter has not been exercised end to end before; treat the first published run as the thing under review.

ios

9 interleaved rounds; host load 29.28, 36.52, 31.8

Metric Codename One Flutter Ratio Winner
Installed size 108.5 MB 110.5 MB 1.02x Codename One
Executable code 17.4 MB 19.1 MB 1.09x Codename One
Download size (zipped) 80.0 MB 81.9 MB 1.02x Codename One
Cold start to first frame on screen -- -- -- not measured
Memory at rest -- -- -- not measured

Compute -- the VM workloads (vm/benchmarks), run inside each app; time is the best of the app's own repetitions, higher ratio means Codename One is faster.

Not measured: iOS compute is not measured: a device build needs signed hardware, and on the simulator Flutter runs its JIT debug engine rather than AOT code. The macOS row runs the same ParparVM and Dart AOT compilers on the same Apple silicon.

Gate: within tolerance against scripts/flutter-bench/baseline.

iOS start-up and memory are not measured here: Flutter cannot AOT-compile for the simulator, so a simulator run would time a JIT debug build against a release build. Sizes come from release device bundles; timings need signed hardware.
This platform's adapter has not been exercised end to end before; treat the first published run as the thing under review.

javascript

9 interleaved rounds; host load 2.37, 1.49, 0.66

Metric Codename One Flutter Ratio Winner
Installed size 104.4 MB 122.5 MB 1.17x Codename One
Executable code 13.3 MB 25.2 MB 1.89x Codename One
Download size (zipped) 76.4 MB 84.1 MB 1.10x Codename One
Cold start to first frame on screen -- -- -- not measured
Memory at rest -- -- -- not measured

Compute -- the VM workloads (vm/benchmarks), run inside each app; time is the best of the app's own repetitions, higher ratio means Codename One is faster.

Workload Codename One Flutter Ratio
intArithmetic 756 ms wrong result Flutter: wrong result
longArithmetic 4878 ms did not run Flutter: did not run
mathTranscendental 430 ms did not run Flutter: did not run
arraySequential 299 ms 85 ms 0.28x
arrayRandom 864 ms wrong result Flutter: wrong result
objectAllocation 55 ms 26 ms 0.47x
valueEscape 140 ms 8 ms 0.06x
hashMapChurn 935 ms 255 ms 0.27x
stringBuilding 504 ms 101 ms 0.20x
recursion 521 ms 386 ms 0.74x
quicksortBench 499 ms wrong result Flutter: wrong result
Geometric mean 0.26x

Gate: within tolerance against scripts/flutter-bench/baseline; BEHIND FLUTTER on Compute (geomean of the VM workloads) (reported, not gated: a loss to Flutter on the web is currently accepted).

the JavaScript adapter needs a Chrome DevTools driver; sizes are reported and timings are not
This platform's adapter has not been exercised end to end before; treat the first published run as the thing under review.

linux

9 interleaved rounds; host load 0.3, 3.16, 2.83

Metric Codename One Flutter Ratio Winner
Installed size 113.5 MB 143.8 MB 1.27x Codename One
Executable code 15.8 MB 16.1 MB 1.02x Codename One
Download size (zipped) 81.7 MB 92.9 MB 1.14x Codename One
Cold start to first frame on screen 186 ms 251 ms 1.34x Codename One
Memory at rest 90.4 MB 225.7 MB 2.50x Codename One

Start-up and memory at rest are judged round by round: the ratio is the median of the per-round ratios, each from two launches made back to back, and the times and sizes shown are each side's median, so the ratio need not equal their quotient. Codename One was ahead in 9 of 9 rounds on cold start to first frame on screen; 9 of 9 rounds on memory at rest.

Compute -- the VM workloads (vm/benchmarks), run inside each app; time is the best of the app's own repetitions, higher ratio means Codename One is faster.

Workload Codename One Flutter Ratio
intArithmetic 74 ms 183 ms 2.47x
longArithmetic 56 ms 56 ms 1.00x
mathTranscendental 239 ms 271 ms 1.13x
arraySequential 16 ms 35 ms 2.19x
arrayRandom 265 ms 398 ms 1.50x
objectAllocation 23 ms 37 ms 1.61x
valueEscape 5 ms 7 ms 1.40x
hashMapChurn 47 ms 337 ms 7.17x
stringBuilding 32 ms 112 ms 3.50x
recursion 92 ms 257 ms 2.79x
quicksortBench 142 ms 150 ms 1.06x
Geometric mean 1.95x

Gate: within tolerance against scripts/flutter-bench/baseline.

This platform's adapter has not been exercised end to end before; treat the first published run as the thing under review.

macos

9 interleaved rounds; host load 11.66, 17.83, 17.38

Metric Codename One Flutter Ratio Winner
Installed size 124.6 MB 139.4 MB 1.12x Codename One
Executable code 33.5 MB 47.9 MB 1.43x Codename One
Download size (zipped) 85.6 MB 93.3 MB 1.09x Codename One
Cold start to first frame on screen 483 ms 686 ms 1.53x Codename One
Memory at rest 34.6 MB 54.0 MB 1.57x Codename One

Start-up and memory at rest are judged round by round: the ratio is the median of the per-round ratios, each from two launches made back to back, and the times and sizes shown are each side's median, so the ratio need not equal their quotient. Codename One was ahead in 9 of 9 rounds on cold start to first frame on screen; 9 of 9 rounds on memory at rest.

Compute -- the VM workloads (vm/benchmarks), run inside each app; time is the best of the app's own repetitions, higher ratio means Codename One is faster.

Workload Codename One Flutter Ratio
intArithmetic 136 ms 311 ms 2.29x
longArithmetic 82 ms 69 ms 0.84x
mathTranscendental 372 ms 373 ms 1.00x
arraySequential 13 ms 52 ms 4.00x
arrayRandom 313 ms 410 ms 1.31x
objectAllocation 100 ms 43 ms 0.43x
valueEscape 6 ms 14 ms 2.33x
hashMapChurn 46 ms 277 ms 6.02x
stringBuilding 34 ms 129 ms 3.79x
recursion 162 ms 298 ms 1.84x
quicksortBench 127 ms 170 ms 1.34x
Geometric mean 1.78x

Gate: within tolerance against scripts/flutter-bench/baseline.

This platform's adapter has not been exercised end to end before; treat the first published run as the thing under review.

windows

9 interleaved rounds

Metric Codename One Flutter Ratio Winner
Installed size 108.4 MB 121.1 MB 1.12x Codename One
Executable code 11.8 MB 14.1 MB 1.20x Codename One
Download size (zipped) 78.1 MB 86.4 MB 1.11x Codename One
Cold start to first frame on screen 159 ms 278 ms 1.65x Codename One
Memory at rest 57.2 MB 92.4 MB 1.61x Codename One

Start-up and memory at rest are judged round by round: the ratio is the median of the per-round ratios, each from two launches made back to back, and the times and sizes shown are each side's median, so the ratio need not equal their quotient. Codename One was ahead in 9 of 9 rounds on cold start to first frame on screen; 9 of 9 rounds on memory at rest.

Compute -- the VM workloads (vm/benchmarks), run inside each app; time is the best of the app's own repetitions, higher ratio means Codename One is faster.

Workload Codename One Flutter Ratio
intArithmetic 80 ms 184 ms 2.30x
longArithmetic 60 ms 57 ms 0.95x
mathTranscendental 200 ms 268 ms 1.34x
arraySequential 13 ms 35 ms 2.69x
arrayRandom 257 ms 309 ms 1.20x
objectAllocation 26 ms 39 ms 1.50x
valueEscape 1 ms 7 ms 7.00x
hashMapChurn 50 ms 342 ms 6.84x
stringBuilding 35 ms 126 ms 3.60x
recursion 199 ms 266 ms 1.34x
quicksortBench 149 ms 147 ms 0.99x
Geometric mean 2.08x

Gate: within tolerance against scripts/flutter-bench/baseline.

This platform's adapter has not been exercised end to end before; treat the first published run as the thing under review.

Codename One wins 26 of 26 measured metrics across 6 platform(s).

@shai-almog

shai-almog commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 210 screenshots: 210 matched.
Native Windows port (x64 / Intel-AMD): full hellocodenameone screenshot suite rendered offscreen with Direct2D/DirectWrite, plus the real benchmarks (base64 native/CN1/SIMD, image createMask/applyMask/modifyAlpha/PNG/JPEG, SSE2 SIMD kernels). Compared against the in-repo baseline in scripts/windows/screenshots.

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 47ms / native 3ms = 15.6x speedup
SIMD float-mul (64K x300) java 44ms / native 2ms = 22.0x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 native bridge unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 61.000 ms
Base64 CN1 decode 72.000 ms
Base64 SIMD encode 92.000 ms
Base64 encode ratio (SIMD/CN1) 1.508x (50.8% slower)
Base64 SIMD decode 81.000 ms
Base64 decode ratio (SIMD/CN1) 1.125x (12.5% slower)
Image encode benchmark iterations 100
Image createMask (SIMD off) 7.000 ms
Image createMask (SIMD on) 3.000 ms
Image createMask ratio (SIMD on/off) 0.429x (57.1% faster)
Image applyMask (SIMD off) 41.000 ms
Image applyMask (SIMD on) 38.000 ms
Image applyMask ratio (SIMD on/off) 0.927x (7.3% faster)
Image modifyAlpha (SIMD off) 35.000 ms
Image modifyAlpha (SIMD on) 11.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.314x (68.6% faster)
Image modifyAlpha removeColor (SIMD off) 27.000 ms
Image modifyAlpha removeColor (SIMD on) 19.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.704x (29.6% faster)

ParparVM vs HotSpot (JDK 25): Windows x64

Runner CPU: AMD64 Family 25 Model 17 Stepping 1, AuthenticAMD (baseline windows-x64@amd64-family-25-model-17-authenticamd)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in vm/selfhost/perf-baseline/ is a regression and fails; one that far below is an improvement, reported but not failed (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (WinHelloMain) 4 1.42x (base 1.38x, +3.5%) 0.65x (base 0.82x, -20.6%) ok
translator (self) 4 0.78x (base 0.89x, -12.2%) 0.50x (base 0.55x, -8.9%) ok
intArithmetic 4 1.10x (base 1.10x, +0.5%) 0.06x (base 0.06x, -0.6%) ok
longArithmetic 4 1.08x (base 1.08x, -0.0%) 0.06x (base 0.06x, +1.6%) ok
mathTranscendental 4 0.85x (base 0.85x, +0.3%) 0.06x (base 0.06x, +4.4%) ok
arraySequential 4 1.84x (base 1.72x, +6.9%) 0.38x (base 0.38x, +0.3%) ok
arrayRandom 4 1.02x (base 1.01x, +0.3%) 0.23x (base 0.23x, +0.7%) ok
objectAllocation 4 1.25x (base 1.25x, -0.3%) 0.28x (base 0.29x, -3.9%) ok
valueEscape 4 0.10x (base 0.10x, -1.4%) 0.05x (base 0.04x, +4.1%) ok
hashMapChurn 4 1.33x (base 1.39x, -4.1%) 0.10x (base 0.10x, +7.8%) ok
stringBuilding 4 1.40x (base 1.36x, +3.4%) 0.32x (base 0.28x, +15.8%) ok
recursion 4 1.38x (base 1.43x, -3.4%) 0.06x (base 0.06x, +3.3%) ok
quicksort 4 1.10x (base 1.11x, -0.7%) 0.12x (base 0.12x, +0.8%) ok

Result: no regression

@shai-almog

shai-almog commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 210 screenshots: 210 matched.
Native Windows port (arm64 / Apple Silicon - Arm): full hellocodenameone screenshot suite rendered offscreen with Direct2D/DirectWrite, plus the real benchmarks (base64 native/CN1/SIMD, image createMask/applyMask/modifyAlpha/PNG/JPEG, NEON SIMD kernels). Compared against the in-repo baseline in scripts/windows/screenshots.

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 50ms / native 3ms = 16.6x speedup
SIMD float-mul (64K x300) java 49ms / native 3ms = 16.3x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 native bridge unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 60.000 ms
Base64 CN1 decode 69.000 ms
Base64 SIMD encode 77.000 ms
Base64 encode ratio (SIMD/CN1) 1.283x (28.3% slower)
Base64 SIMD decode 68.000 ms
Base64 decode ratio (SIMD/CN1) 0.986x (1.4% faster)
Image encode benchmark iterations 100
Image createMask (SIMD off) 6.000 ms
Image createMask (SIMD on) 0.000 ms
Image createMask ratio (SIMD on/off) 0.000x (100.0% faster)
Image applyMask (SIMD off) 18.000 ms
Image applyMask (SIMD on) 20.000 ms
Image applyMask ratio (SIMD on/off) 1.111x (11.1% slower)
Image modifyAlpha (SIMD off) 17.000 ms
Image modifyAlpha (SIMD on) 13.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.765x (23.5% faster)
Image modifyAlpha removeColor (SIMD off) 16.000 ms
Image modifyAlpha removeColor (SIMD on) 9.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.563x (43.8% faster)

ParparVM vs HotSpot (JDK 25): Windows arm64

Runner CPU: ARMv8 (64-bit) Family 8 Model D49 Revision 0, MICROSOFT CORPORATION (baseline windows-arm64@armv8-64-bit-family-8-model-d49-microsoft-corporation)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in vm/selfhost/perf-baseline/ is a regression and fails; one that far below is an improvement, reported but not failed (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (WinHelloMain) 4 1.05x (base 1.11x, -5.2%) 0.71x (base 0.75x, -6.1%) ok
translator (self) 4 0.85x (base 0.84x, +1.3%) 0.48x (base 0.51x, -5.9%) ok
intArithmetic 4 1.04x (base 1.04x, -0.0%) 0.06x (base 0.06x, +3.1%) ok
longArithmetic 4 0.79x (base 0.80x, -0.3%) 0.06x (base 0.06x, +3.4%) ok
mathTranscendental 4 0.72x (base 0.72x, -0.5%) 0.07x (base 0.06x, +1.7%) ok
arraySequential 4 0.42x (base 0.46x, -7.6%) 0.39x (base 0.39x, +0.0%) ok
arrayRandom 4 0.93x (base 0.94x, -0.5%) 0.23x (base 0.23x, +0.2%) ok
objectAllocation 4 1.81x (base 1.82x, -0.4%) 0.41x (base 0.43x, -3.7%) ok
valueEscape 4 0.76x (base 0.76x, +0.0%) 0.05x (base 0.05x, +3.2%) ok
hashMapChurn 4 0.99x (base 0.98x, +0.5%) 0.12x (base 0.12x, -1.5%) ok
stringBuilding 4 1.52x (base 1.43x, +6.8%) 0.27x (base 0.27x, -0.2%) ok
recursion 4 1.42x (base 1.46x, -3.1%) 0.07x (base 0.07x, +1.4%) ok
quicksort 4 1.01x (base 1.00x, +0.7%) 0.12x (base 0.12x, +0.6%) ok

Result: no regression

@shai-almog

shai-almog commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 195 screenshots: 195 matched.

Native Android coverage

  • 📊 Line coverage: 19.17% (56133/292791 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 18.13% (270462/1491885), branch 12.38% (19666/158873), complexity 10.35% (15839/152966), method 15.73% (11405/72502), class 27.93% (2246/8041)
    • Lowest covered classes
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2396 lines covered)
      • org.jacoco.agent.rt.internal_0e20598.asm.org.jacoco.agent.rt.internal_0e20598.asm.ClassReader – 0.00% (0/1524 lines covered)
      • androidx.compose.runtime.androidx.compose.runtime.LinkComposer – 0.00% (0/1430 lines covered)
      • org.jacoco.agent.rt.internal_0e20598.asm.org.jacoco.agent.rt.internal_0e20598.asm.MethodWriter – 0.00% (0/922 lines covered)
      • kotlinx.coroutines.channels.kotlinx.coroutines.channels.BufferedChannel – 0.00% (0/863 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/744 lines covered)
      • com.google.common.cache.com.google.common.cache.LocalCache$Segment – 0.00% (0/726 lines covered)
      • okio.okio.Buffer – 0.00% (0/687 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/630 lines covered)
      • com.codename1.androidcompat.rt.com.codename1.androidcompat.rt.TextXmlPullParser – 0.00% (0/623 lines covered)

✅ Native Android screenshot tests passed.

Native Android coverage

  • 📊 Line coverage: 19.17% (56133/292791 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 18.13% (270462/1491885), branch 12.38% (19666/158873), complexity 10.35% (15839/152966), method 15.73% (11405/72502), class 27.93% (2246/8041)
    • Lowest covered classes
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2396 lines covered)
      • org.jacoco.agent.rt.internal_0e20598.asm.org.jacoco.agent.rt.internal_0e20598.asm.ClassReader – 0.00% (0/1524 lines covered)
      • androidx.compose.runtime.androidx.compose.runtime.LinkComposer – 0.00% (0/1430 lines covered)
      • org.jacoco.agent.rt.internal_0e20598.asm.org.jacoco.agent.rt.internal_0e20598.asm.MethodWriter – 0.00% (0/922 lines covered)
      • kotlinx.coroutines.channels.kotlinx.coroutines.channels.BufferedChannel – 0.00% (0/863 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/744 lines covered)
      • com.google.common.cache.com.google.common.cache.LocalCache$Segment – 0.00% (0/726 lines covered)
      • okio.okio.Buffer – 0.00% (0/687 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/630 lines covered)
      • com.codename1.androidcompat.rt.com.codename1.androidcompat.rt.TextXmlPullParser – 0.00% (0/623 lines covered)

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend scalar fallback (no native SIMD)
SIMD int-add (64K x300) java 170ms / native 96ms = 1.7x speedup
SIMD float-mul (64K x300) java 159ms / native 151ms = 1.0x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 76.000 ms
Base64 CN1 decode 84.000 ms
Base64 native encode 447.000 ms
Base64 encode ratio (CN1/native) 0.170x (83.0% faster)
Base64 native decode 271.000 ms
Base64 decode ratio (CN1/native) 0.310x (69.0% faster)
Image encode benchmark status skipped (SIMD unsupported)

shai-almog and others added 2 commits October 31, 2026 05:13
… moves nothing

A press on a tab button re-captured and re-blurred the whole shadowed
navigation drawer, on press and on release. A shadow is made from the
outline of what is drawn, so a paint-only change (colour, opacity,
pressed state) inside a region whose opaque, square, unclipped
background fill covers its box cannot change it. Measured in the new
test: 5 presses made 5 captures before, 0 after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e scene

RowFlow.scrollTo called requestLayout on every drag or fling frame,
which cleared the size caches of every ancestor up to the scene and
laid each of them out again. A new offset changes no size: the flow now
marks only itself and asks for a pulse, whose layout pass walks the
tree and finds it. Measured in the new test: 10 drag frames laid out
the list's holder 10 times before, 0 after. ScrollPane already only
relocated its content; the test holds that too (0 content or row
layouts over 20 offset changes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

shai-almog commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 196 screenshots: 196 matched.
✅ Native Mac screenshot tests passed.

Benchmark Results

  • VM Translation Time: 0 seconds
  • Compilation Time: 587 seconds

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 72ms / native 3ms = 24.0x speedup
SIMD float-mul (64K x300) java 70ms / native 8ms = 8.7x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 native bridge unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path active (NEON-accelerated)
Base64 CN1 encode 49.000 ms
Base64 CN1 decode 57.000 ms
Image encode benchmark iterations 100
Image createMask (SIMD off) 12.000 ms
Image createMask (SIMD on) 5.000 ms
Image createMask ratio (SIMD on/off) 0.417x (58.3% faster)
Image applyMask (SIMD off) 89.000 ms
Image applyMask (SIMD on) 75.000 ms
Image applyMask ratio (SIMD on/off) 0.843x (15.7% faster)
Image modifyAlpha (SIMD off) 65.000 ms
Image modifyAlpha (SIMD on) 80.000 ms
Image modifyAlpha ratio (SIMD on/off) 1.231x (23.1% slower)
Image modifyAlpha removeColor (SIMD off) 107.000 ms
Image modifyAlpha removeColor (SIMD on) 81.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.757x (24.3% faster)

ParparVM vs HotSpot (JDK 25): macOS arm64

Runner CPU: Apple M1 (Virtual) (baseline macos-arm64)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in vm/selfhost/perf-baseline/ is a regression and fails; one that far below is an improvement, reported but not failed (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (HelloCodenameOne) 3 0.74x (base 0.96x, -22.4%) 0.89x (base 0.93x, -3.7%) ok
translator (self) 3 0.66x (base 0.62x, +5.3%) 0.68x (base 0.78x, -12.6%) ok
intArithmetic 3 1.05x (base 1.03x, +2.0%) 0.12x (base 0.12x, +1.2%) ok
longArithmetic 3 1.02x (base 1.03x, -0.9%) 0.11x (base 0.07x, +60.4%) ok
mathTranscendental 3 0.98x (base 1.01x, -2.8%) 0.12x (base 0.12x, +0.8%) ok
arraySequential 3 0.44x (base 0.42x, +4.9%) 0.53x (base 0.53x, +0.1%) ok
arrayRandom 3 0.98x (base 0.99x, -1.3%) 0.33x (base 0.32x, +0.6%) ok
objectAllocation 3 1.00x (base 1.11x, -9.9%) 0.82x (base 0.72x, +13.1%) ok
valueEscape 3 0.51x (base 0.51x, +0.1%) 0.08x (base 0.09x, -9.9%) ok
hashMapChurn 3 1.09x (base 1.18x, -7.3%) 0.06x (base 0.07x, -6.3%) ok
stringBuilding 3 0.90x (base 0.84x, +7.1%) 0.46x (base 0.46x, -0.8%) ok
recursion 3 1.23x (base 1.24x, -0.3%) 0.12x (base 0.12x, +1.1%) ok
quicksort 3 0.99x (base 1.01x, -2.1%) 0.11x (base 0.11x, +0.3%) ok

Result: no regression

@shai-almog

shai-almog commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 192 screenshots: 192 matched.
✅ Native Mac screenshot tests passed.

Benchmark Results

  • VM Translation Time: 0 seconds
  • Compilation Time: 564 seconds

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 83ms / native 12ms = 6.9x speedup
SIMD float-mul (64K x300) java 49ms / native 3ms = 16.3x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path active (NEON-accelerated)
Base64 CN1 encode 49.000 ms
Base64 CN1 decode 50.000 ms
Base64 native encode 555.000 ms
Base64 encode ratio (CN1/native) 0.088x (91.2% faster)
Base64 native decode 289.000 ms
Base64 decode ratio (CN1/native) 0.173x (82.7% faster)
Base64 SIMD encode 47.000 ms
Base64 encode ratio (SIMD/CN1) 0.959x (4.1% faster)
Base64 SIMD decode 42.000 ms
Base64 decode ratio (SIMD/CN1) 0.840x (16.0% faster)
Base64 encode ratio (SIMD/native) 0.085x (91.5% faster)
Base64 decode ratio (SIMD/native) 0.145x (85.5% faster)
Image encode benchmark iterations 100
Image createMask (SIMD off) 5.000 ms
Image createMask (SIMD on) 2.000 ms
Image createMask ratio (SIMD on/off) 0.400x (60.0% faster)
Image applyMask (SIMD off) 41.000 ms
Image applyMask (SIMD on) 33.000 ms
Image applyMask ratio (SIMD on/off) 0.805x (19.5% faster)
Image modifyAlpha (SIMD off) 48.000 ms
Image modifyAlpha (SIMD on) 35.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.729x (27.1% faster)
Image modifyAlpha removeColor (SIMD off) 41.000 ms
Image modifyAlpha removeColor (SIMD on) 32.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.780x (22.0% faster)

@shai-almog

shai-almog commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator Author

Apple Watch (watchOS / Core Graphics)

Compared 253 screenshots: 246 matched, 3 updated, 4 missing references.

  • DesktopCompatFxData — updated screenshot. Screenshot differs (416x496 px, bit depth 8).

    DesktopCompatFxData
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as DesktopCompatFxData.png in workflow artifacts.

  • KmpCompatLayout — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots-watch/KmpCompatLayout.png.

    KmpCompatLayout
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as KmpCompatLayout.png in workflow artifacts.

  • KmpCompatList — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots-watch/KmpCompatList.png.

    KmpCompatList
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as KmpCompatList.png in workflow artifacts.

  • KmpCompatState — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots-watch/KmpCompatState.png.

    KmpCompatState
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as KmpCompatState.png in workflow artifacts.

  • KmpCompatTypography — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots-watch/KmpCompatTypography.png.

    KmpCompatTypography
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as KmpCompatTypography.png in workflow artifacts.

  • Sheet — updated screenshot. Screenshot differs (416x496 px, bit depth 8).

    Sheet
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as Sheet.png in workflow artifacts.

  • TabsAnimatedIndicatorScreenshotTest — updated screenshot. Screenshot differs (208x248 px, bit depth 8).

    TabsAnimatedIndicatorScreenshotTest
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as TabsAnimatedIndicatorScreenshotTest.png in workflow artifacts.

@shai-almog

shai-almog commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator Author

Apple TV (tvOS / Metal)

Compared 188 screenshots: 171 matched, 13 updated, 4 missing references.

  • AnimateHierarchyScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    AnimateHierarchyScreenshotTest
    Preview info: JPEG preview quality 50; JPEG preview quality 50; downscaled to 1344x756.
    Full-resolution PNG saved as AnimateHierarchyScreenshotTest.png in workflow artifacts.

  • AnimateLayoutScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    AnimateLayoutScreenshotTest
    Preview info: JPEG preview quality 20; JPEG preview quality 20; downscaled to 1344x756.
    Full-resolution PNG saved as AnimateLayoutScreenshotTest.png in workflow artifacts.

  • AnimateUnlayoutScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    AnimateUnlayoutScreenshotTest
    Preview info: JPEG preview quality 50; JPEG preview quality 50; downscaled to 1344x756.
    Full-resolution PNG saved as AnimateUnlayoutScreenshotTest.png in workflow artifacts.

  • KmpCompatLayout — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots-tv/KmpCompatLayout.png.

    KmpCompatLayout
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 1920x1080.
    Full-resolution PNG saved as KmpCompatLayout.png in workflow artifacts.

  • KmpCompatList — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots-tv/KmpCompatList.png.

    KmpCompatList
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 1920x1080.
    Full-resolution PNG saved as KmpCompatList.png in workflow artifacts.

  • KmpCompatState — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots-tv/KmpCompatState.png.

    KmpCompatState
    Preview info: JPEG preview quality 50; JPEG preview quality 50; downscaled to 1920x1080.
    Full-resolution PNG saved as KmpCompatState.png in workflow artifacts.

  • KmpCompatTypography — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots-tv/KmpCompatTypography.png.

    KmpCompatTypography
    Preview info: JPEG preview quality 20; JPEG preview quality 20; downscaled to 1920x1080.
    Full-resolution PNG saved as KmpCompatTypography.png in workflow artifacts.

  • MorphTransitionScrolledSourceTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    MorphTransitionScrolledSourceTest
    Preview info: JPEG preview quality 70; JPEG preview quality 70; downscaled to 1344x756.
    Full-resolution PNG saved as MorphTransitionScrolledSourceTest.png in workflow artifacts.

  • PullToRefreshSpinnerScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    PullToRefreshSpinnerScreenshotTest
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 1920x1080.
    Full-resolution PNG saved as PullToRefreshSpinnerScreenshotTest.png in workflow artifacts.

  • SheetSlideUpAnimationScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    SheetSlideUpAnimationScreenshotTest
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 1920x1080.
    Full-resolution PNG saved as SheetSlideUpAnimationScreenshotTest.png in workflow artifacts.

  • SmoothScrollScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    SmoothScrollScreenshotTest
    Preview info: JPEG preview quality 20; JPEG preview quality 20; downscaled to 1344x756.
    Full-resolution PNG saved as SmoothScrollScreenshotTest.png in workflow artifacts.

  • StatusBarTapDiagnosticScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    StatusBarTapDiagnosticScreenshotTest
    Preview info: JPEG preview quality 60; JPEG preview quality 60; downscaled to 1344x756.
    Full-resolution PNG saved as StatusBarTapDiagnosticScreenshotTest.png in workflow artifacts.

  • StickyHeaderFadeTransitionScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    StickyHeaderFadeTransitionScreenshotTest
    Preview info: JPEG preview quality 30; JPEG preview quality 30; downscaled to 1344x756.
    Full-resolution PNG saved as StickyHeaderFadeTransitionScreenshotTest.png in workflow artifacts.

  • StickyHeaderScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    StickyHeaderScreenshotTest
    Preview info: JPEG preview quality 40; JPEG preview quality 40; downscaled to 1344x756.
    Full-resolution PNG saved as StickyHeaderScreenshotTest.png in workflow artifacts.

  • StickyHeaderSlideTransitionScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    StickyHeaderSlideTransitionScreenshotTest
    Preview info: JPEG preview quality 30; JPEG preview quality 30; downscaled to 1344x756.
    Full-resolution PNG saved as StickyHeaderSlideTransitionScreenshotTest.png in workflow artifacts.

  • TabsAnimatedIndicatorScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    TabsAnimatedIndicatorScreenshotTest
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 1920x1080.
    Full-resolution PNG saved as TabsAnimatedIndicatorScreenshotTest.png in workflow artifacts.

  • TensileBounceScreenshotTest — updated screenshot. Screenshot differs (3840x2160 px, bit depth 8).

    TensileBounceScreenshotTest
    Preview info: JPEG preview quality 30; JPEG preview quality 30; downscaled to 1344x756.
    Full-resolution PNG saved as TensileBounceScreenshotTest.png in workflow artifacts.

shai-almog and others added 2 commits October 31, 2026 08:13
…e strip with its background

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The layer no longer needs them; the headless test harness answers a
stored entry's size from its own map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog shai-almog changed the title javafx-compat and mapping fixes from porting JFX Central mobile javafx-compat and mapping fixes Oct 31, 2026
shai-almog and others added 10 commits October 31, 2026 10:14
…g out the scene"

Recycled rows were filled with their new item but never laid out again,
so a row showed the previous item's description while scrolling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A drag past the top or bottom of a ScrollPane or a list moves the
content with UIScrollView's rubber-band resistance, a glide that reaches
an end carries on and returns, and the row a drag began on loses its
pressed look once the drag becomes a scroll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…styling the scene

Codename One held every drag back until it crossed 5% of the screen,
because the scene's components answered not draggable; the stage forms
now claim drags over the scene, which tells a click from a drag itself.

A pseudo-class some rule asks of an ancestor compound made any node in
that state restyle everything below it, so pressing a tab restyled the
whole scene twice per tap (27-112 ms each on the iOS simulator). It now
counts only on a node that has the rest of that compound.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bel whose graphic grew

A rounded clip is narrowed by every rectangle painted inside it; Codename
One's intersection throws when a curve ends a fraction of a pixel from
the rectangle, which took the app down on iOS on a scrolled card list.
Clip paths now end every segment on a whole pixel, and narrowing a shape
clip falls back to a rectangle if it still throws.

A label padded its text for its graphic once, when styled; an icon whose
font arrived later grew past that padding and was drawn over the text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A mouse drag on the desktop (a ListView's rows, a pannable ScrollPane)
stretched past the ends and glided on after release, which JavaFX on the
desktop never does. Both now feed the spring and the glide only on a
touch screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…re label does not have

The graphic was placed as if the label kept its theme's padding, which a
bare label is drawn without: under the iOS theme every titled card drew
its icon over the first letters. Also removes a scratch probe test that
was committed by mistake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	scripts/website/syndication-state.json
The JavaFX layer now snaps a clip path to device pixels; the list's
antialiased edges move by at most 17/255 on 998 pixels. Identical on
the Default, JDK 17 and JDK 21 legs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant