Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when I release an APP, it can't display binding data properly, but it will display properly when I run it in debug mode. #16414

Closed
lxq-iang opened this issue Jul 28, 2023 · 9 comments · Fixed by #22056

Comments

@lxq-iang
Copy link

Description

when I release an APP, it can't display binding data properly in collectionview, but it will display properly when I run it in debug mode.

Steps to Reproduce

In debug mode!

image

In release mode

image

Link to public reproduction project repository

https://github.com/dotnet/maui/

Version with bug

7.0.49

Last version that worked well

6.0

Affected platforms

Android

Affected platform versions

Android 11 and higher version

Did you find any workaround?

No solution has been found

Relevant log output

exec_start_elapsed_seconds: 15748 [CONTEXT service_id=218 ]
07-28 02:26:09.653 W/healthd (    0): battery l=100 v=5000 t=25.0 h=2 st=4 c=900000 fc=3000000 cc=10 chg=
07-28 02:26:19.519 E/android.hardware.power.stats@1.0-service-mock(  432): Failed to getEnergyData
07-28 02:26:24.522 D/IntervalStats(  623): Unable to parse usage stats packages: [187, 201, 213, 214, 215, 216]
07-28 02:26:24.522 D/IntervalStats(  623): Unable to parse event packages: [216]
07-28 02:26:47.477 E/WifiScoringParams(  623): Invalid frequency(-1), using 5G as default rssi array
07-28 02:26:51.231 D/WifiNl80211Manager(  623): Scan result ready event
07-28 02:26:51.231 D/WifiNative(  623): Scan result ready event
07-28 02:26:55.451 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=97.98706, y[0]=126.968994, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15796696, downTime=15796696, deviceId=12, source=0x5002, displayId=0, eventId=805936239 }
07-28 02:26:55.556 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=97.98706, y[0]=126.968994, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15796803, downTime=15796696, deviceId=12, source=0x5002, displayId=0, eventId=640063634 }
07-28 02:26:55.570 D/EGL_emulation(23935): app_time_stats: avg=22604.95ms min=3.24ms max=293805.12ms count=13
07-28 02:26:56.195 W/TransactionTracing(  467): Could not find layer id -1
07-28 02:26:56.521 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=222.96753, y[0]=701.97144, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15797767, downTime=15797767, deviceId=12, source=0x5002, displayId=0, eventId=57880318 }
07-28 02:26:56.611 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=222.96753, y[0]=701.97144, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15797858, downTime=15797767, deviceId=12, source=0x5002, displayId=0, eventId=832707767 }
07-28 02:26:56.613 W/OnBackInvokedCallback(23935): OnBackInvokedCallback is not enabled for the application.
07-28 02:26:56.613 W/OnBackInvokedCallback(23935): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
07-28 02:26:56.634 D/EGL_emulation(23935): app_time_stats: avg=12.74ms min=5.18ms max=169.46ms count=44
07-28 02:26:56.635 D/AudioFlinger(  455): mixer(0x73ace68ec9a0) throttle end: throttle time(38)
07-28 02:26:56.643 W/TabLayout(23935): MODE_SCROLLABLE + GRAVITY_FILL is not supported, GRAVITY_START will be used instead
07-28 02:26:57.257 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=417.98584, y[0]=666.90857, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15798503, downTime=15798503, deviceId=12, source=0x5002, displayId=0, eventId=963815105 }
07-28 02:26:57.363 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=420.9851, y[0]=666.90857, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15798609, downTime=15798503, deviceId=12, source=0x5002, displayId=0, eventId=486385341 }
07-28 02:26:57.667 D/EGL_emulation(  833): app_time_stats: avg=57650.95ms min=57650.95ms max=57650.95ms count=1
07-28 02:26:59.371 I/NetworkScheduler.Stats(22803): Task com.google.android.gms/com.google.android.gms.auth.account.be.legacy.AuthCronService started execution. cause:4 exec_start_elapsed_seconds: 15800 [CONTEXT service_id=218 ]
07-28 02:26:59.376 I/NetworkScheduler.Stats(22803): Task com.google.android.gms/com.google.android.gms.auth.account.be.legacy.AuthCronService finished executing. cause:4 result: 1 elapsed_millis: 20 uptime_millis: 19 exec_start_elapsed_seconds: 15800 [CONTEXT service_id=218 ]
07-28 02:27:00.016 D/EGL_emulation(  833): app_time_stats: avg=2348.15ms min=2348.15ms max=2348.15ms count=1
07-28 02:27:01.614 I/logd    (    0): logdr: UID=2000 GID=2000 PID=24014 b tail=0 logMask=99 pid=0 start=0ns deadline=0ns
07-28 02:27:03.086 D/WifiNl80211Manager(  623): Scan result ready event
07-28 02:27:03.087 D/WifiNative(  623): Scan result ready event
07-28 02:27:04.309 W/logd    (    0): SocketClient: write error (Broken pipe)
07-28 02:27:06.732 D/TelephonyManager(  623): requestModemActivityInfo: Sending result to app: ModemActivityInfo{ mTimestamp=15807979 mSleepTimeMs=0 mIdleTimeMs=15665739 mActivityStatsTechSpecificInfo=[{mRat=UNKNOWN,mFrequencyRange=UNKNOWN,mTxTimeMs[]=[0, 0, 0, 0, 0],mRxTimeMs=0}]}
07-28 02:27:06.778 I/netd    (  380): tetherGetStats() -> {[]} <0.81ms>
07-28 02:27:37.681 D/EGL_emulation(  833): app_time_stats: avg=37664.64ms min=37664.64ms max=37664.64ms count=1
07-28 02:27:45.413 D/ControlsListingControllerImpl(  833): Subscribing callback, service count: 0
07-28 02:27:45.452 D/ControlsListingControllerImpl(  833): Unsubscribing callback
07-28 02:27:51.905 I/NetworkScheduler.Stats(22803): Task com.google.android.gms/com.google.android.gms.auth.account.be.legacy.AuthCronService started execution. cause:4 exec_start_elapsed_seconds: 15853 [CONTEXT service_id=218 ]
07-28 02:27:51.912 I/NetworkScheduler.Stats(22803): Task com.google.android.gms/com.google.android.gms.auth.account.be.legacy.AuthCronService finished executing. cause:4 result: 1 elapsed_millis: 22 uptime_millis: 22 exec_start_elapsed_seconds: 15853 [CONTEXT service_id=218 ]
07-28 02:28:00.017 D/EGL_emulation(  833): app_time_stats: avg=22335.18ms min=22335.18ms max=22335.18ms count=1
07-28 02:28:09.659 W/healthd (    0): battery l=100 v=5000 t=25.0 h=2 st=4 c=900000 fc=3000000 cc=10 chg=
07-28 02:28:15.165 D/androidtc(  623): Initializing SystemTextClassifier, type = System
07-28 02:28:15.184 I/ClipboardListener(  833): Clipboard overlay suppressed.
07-28 02:28:15.296 I/ClipboardListener(  833): Clipboard overlay suppressed.
07-28 02:28:17.681 D/EGL_emulation(  833): app_time_stats: avg=17663.19ms min=17663.19ms max=17663.19ms count=1
07-28 02:28:19.519 E/android.hardware.power.stats@1.0-service-mock(  432): Failed to getEnergyData
07-28 02:28:24.522 D/IntervalStats(  623): Unable to parse usage stats packages: [187, 201, 213, 214, 215, 216]
07-28 02:28:24.522 D/IntervalStats(  623): Unable to parse event packages: [216]
07-28 02:28:44.421 I/NetworkScheduler.Stats(22803): Task com.google.android.gms/com.google.android.gms.auth.account.be.legacy.AuthCronService started execution. cause:4 exec_start_elapsed_seconds: 15905 [CONTEXT service_id=218 ]
07-28 02:28:44.432 I/NetworkScheduler.Stats(22803): Task com.google.android.gms/com.google.android.gms.auth.account.be.legacy.AuthCronService finished executing. cause:4 result: 1 elapsed_millis: 26 uptime_millis: 26 exec_start_elapsed_seconds: 15905 [CONTEXT service_id=218 ]
07-28 02:28:44.523 I/.gms.persistent(22803): Background concurrent copying GC freed 172819(8614KB) AllocSpace objects, 2(68KB) LOS objects, 49% free, 9358KB/18MB, paused 1.652ms,115us total 108.571ms
07-28 02:28:45.078 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=67.994385, y[0]=161.96045, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15906323, downTime=15906323, deviceId=12, source=0x5002, displayId=0, eventId=841933445 }
07-28 02:28:45.103 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3d9b000 0x3f3e6c000]
07-28 02:28:45.105 I/BpBinder(  467): onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
07-28 02:28:45.108 I/LatencyTracker(  833): ACTION_SHOW_BACK_ARROW latency=29
07-28 02:28:45.109 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3e6c000 0x3f3f3d000]
07-28 02:28:45.125 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f2cbc000 0x3f31ce000]
07-28 02:28:45.131 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f31ce000 0x3f329f000]
07-28 02:28:45.158 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=67.994385, y[0]=161.96045, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15906393, downTime=15906323, deviceId=12, source=0x5002, displayId=0, eventId=106287056 }
07-28 02:28:45.164 I/BpBinder(  467): onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
07-28 02:28:45.164 D/ShellBackPreview(  833): Finishing gesture with event action: 1
07-28 02:28:45.164 D/ShellBackPreview(  833): onGestureFinished() mTriggerBack == false
07-28 02:28:45.164 D/ShellBackPreview(  833): BackAnimationController: finishAnimation()
07-28 02:28:45.169 D/EGL_emulation(23935): app_time_stats: avg=4331.36ms min=2.18ms max=108100.73ms count=25
07-28 02:28:45.181 W/TransactionTracing(  467): Could not find layer id -1
07-28 02:28:45.229 W/TransactionTracing(  467): Could not find layer handle 0x7d0c2a4deeb0
07-28 02:28:45.234 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3fb7000 0x3f3fce000]
07-28 02:28:46.385 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=263.9685, y[0]=828.9404, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15907631, downTime=15907631, deviceId=12, source=0x5002, displayId=0, eventId=474816016 }
07-28 02:28:46.498 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=263.9685, y[0]=828.9404, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15907744, downTime=15907631, deviceId=12, source=0x5002, displayId=0, eventId=957263551 }
07-28 02:28:46.500 W/OnBackInvokedCallback(23935): OnBackInvokedCallback is not enabled for the application.
07-28 02:28:46.500 W/OnBackInvokedCallback(23935): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
07-28 02:28:46.522 D/AudioFlinger(  455): mixer(0x73ace68ec9a0) throttle end: throttle time(27)
07-28 02:28:46.549 I/com.acme.mtdapp(23935): Explicit concurrent copying GC freed 15949(724KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 5540KB/10MB, paused 484us,73us total 21.198ms
07-28 02:28:46.563 D/TrafficStats(23935): tagSocket(94) with statsTag=0xffffffff, statsUid=-1
07-28 02:28:46.575 D/EGL_emulation(23935): app_time_stats: avg=16.47ms min=3.15ms max=508.07ms count=47
07-28 02:28:46.613 W/TabLayout(23935): MODE_SCROLLABLE + GRAVITY_FILL is not supported, GRAVITY_START will be used instead
07-28 02:28:46.806 I/NotificationService(  623): cancelToast pkg=com.acme.mtdapp token=android.os.BinderProxy@e2d2d3d
07-28 02:28:46.807 W/NotificationService(  623): Toast already cancelled. pkg=com.acme.mtdapp token=android.os.BinderProxy@e2d2d3d
07-28 02:28:46.838 D/CoreBackPreview(  623): Window{64eb2bb u0 Toast}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@1fde331, mPriority=0}
07-28 02:28:46.859 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3d9b000 0x3f3dde000]
07-28 02:28:46.867 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3dde000 0x3f3e21000]
07-28 02:28:46.870 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3e21000 0x3f3e64000]
07-28 02:28:46.883 W/Parcel  (  833): Expecting binder but got null!
07-28 02:28:47.390 I/com.acme.mtdapp(23935): Explicit concurrent copying GC freed 11247(553KB) AllocSpace objects, 8(1056KB) LOS objects, 49% free, 6298KB/12MB, paused 454us,72us total 24.221ms
07-28 02:28:47.740 I/com.acme.mtdapp(23935): Explicit concurrent copying GC freed 6222(266KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 7056KB/13MB, paused 345us,88us total 25.175ms
07-28 02:28:47.790 I/Choreographer(23935): Skipped 56 frames!  The application may be doing too much work on its main thread.
07-28 02:28:47.795 D/EGL_emulation(23935): app_time_stats: avg=239.02ms min=10.05ms max=973.96ms count=5
07-28 02:28:47.821 I/OpenGLRenderer(23935): Davey! duration=1002ms; Flags=0, FrameTimelineVsyncId=371900, IntendedVsync=15908040739078, Vsync=15908057405744, InputEventId=0, HandleInputStart=15908072331000, AnimationStart=15908072366000, PerformTraversalsStart=15908072714400, DrawStart=15909020948700, FrameDeadline=15908090739076, FrameInterval=15908072311800, FrameStartTime=16666666, SyncQueued=15909036152900, SyncStart=15909036499400, IssueDrawCommandsStart=15909037417100, SwapBuffers=15909041112600, FrameCompleted=15909043914300, DequeueBufferDuration=46900, QueueBufferDuration=571700, GpuCompleted=15909042844800, SwapBuffersCompleted=15909043914300, DisplayPresentTime=15796853100700, CommandSubmissionCompleted=15909041112600, 
07-28 02:28:48.062 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=534.9573, y[0]=994.8999, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15909308, downTime=15909308, deviceId=12, source=0x5002, displayId=0, eventId=1068916606 }
07-28 02:28:48.162 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=534.9573, y[0]=953.9099, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15909409, downTime=15909308, deviceId=12, source=0x5002, displayId=0, eventId=858720982 }
07-28 02:28:48.800 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=580.968, y[0]=1086.9489, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15910045, downTime=15910045, deviceId=12, source=0x5002, displayId=0, eventId=421369992 }
07-28 02:28:48.818 D/EGL_emulation(23935): app_time_stats: avg=13.63ms min=3.32ms max=53.35ms count=39
07-28 02:28:48.913 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=580.968, y[0]=1126.9391, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15910160, downTime=15910045, deviceId=12, source=0x5002, displayId=0, eventId=241143331 }
07-28 02:28:49.141 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=580.968, y[0]=1086.9489, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15910386, downTime=15910386, deviceId=12, source=0x5002, displayId=0, eventId=387065391 }
07-28 02:28:49.187 D/EGL_emulation(  833): app_time_stats: avg=109.26ms min=3.41ms max=1968.21ms count=19
07-28 02:28:49.240 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=580.968, y[0]=1126.9391, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15910486, downTime=15910386, deviceId=12, source=0x5002, displayId=0, eventId=242827969 }
07-28 02:28:49.419 D/CoreBackPreview(  623): Window{64eb2bb u0 Toast}: Setting back callback null
07-28 02:28:49.448 W/InputManager-JNI(  623): Input channel object '64eb2bb Toast (client)' was disposed without first being removed with the input manager!
07-28 02:28:49.453 W/NotificationService(  623): Toast already killed. pkg=com.acme.mtdapp token=android.os.BinderProxy@be081a2
07-28 02:28:49.462 W/TransactionTracing(  467): Could not find layer handle 0x7d0c2a4db070
07-28 02:28:49.462 W/TransactionTracing(  467): Could not find layer handle 0x7d0c2a4d9bd0
07-28 02:28:49.823 D/EGL_emulation(23935): app_time_stats: avg=10.34ms min=3.72ms max=36.91ms count=43
07-28 02:28:49.970 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=572.959, y[0]=1034.9615, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15911213, downTime=15911213, deviceId=12, source=0x5002, displayId=0, eventId=870131562 }
07-28 02:28:50.066 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=572.959, y[0]=1075.9515, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15911312, downTime=15911213, deviceId=12, source=0x5002, displayId=0, eventId=208709643 }
07-28 02:28:53.399 I/logd    (    0): logdr: UID=2000 GID=2000 PID=24028 b tail=0 logMask=99 pid=0 start=0ns deadline=0ns
07-28 02:28:56.814 D/TelephonyManager(  623): requestModemActivityInfo: Sending result to app: ModemActivityInfo{ mTimestamp=15918060 mSleepTimeMs=0 mIdleTimeMs=15775817 mActivityStatsTechSpecificInfo=[{mRat=UNKNOWN,mFrequencyRange=UNKNOWN,mTxTimeMs[]=[0, 0, 0, 0, 0],mRxTimeMs=0}]}
07-28 02:28:56.845 I/netd    (  380): tetherGetStats() -> {[]} <1.41ms>
07-28 02:28:57.700 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=40.968018, y[0]=131.96777, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15918946, downTime=15918946, deviceId=12, source=0x5002, displayId=0, eventId=627429904 }
07-28 02:28:57.721 I/BpBinder(  467): onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
07-28 02:28:57.722 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3d9b000 0x3f3e6c000]
07-28 02:28:57.730 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3e6c000 0x3f3f3d000]
07-28 02:28:57.736 I/LatencyTracker(  833): ACTION_SHOW_BACK_ARROW latency=34
07-28 02:28:57.739 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f2cbc000 0x3f2d8d000]
07-28 02:28:57.767 D/ShellBackPreview(  833): Finishing gesture with event action: 1
07-28 02:28:57.767 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=40.968018, y[0]=131.96777, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15919009, downTime=15918946, deviceId=12, source=0x5002, displayId=0, eventId=174520467 }
07-28 02:28:57.768 D/ShellBackPreview(  833): onGestureFinished() mTriggerBack == false
07-28 02:28:57.768 I/BpBinder(  467): onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
07-28 02:28:57.769 D/ShellBackPreview(  833): BackAnimationController: finishAnimation()
07-28 02:28:57.791 D/EGL_emulation(23935): app_time_stats: avg=250.48ms min=3.79ms max=7207.99ms count=30
07-28 02:28:57.797 W/TransactionTracing(  467): Could not find layer handle 0x7d0c2a4db190
07-28 02:28:58.979 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=276.9873, y[0]=712.96875, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15920224, downTime=15920224, deviceId=12, source=0x5002, displayId=0, eventId=444614357 }
07-28 02:28:59.088 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=276.9873, y[0]=712.96875, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15920333, downTime=15920224, deviceId=12, source=0x5002, displayId=0, eventId=942471326 }
07-28 02:28:59.090 W/OnBackInvokedCallback(23935): OnBackInvokedCallback is not enabled for the application.
07-28 02:28:59.090 W/OnBackInvokedCallback(23935): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
07-28 02:28:59.104 D/EGL_emulation(23935): app_time_stats: avg=20.20ms min=6.61ms max=384.18ms count=38
07-28 02:28:59.109 D/AudioFlinger(  455): mixer(0x73ace68ec9a0) throttle end: throttle time(41)
07-28 02:28:59.125 W/TabLayout(23935): MODE_SCROLLABLE + GRAVITY_FILL is not supported, GRAVITY_START will be used instead
07-28 02:28:59.917 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=81.968994, y[0]=145.96436, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15921163, downTime=15921163, deviceId=12, source=0x5002, displayId=0, eventId=1044377960 }
07-28 02:28:59.937 I/BpBinder(  467): onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
07-28 02:28:59.937 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3d9b000 0x3f3e6c000]
07-28 02:28:59.942 I/LatencyTracker(  833): ACTION_SHOW_BACK_ARROW latency=22
07-28 02:28:59.943 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3e6c000 0x3f3f3d000]
07-28 02:28:59.952 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f2cbc000 0x3f2d8d000]
07-28 02:28:59.955 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f2d8d000 0x3f329f000]
07-28 02:29:00.018 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=81.968994, y[0]=145.96436, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15921263, downTime=15921163, deviceId=12, source=0x5002, displayId=0, eventId=634680253 }
07-28 02:29:00.028 D/EGL_emulation(  833): app_time_stats: avg=42346.27ms min=42346.27ms max=42346.27ms count=1
07-28 02:29:00.036 D/ShellBackPreview(  833): Finishing gesture with event action: 1
07-28 02:29:00.038 D/ShellBackPreview(  833): onGestureFinished() mTriggerBack == false
07-28 02:29:00.038 I/BpBinder(  467): onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
07-28 02:29:00.041 D/ShellBackPreview(  833): BackAnimationController: finishAnimation()
07-28 02:29:00.066 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3fb7000 0x3f3fce000]
07-28 02:29:00.068 W/TransactionTracing(  467): Could not find layer handle 0x7d0c2a4d7b90
07-28 02:29:00.129 D/EGL_emulation(23935): app_time_stats: avg=29.82ms min=3.59ms max=451.17ms count=26
07-28 02:29:00.160 W/WindowManager(  623): removeWindowToken: Attempted to remove non-existing token: android.os.Binder@10ec4ec
07-28 02:29:00.846 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=350.98022, y[0]=817.9431, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15922091, downTime=15922091, deviceId=12, source=0x5002, displayId=0, eventId=430481822 }
07-28 02:29:00.954 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=350.98022, y[0]=817.9431, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15922200, downTime=15922091, deviceId=12, source=0x5002, displayId=0, eventId=201558745 }
07-28 02:29:00.958 W/OnBackInvokedCallback(23935): OnBackInvokedCallback is not enabled for the application.
07-28 02:29:00.958 W/OnBackInvokedCallback(23935): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
07-28 02:29:01.007 W/TabLayout(23935): MODE_SCROLLABLE + GRAVITY_FILL is not supported, GRAVITY_START will be used instead
07-28 02:29:01.140 D/EGL_emulation(23935): app_time_stats: avg=9.70ms min=3.82ms max=105.83ms count=43
07-28 02:29:01.155 I/NotificationService(  623): cancelToast pkg=com.acme.mtdapp token=android.os.BinderProxy@be081a2
07-28 02:29:01.155 W/NotificationService(  623): Toast already cancelled. pkg=com.acme.mtdapp token=android.os.BinderProxy@be081a2
07-28 02:29:01.178 D/CoreBackPreview(  623): Window{8c3411c u0 Toast}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@cd4a2fa, mPriority=0}
07-28 02:29:01.197 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3d9b000 0x3f3dde000]
07-28 02:29:01.208 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3dde000 0x3f3e21000]
07-28 02:29:01.214 D/goldfish-address-space(  409): claimShared: Ask to claim region [0x3f3e21000 0x3f3e64000]
07-28 02:29:01.221 W/Parcel  (  833): Expecting binder but got null!
07-28 02:29:01.640 I/com.acme.mtdapp(23935): Explicit concurrent copying GC freed 22757(1048KB) AllocSpace objects, 7(924KB) LOS objects, 49% free, 7800KB/15MB, paused 1.338ms,119us total 44.821ms
07-28 02:29:01.857 D/TelephonyManager( 1018): requestModemActivityInfo: Sending result to app: ModemActivityInfo{ mTimestamp=15918060 mSleepTimeMs=0 mIdleTimeMs=15775817 mActivityStatsTechSpecificInfo=[{mRat=UNKNOWN,mFrequencyRange=UNKNOWN,mTxTimeMs[]=[0, 0, 0, 0, 0],mRxTimeMs=0}]}
07-28 02:29:02.002 I/com.acme.mtdapp(23935): Explicit concurrent copying GC freed 7412(306KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 8534KB/16MB, paused 1.214ms,395us total 34.052ms
07-28 02:29:02.031 I/Choreographer(23935): Skipped 51 frames!  The application may be doing too much work on its main thread.
07-28 02:29:02.059 I/OpenGLRenderer(23935): Davey! duration=892ms; Flags=0, FrameTimelineVsyncId=374696, IntendedVsync=15922390738504, Vsync=15922407405170, InputEventId=0, HandleInputStart=15922413211400, AnimationStart=15922413243700, PerformTraversalsStart=15922413554400, DrawStart=15923264793600, FrameDeadline=15922440738502, FrameInterval=15922413191700, FrameStartTime=16666666, SyncQueued=15923277156500, SyncStart=15923277562400, IssueDrawCommandsStart=15923278368900, SwapBuffers=15923282352700, FrameCompleted=15923284055700, DequeueBufferDuration=59200, QueueBufferDuration=581400, GpuCompleted=15923283799500, SwapBuffersCompleted=15923284055700, DisplayPresentTime=15911615360700, CommandSubmissionCompleted=15923282352700, 
07-28 02:29:02.083 I/OpenGLRenderer(23935): Davey! duration=901ms; Flags=0, FrameTimelineVsyncId=374719, IntendedVsync=15922424071836, Vsync=15923274071802, InputEventId=0, HandleInputStart=15923278991100, AnimationStart=15923279012200, PerformTraversalsStart=15923287387700, DrawStart=15923287513000, FrameDeadline=15923307405134, FrameInterval=15923278801800, FrameStartTime=16666666, SyncQueued=15923288007000, SyncStart=15923288417800, IssueDrawCommandsStart=15923293389100, SwapBuffers=15923295844000, FrameCompleted=15923325617000, DequeueBufferDuration=8970800, QueueBufferDuration=755400, GpuCompleted=15923325617000, SwapBuffersCompleted=15923309617200, DisplayPresentTime=15911631555500, CommandSubmissionCompleted=15923295844000, 
07-28 02:29:02.145 D/EGL_emulation(23935): app_time_stats: avg=198.98ms min=13.47ms max=881.80ms count=5
07-28 02:29:02.814 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=577.96875, y[0]=316.9226, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15924060, downTime=15924060, deviceId=12, source=0x5002, displayId=0, eventId=270730090 }
07-28 02:29:03.196 D/EGL_emulation(23935): app_time_stats: avg=40.20ms min=2.99ms max=560.29ms count=20
07-28 02:29:03.371 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=558.9514, y[0]=901.9226, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15924617, downTime=15924060, deviceId=12, source=0x5002, displayId=0, eventId=591270030 }
07-28 02:29:03.546 D/EGL_emulation(  833): app_time_stats: avg=113.68ms min=2.62ms max=1977.72ms count=18
07-28 02:29:03.770 D/CoreBackPreview(  623): Window{8c3411c u0 Toast}: Setting back callback null
07-28 02:29:03.789 W/InputManager-JNI(  623): Input channel object '8c3411c Toast (client)' was disposed without first being removed with the input manager!
07-28 02:29:03.801 W/NotificationService(  623): Toast already killed. pkg=com.acme.mtdapp token=android.os.BinderProxy@765bc87
07-28 02:29:03.813 W/TransactionTracing(  467): Could not find layer handle 0x7d0c2a4deeb0
07-28 02:29:03.814 W/TransactionTracing(  467): Could not find layer handle 0x7d0c2a4db5b0
07-28 02:29:03.815 W/TransactionTracing(  467): Could not find layer handle 0x7d0c2a4d90f0
07-28 02:29:04.246 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=474.97192, y[0]=386.97693, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15925492, downTime=15925492, deviceId=12, source=0x5002, displayId=0, eventId=328479519 }
07-28 02:29:04.352 D/EGL_emulation(23935): app_time_stats: avg=19.54ms min=4.15ms max=184.76ms count=38
07-28 02:29:04.466 W/TransactionTracing(  467): Could not find layer id -1
07-28 02:29:04.768 D/TaplEvents( 1147): TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=455.9546, y[0]=1189.9237, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=15926011, downTime=15925492, deviceId=12, source=0x5002, displayId=0, eventId=3881432 }
07-28 02:29:05.356 D/EGL_emulation(23935): app_time_stats: avg=7.30ms min=3.75ms max=30.67ms count=50
07-28 02:29:11.145 D/TelephonyManager(  623): requestModemActivityInfo: Sending result to app: ModemActivityInfo{ mTimestamp=15932391 mSleepTimeMs=0 mIdleTimeMs=15785102 mActivityStatsTechSpecificInfo=[{mRat=UNKNOWN,mFrequencyRange=UNKNOWN,mTxTimeMs[]=[0, 0, 0, 0, 0],mRxTimeMs=0}]}
@lxq-iang lxq-iang added the t/bug Something isn't working label Jul 28, 2023
@jsuarezruiz jsuarezruiz added the area-xaml XAML, CSS, Triggers, Behaviors label Jul 28, 2023
@developer9969
Copy link

