Skip to content

Conversation

1bsyl
Copy link
Contributor

@1bsyl 1bsyl commented Sep 25, 2025

Fixed bug #13306 -

workaround for android issue "java.lang.NullPointerException android.view.View.onResolvePointerIcon"

Waiting to see if this remove totally the issues.

…NullPointerException android.view.View.onResolvePointerIcon"
@slouken slouken added this to the 3.4.0 milestone Sep 25, 2025
@1bsyl
Copy link
Contributor Author

1bsyl commented Oct 8, 2025

So feedback after trying this:

  • it crash much less:
    Explication: because the patch prevent the exception by overloading the view method, it prevents the exception
    when it comes from SDLSurface View

    But, I also use another view for advertisement, this is one is "final" so I cannot overload the method in this view.
    And probably it still crash when cursor goes into this view.

  • it doesn't cause any trouble: no report about issue with this patch.
    I also tested with a Mouse / forcing a cursing and returning null. it doesn't hurt.

So I would merge this PR

@slouken slouken merged commit 10885f4 into libsdl-org:main Oct 8, 2025
41 of 42 checks passed
@slouken slouken modified the milestones: 3.4.0, 3.2.26 Oct 8, 2025
@1bsyl 1bsyl deleted the br_android_fix_resolvepointer_icon_exception branch October 8, 2025 15:27
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.

2 participants