Skip to content

Too much pasted content causes the app to crash  #226

Description

@uxhzbaz

Too much pasted content causes the app to crash
Too much pasted content causes the app to crash
To Reproduce
1.chat window
2.Copying tens of thousands of bytes of text, pasting, crashing

Expected behavior

Too much pasted content causes the app to crash

Additional context

msg: java.lang.IllegalArgumentException: Can't represent a width of 905 and height of 369898 in Constraints
stacktrace: java.lang.IllegalArgumentException: Can't represent a width of 905 and height of 369898 in Constraints
	at a.a.x(Unknown Source:122)
	at a.a.c(Unknown Source:26)
	at L.M1.c(Unknown Source:785)
	at y0.t.d(Unknown Source:37)
	at Y4.l.invoke(Unknown Source:82)
	at Y.s.e(Unknown Source:113)
	at Y.t.a(Unknown Source:51)
	at Y.u.d(Unknown Source:130)
	at y0.i0.a(Unknown Source:2)
	at y0.J.B0(Unknown Source:130)
	at y0.D.K(Unknown Source:16)
	at y0.D.L(Unknown Source:17)
	at y0.S.c(Unknown Source:7)
	at y0.S.m(Unknown Source:137)
	at y0.S.g(Unknown Source:129)
	at y0.S.g(Unknown Source:105)
	at y0.S.g(Unknown Source:105)
	at y0.S.g(Unknown Source:105)
	at y0.S.g(Unknown Source:105)
	at y0.S.g(Unknown Source:105)
	at y0.S.g(Unknown Source:105)
	at y0.S.g(Unknown Source:105)
	at y0.S.g(Unknown Source:105)
	at y0.S.g(Unknown Source:105)
	at y0.S.f(Unknown Source:41)
	at y0.J.B0(Unknown Source:56)
	at y0.D.K(Unknown Source:16)
	at y0.S.c(Unknown Source:2)
	at y0.S.o(Unknown Source:22)
	at y0.S.l(Unknown Source:64)
	at z0.s.onMeasure(Unknown Source:120)
	at android.view.View.measure(View.java:28412)
	at z0.a.e(Unknown Source:63)
	at X0.p.e(Unknown Source:86)
	at z0.a.onMeasure(Unknown Source:3)
	at android.view.View.measure(View.java:28412)
	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7028)
	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
	at android.view.View.measure(View.java:28412)
	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7028)
	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
	at android.view.View.measure(View.java:28412)
	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7028)
	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
	at com.android.internal.policy.DecorView.onMeasure(DecorView.java:736)
	at android.view.View.measure(View.java:28412)
	at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:5020)
	at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:3411)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3723)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3096)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10669)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1570)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1579)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1179)
	at android.view.Choreographer.doFrame(Choreographer.java:1108)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1553)
	at android.os.Handler.handleCallback(Handler.java:995)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	at android.os.Looper.loopOnce(Looper.java:248)
	at android.os.Looper.loop(Looper.java:338)
	at android.app.ActivityThread.main(ActivityThread.java:9068)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions