Skip to content

Lagging on 1.11.8-nightly.3ef0246 and later #2717

Open

Description

@hmmuaa

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I've recently upgraded from an old version
Trying to move to the latest version
But it's lagging
And I've tested several versions..

From newer to older, Lagging:

  • 12.9 normal
  • 12.9 fdroid
  • 1.12.0-nightly.6cff253
  • 1.11.8-nightly.4c83d3f
  • 1.11.8-nightly.645c353
  • 1.11.8-nightly.d0ca77e
  • 1.11.8-nightly.10ee055
  • 1.11.8-nightly.3ef0246

Not lagging:

  • 1.11.8-nightly.c2f6644
  • 1.11.8-nightly.c77b117
  • 11.8 release

How to reproduce..

  1. Clean install
  2. Open an .mjs file
  3. (In the editor) Scroll up and down..
    Randomly taping text..
    Especially when popping up the touch keyboard

..And it will lagging or crash

And I just guess maybe it's caused by the new theme engine?

Environment

Device Information:
WebView Info:
Package Name: com.google.android.webview
Version: 103.0.5060.129

App Info:
Name: Acode
Package Name: com.foxdebug.acode
Version: 1.11.8-nightly.c2f6644
Version Code: 967

Device Info:
Android Version: 13
Manufacturer: realme
Model: RMX3350
Platform: Android
Cordova Version: 14.0.1

Screen Info:
Width: 424
Height: 942
Color Depth: 24

Additional Info:
Language: zh-CN
User Agent: Mozilla/5.0 (Linux; Android 13; RMX3350 Build/TP1A.220905.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/103.0.5060.129 Mobile Safari/537.36

My device is zh-cn, but I've set acode to en

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

Acode.log
Acode Crash Report
==================
WebView Version: 103.0.5060.129
App Language: en-us
Error Message: Attempt to invoke direct method 'void android.view.SurfaceControl.checkNotReleased()' on a null object reference
App Version: 1.12.9-nightly.3ee2609 (1005)
Device: realme RMX3350
Android Version: 13 (SDK 33)

Stack Trace:
java.lang.NullPointerException: Attempt to invoke direct method 'void android.view.SurfaceControl.checkNotReleased()' on a null object reference
at android.view.SurfaceControl.-$$Nest$mcheckNotReleased(Unknown Source:0)
at android.view.SurfaceControl$Transaction.checkPreconditions(SurfaceControl.java:2941)
at android.view.SurfaceControl$Transaction.hide(SurfaceControl.java:3124)
at android.app.ActivityThread.syncTransferSplashscreenViewTransaction(ActivityThread.java:4360)
at android.app.ActivityThread.-$$Nest$msyncTransferSplashscreenViewTransaction(Unknown Source:0)
at android.app.ActivityThread$1.onDraw(ActivityThread.java:4337)
at android.view.ViewTreeObserver.dispatchOnDraw(ViewTreeObserver.java:1132)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:4822)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4593)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3759)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2453)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9468)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1405)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1413)
at android.view.Choreographer.doCallbacks(Choreographer.java:1040)
at android.view.Choreographer.doFrame(Choreographer.java:930)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1388)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:240)
at android.os.Looper.loop(Looper.java:351)
at android.app.ActivityThread.main(ActivityThread.java:8423)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

Activity

  1. added theissue type on Aug 11, 2026
  2. AuDevTist1C commented on Aug 11, 2026

    @AuDevTist1C
    Contributor
  3. hmmuaa commented on Aug 12, 2026

    @hmmuaa
    Author

    Thank you for suggestion
    So I've tried the most recent version
    (acode-debug-fdroid-1.12.9-nightly.3ee2609)
    And turned off the autocompletion
    I'm not sure does it make any help
    Since it's still lagging on the impossible-to-use level

    Also I've tried to turn off every language servers in its settings page

    Also I suppose to provide this supplement info
    Everytime when scrolling up, down, left or right in the editor
    The Quick tools on the screen bottom
    Will showing up scroll bars
    I suppose it's caused by any unexpected trigger
    (The screenshot)

    Image

    @AuDevTist1C @bajrangCoder

  4. hmmuaa commented on Aug 12, 2026

    @hmmuaa
    Author

    Ok i've got the crash log this time

    Acode Crash Report
    ==================
    WebView Version: 103.0.5060.129
    App Language: en-us
    Error Message: Attempt to invoke direct method 'void android.view.SurfaceControl.checkNotReleased()' on a null object reference
    App Version: 1.12.9-nightly.3ee2609 (1005)
    Device: realme RMX3350
    Android Version: 13 (SDK 33)

    Stack Trace:
    java.lang.NullPointerException: Attempt to invoke direct method 'void android.view.SurfaceControl.checkNotReleased()' on a null object reference
    at android.view.SurfaceControl.-$$Nest$mcheckNotReleased(Unknown Source:0)
    at android.view.SurfaceControl$Transaction.checkPreconditions(SurfaceControl.java:2941)
    at android.view.SurfaceControl$Transaction.hide(SurfaceControl.java:3124)
    at android.app.ActivityThread.syncTransferSplashscreenViewTransaction(ActivityThread.java:4360)
    at android.app.ActivityThread.-$$Nest$msyncTransferSplashscreenViewTransaction(Unknown Source:0)
    at android.app.ActivityThread$1.onDraw(ActivityThread.java:4337)
    at android.view.ViewTreeObserver.dispatchOnDraw(ViewTreeObserver.java:1132)
    at android.view.ViewRootImpl.draw(ViewRootImpl.java:4822)
    at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4593)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3759)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2453)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9468)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1405)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1413)
    at android.view.Choreographer.doCallbacks(Choreographer.java:1040)
    at android.view.Choreographer.doFrame(Choreographer.java:930)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1388)
    at android.os.Handler.handleCallback(Handler.java:942)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:240)
    at android.os.Looper.loop(Looper.java:351)
    at android.app.ActivityThread.main(ActivityThread.java:8423)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

  5. hmmuaa commented on Aug 12, 2026

    @hmmuaa
    Author

    Also I suppose the editor line-hight setting
    on versions later than 1.11.8-nightly.c2f6644
    is not working (on my device)

  6. bajrangCoder commented on Aug 20, 2026

    @bajrangCoder
    Member

    Thank you for suggestion So I've tried the most recent version (acode-debug-fdroid-1.12.9-nightly.3ee2609) And turned off the autocompletion I'm not sure does it make any help Since it's still lagging on the impossible-to-use level

    Also I've tried to turn off every language servers in its settings page

    Also I suppose to provide this supplement info Everytime when scrolling up, down, left or right in the editor The Quick tools on the screen bottom Will showing up scroll bars I suppose it's caused by any unexpected trigger (The screenshot)
    Image

    @AuDevTist1C @bajrangCoder

    This PR should fix it: #2777. Can you test it? The APK is available.

  7. hmmuaa commented on Aug 24, 2026

    @hmmuaa
    Author

    @bajrangCoder
    I have tried this PR
    I confirmed the quick tool scroll bar is normal now
    But still lagging and crashed again

    It's related to the file size
    I've tested some 30-lines js files and those are okay
    But it's lagging on a 150-lines js file
    Also a 3k-lines txt file is ok since no highlighting

    And still it's especially happening when popuping or hiding the touch keyboard

    Again I've got a crash log

    Acode.log
    Acode Crash Report
    ==================
    WebView Version: 103.0.5060.129
    App Language: en-us
    Error Message: Attempt to invoke direct method 'void android.view.SurfaceControl.checkNotReleased()' on a null object reference
    App Version: 1.13.1-pr.2777 (1007)
    Device: realme RMX3350
    Android Version: 13 (SDK 33)
    

    Stack Trace:
    java.lang.NullPointerException: Attempt to invoke direct method 'void android.view.SurfaceControl.checkNotReleased()' on a null object reference
    at android.view.SurfaceControl.-$$Nest$mcheckNotReleased(Unknown Source:0)
    at android.view.SurfaceControl$Transaction.checkPreconditions(SurfaceControl.java:2941)
    at android.view.SurfaceControl$Transaction.hide(SurfaceControl.java:3124)
    at android.app.ActivityThread.syncTransferSplashscreenViewTransaction(ActivityThread.java:4360)
    at android.app.ActivityThread.-$$Nest$msyncTransferSplashscreenViewTransaction(Unknown Source:0)
    at android.app.ActivityThread$1.onDraw(ActivityThread.java:4337)
    at android.view.ViewTreeObserver.dispatchOnDraw(ViewTreeObserver.java:1132)
    at android.view.ViewRootImpl.draw(ViewRootImpl.java:4822)
    at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4593)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3759)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2453)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9468)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1405)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1413)
    at android.view.Choreographer.doCallbacks(Choreographer.java:1040)
    at android.view.Choreographer.doFrame(Choreographer.java:930)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1388)
    at android.os.Handler.handleCallback(Handler.java:942)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:240)
    at android.os.Looper.loop(Looper.java:351)
    at android.app.ActivityThread.main(ActivityThread.java:8423)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions