Skip to content

Fix some regressions in beta 3 - #3095

Merged
riccardobl merged 3 commits into
jMonkeyEngine:masterfrom
riccardobl:fixreg
Nov 26, 2026
Merged

riccardobl merged 3 commits into
jMonkeyEngine:masterfrom
riccardobl:fixreg

Conversation

@riccardobl

@riccardobl riccardobl commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Fixes virtual joystick coordinates, compressed textures and updates natives-bootstrap

@riccardobl
riccardobl force-pushed the fixreg branch 2 times, most recently from 3912693 to b40f720 Compare November 25, 2026 18:22
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🖼️ Desktop screenshot changes

✅ No screenshot differences found as of b40f720 (workflow run).

🖥️ desktop (angle) - compared against 9e3e3b8

✔️ No differences.

📄 Report: download screenshot-test-report-angle, then open ScreenshotDiffReport.html from the zip. ⚠️ The report is produced by this pull request's code, so only open it if you trust the pull request.

🖥️ desktop (opengl) - compared against 9e3e3b8

✔️ No differences.

📄 Report: download screenshot-test-report-opengl, then open ScreenshotDiffReport.html from the zip. ⚠️ The report is produced by this pull request's code, so only open it if you trust the pull request.

📚 See the screenshot test README for more information.

Comment thread gradle/libs.versions.toml
libjglios = "0.10"
saferalloc = "0.0.11"
native-bootstrap = "0.1.4"
native-bootstrap = "0.1.5"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 0.1.5 upgrade currently breaks the desktop native-extraction test suite on Linux, macOS, and Windows: the new bootstrap resolves directories differently from the paths the loader and its tests expect (for example, custom becomes custom/.jme3/jme3, and fallback cache paths are missing). Could you reconcile the new bootstrap behavior with the loader contract and get these tests green before merging?

Suggested change
native-bootstrap = "0.1.5"
native-bootstrap = "0.1.4"

@jaime-jmebot jaime-jmebot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi riccardobl, thanks for bringing these beta 3 fixes together. The virtual joystick coordinate handling, Android compressed-texture byte sizing, and the touch regression test are all aimed at useful user-facing issues, and the Android modules compile and the screenshot-test job passes.

I did find a blocker in the native-bootstrap version bump: the desktop test suite fails across Linux, macOS, and Windows with 0.1.5. In particular, the bootstrap now returns extraction locations that diverge from the configured paths the loader/tests expect, and some fallback directories are never created. I left an inline note on the version change with an example and suggestion; please reconcile the updated bootstrap behavior with the loader's directory contract and rerun the desktop tests.

Once that is resolved, the rest of the changes look well targeted. Thanks for taking on these regressions!

@8Keep

8Keep commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

I know I have no commit access but I looked and these changes make sense to me.

@jaime-jmebot jaime-jmebot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi riccardobl, thanks for the follow-up and for updating the extraction tests alongside the bootstrap change. I reviewed the current diff, including the Android touch-coordinate conversion, the compressed-texture byte counts, and the native extraction candidate handling. The extraction tests now consistently exercise the bootstrap’s namespaced directory layout and fallback roots, which addresses the concern from my earlier review; the custom-root and duplicate-candidate cases are also covered.

The virtual joystick changes convert view-pixel input into normalized surface coordinates before applying the GUI dimensions, so controls continue to line up when the rendered GUI and device surface have different sizes. The new touch test covers both matching and independently sized GUI dimensions, and the Android screenshot test and platform builds are passing. I also checked the remaining reported ANGLE failure: it was caused by Maven Central rate limiting while resolving GraalVM dependencies, rather than a test or code failure; the later ANGLE run succeeded.

I don’t see any remaining blockers in the current revision. Thanks for addressing the extraction-path coverage and for adding the regression test—this looks good to me!

@riccardobl
riccardobl merged commit 78c60b9 into jMonkeyEngine:master Nov 26, 2026
25 of 26 checks passed
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.

3 participants