@lxq-iang not sure if the same issue but we have the same problem and its difficult to replicate and have a look at
https://www.banditoth.net/2023/06/08/net-maui-ios-bug-release-mode-bindings-not-working/

We had to set the compile option to none on a particular page ..

@StephaneDelcroix @jsuarezruiz is it something that is being looked at?

@lxq-iang
Copy link
Author

@lxq-iang not sure if the same issue but we have the same problem and its difficult to replicate and have a look at https://www.banditoth.net/2023/06/08/net-maui-ios-bug-release-mode-bindings-not-working/

We had to set the compile option to none on a particular page ..

@StephaneDelcroix @jsuarezruiz is it something that is being looked at?

@developer9969 Thank you very much, I try to set the compile option to none and this issue was solved. It's awesome, thanks again!

@developer9969
Copy link

@lxq-iang glad its solved.. but its very very worrying though as we trust that at release time it should just work as in debug... an acknowledgment would be nice that the issue is investigated...

@AlanAnderson-BlueScope
Copy link

This also happens on Android. I have been trying to debug a collectionview that works fine in debug, but it release as soon as the data is populated the application goes away. After spending literally a week on the issue, I found this article and added the XamlComplication attribute set to Skip and my Android app now works in release. There is a very time consuming issue here.

@WdeBruin
Copy link
Contributor

WdeBruin commented Aug 2, 2023

Running into the same issue. Workaround with skip compileoption did not fix it for me.

Can try none, if necessary I will investigate in the sandbox sample.

Wonder why it only fails on two points in my app, some assembly optimization consequence?

@WdeBruin
Copy link
Contributor

WdeBruin commented Aug 3, 2023

For release you got to specify correct datatype, pretty sure that it is used in assembly optimization to optimize.
We specified DTO as datatype instead of the ObservableObject. Obviously the DTO is a plain POCO and does not have bindable properties.

See this snippet for what i mean:

What failed on release but didn't matter on debug:
<DataTemplate x:DataType="dtos:MyCustomItemDto">

The fix:
<DataTemplate x:DataType="observables:MyCustomItem">

It would be nice though if you get some kind of compile-time hint for this, like a compilation error

@AlanAnderson-BlueScope
Copy link

My x:DataType is specified correctly in my XAML file. The datatype is the observableobject with the observableproperty attributes. The only way I have found in two instances I have of an observablecollection used by a collectionview inside a verticalstacklayout (or grid) is to turn off the XamlComplication.

            <DataTemplate x:DataType="models:OrderListItem">

@mavispuford
Copy link

I recently had a problem where a page wasn't drawing correctly because I was setting the Style of a VisualElement from a Task.Run() without wrapping that line with Dispatcher.Dispatch() (long story). I'm not sure if you are doing any of that in your codebehind, but just thought I'd point that out.

@mattleibow mattleibow added this to the Backlog milestone Oct 27, 2023
@ghost
Copy link

ghost commented Oct 27, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants