dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.28k stars 1.76k forks source link

Swapping MainPage performance ( black screen) #11560

Closed bcaceiro closed 1 year ago

bcaceiro commented 2 years ago

Description

When swapping the MainPage ( and yes, not using Navigation / Shell), there is a black screen flicker always visible. This did not happen in Xamarin.Forms. The more complex layout in the page, this black screen increases its duration. For the sake of demonstration, I attach a simple project, with a simple page with 1 button, but in real case, there are pages with way more visual complexity.

See video -> https://streamable.com/acsmth

Steps to Reproduce

  1. Open BugMAUI_SwapMainPage
  2. Run project in Android in Debug / Release
  3. Click Swap to Page 2 button
  4. Click Swap to MainPage button

Link to public reproduction project repository

https://github.com/bcaceiro/MAUIMainPageBug

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android API30, 31, 32

Did you find any workaround?

No response

Relevant log output

Forwarding debugger port 8809
Detecting existing process
> am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "com.companyname.bugmaui_swapmainpage/crc6461aee03448a05155.MainActivity"
> Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.companyname.bugmaui_swapmainpage/crc6461aee03448a05155.MainActivity }
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/BugMAUI_SwapMainPage.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Mono.Android.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Runtime.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Java.Interop.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Runtime.InteropServices.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Collections.dll [External]
Resolved pending breakpoint for 'Android.Runtime.JNIEnv.RegisterJniNatives(System.IntPtr, System.Int32, System.IntPtr, System.IntPtr, System.Int32)' to /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNIEnv.cs:127 [0x00000].
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Threading.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Threading.Thread.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Diagnostics.StackTrace.dll [External]
Loaded assembly: data-0x7a80af1a40 [External]
Loaded assembly: data-0x7a80b04ac0 [External]
Loaded assembly: data-0x7a80b15bc0 [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/netstandard.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Linq.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Collections.Concurrent.dll [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointSendToIde(System.String)' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:423 [0x00000].
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Text.Json.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Text.Encodings.Web.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.ComponentModel.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Maui.Controls.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.ObjectModel.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Maui.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Maui.Graphics.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Maui.Essentials.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Extensions.Logging.Abstractions.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.ComponentModel.TypeConverter.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Private.Uri.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Runtime.Loader.dll [External]
[Zygote] isWhitelistProcess - Process is Whitelisted
[Zygote] accessInfo : 1
[ui_swapmainpag] Late-enabling -Xcheck:jni
[ui_swapmainpag] Unknown bits set in runtime_flags: 0x8000
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:418 [0x00000].
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Memory.dll [External]
[debug-app-helper] Checking if libmonodroid was unpacked to /data/app/com.companyname.bugmaui_swapmainpage-JCEj1756yRKTmHZ_dWPeZw==/lib/arm64/libmonodroid.so
[debug-app-helper] Native libs extracted to /data/app/com.companyname.bugmaui_swapmainpage-JCEj1756yRKTmHZ_dWPeZw==/lib/arm64, assuming application/android:extractNativeLibs == true
[debug-app-helper] Setting up for DSO lookup in app data directories
[debug-app-helper] Added filesystem DSO lookup location: /data/app/com.companyname.bugmaui_swapmainpage-JCEj1756yRKTmHZ_dWPeZw==/lib/arm64
[debug-app-helper] Using runtime path: /data/app/com.companyname.bugmaui_swapmainpage-JCEj1756yRKTmHZ_dWPeZw==/lib/arm64
[debug-app-helper] checking directory: `/data/user/0/com.companyname.bugmaui_swapmainpage/files/.__override__/lib`
[debug-app-helper] directory does not exist: `/data/user/0/com.companyname.bugmaui_swapmainpage/files/.__override__/lib`
[debug-app-helper] Checking whether Mono runtime exists at: /data/user/0/com.companyname.bugmaui_swapmainpage/files/.__override__/libmonosgen-2.0.so
[debug-app-helper] Checking whether Mono runtime exists at: /data/app/com.companyname.bugmaui_swapmainpage-JCEj1756yRKTmHZ_dWPeZw==/lib/arm64/libmonosgen-2.0.so
[debug-app-helper] Mono runtime found at: /data/app/com.companyname.bugmaui_swapmainpage-JCEj1756yRKTmHZ_dWPeZw==/lib/arm64/libmonosgen-2.0.so
[ui_swapmainpag] Attempt to remove non-JNI local reference, dumping thread
[DOTNET] JNI_OnLoad: JNI_OnLoad in pal_jni.c
[monodroid] Creating public update directory: `/data/user/0/com.companyname.bugmaui_swapmainpage/files/.__override__`
[ui_swapmainpag] Attempt to remove non-JNI local reference, dumping thread
[monodroid-debug] Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=127.0.0.1:8809,server=y,embedding=1
[TcpOptimizer] TcpOptimizer-ON
[monodroid-assembly] open_from_bundles: failed to load assembly BugMAUI_SwapMainPage.dll
[monodroid-gc] GREF GC Threshold: 46080
[monodroid-assembly] open_from_bundles: failed to load assembly Mono.Android.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Java.Interop.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.InteropServices.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Collections.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Threading.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Threading.Thread.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Diagnostics.StackTrace.dll
[ui_swapmainpag] Attempt to remove non-JNI local reference, dumping thread
[monodroid-assembly] open_from_bundles: failed to load assembly netstandard.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Linq.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Collections.Concurrent.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Text.Json.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Text.Encodings.Web.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.ComponentModel.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Controls.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.ObjectModel.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Graphics.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Essentials.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.ComponentModel.TypeConverter.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Private.Uri.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.Loader.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Memory.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Reflection.Emit.Lightweight.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Reflection.Emit.ILGeneration.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Reflection.Primitives.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Reflection.Emit.Lightweight.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Reflection.Emit.ILGeneration.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Reflection.Primitives.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Core.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.Core.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.DependencyInjection.Abstractions.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Extensions.DependencyInjection.Abstractions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Console.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Console.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Controls.Xaml.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Configuration.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Configuration.Abstractions.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.Debug.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Maui.Controls.Xaml.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Extensions.Configuration.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Extensions.Configuration.Abstractions.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Extensions.Logging.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Extensions.Logging.Debug.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.AppCompat.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.Google.Android.Material.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.SwipeRefreshLayout.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.AppCompat.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.Google.Android.Material.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.SwipeRefreshLayout.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Fragment.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Activity.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.ViewModel.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.Common.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.SavedState.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.Fragment.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.Activity.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.Lifecycle.ViewModel.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.Lifecycle.Common.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.SavedState.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.DrawerLayout.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.CustomView.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Navigation.Runtime.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.DrawerLayout.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.CustomView.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.Navigation.Runtime.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Net.Primitives.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Net.Primitives.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.Options.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Extensions.Options.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Extensions.DependencyInjection.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Extensions.DependencyInjection.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Diagnostics.Tracing.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Diagnostics.Tracing.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Xml.ReaderWriter.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Private.Xml.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Xml.ReaderWriter.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Private.Xml.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly System.Text.Encoding.Extensions.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Text.Encoding.Extensions.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly pt-PT/System.Private.CoreLib.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly pt-PT/System.Private.CoreLib.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly pt/System.Private.CoreLib.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly pt/System.Private.CoreLib.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Numerics.Vectors.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Numerics.Vectors.dll [External]
[ui_swapmainpag] Explicit concurrent copying GC freed 13(16KB) AllocSpace objects, 0(0B) LOS objects, 62% free, 1220KB/3268KB, paused 34us total 4.080ms
[monodroid-assembly] open_from_bundles: failed to load assembly System.Text.RegularExpressions.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Text.RegularExpressions.dll [External]
Thread started:  #2
Thread started:  #3
Thread started:  #4
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.Serialization.Json.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Private.DataContractSerialization.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.Serialization.Xml.dll
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.Serialization.Primitives.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Runtime.Serialization.Json.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Private.DataContractSerialization.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Runtime.Serialization.Xml.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Runtime.Serialization.Primitives.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly pt-PT/System.Private.DataContractSerialization.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly pt-PT/System.Private.DataContractSerialization.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly pt/System.Private.DataContractSerialization.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly pt/System.Private.DataContractSerialization.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.RecyclerView.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.CardView.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.RecyclerView.dll [External]
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.CardView.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Loader.dll
[libEGL] loaded /vendor/lib64/egl/libGLES_mali.so
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.Loader.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.Maui.Controls.Compatibility.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Microsoft.Maui.Controls.Compatibility.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Window.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.Window.dll [External]
[ui_swapmainpag] Accessing hidden field Landroid/content/res/Configuration;->windowConfiguration:Landroid/app/WindowConfiguration; (greylist, reflection, allowed)
[ui_swapmainpag] Accessing hidden method Landroid/app/WindowConfiguration;->getBounds()Landroid/graphics/Rect; (greylist, reflection, allowed)
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.CoordinatorLayout.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.CoordinatorLayout.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.LiveData.Core.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/Xamarin.AndroidX.Lifecycle.LiveData.Core.dll [External]
[PhoneWindow] forceLight changed to true [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4274 com.android.internal.policy.DecorView.updateColorViews:1547 com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged:3252 android.view.Window.setFlags:1153 com.android.internal.policy.PhoneWindow.generateLayout:2474 
[MultiWindowDecorSupport] [INFO] isPopOver = false
[MultiWindowDecorSupport] updateCaptionType >> DecorView@2535808[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
[MultiWindowDecorSupport] setCaptionType = 0, DecorView = DecorView@2535808[]
[ui_swapmainpag] Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
[ui_swapmainpag] Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
[ViewRootImpl@744079c[MainActivity]] setView = com.android.internal.policy.DecorView@2535808 TM=true MM=false
Thread started: .NET Timer #5
[ViewRootImpl@744079c[MainActivity]] Relayout returned: old=(0,0,2220,1080) new=(0,0,2220,1080) req=(2220,1080)0 dur=14 res=0x7 s={true 525977337856} ch=true
[mali_winsys] new_window_surface() [2220x1080] return: 0x3000
[Gralloc3] mapper 3.x is not supported
[gralloc] Arm Module v1.0
[ViewRootImpl@744079c[MainActivity]] MSG_WINDOW_FOCUS_CHANGED 1 1
[InputMethodManager] prepareNavigationBarInfo() DecorView@2535808[MainActivity]
[InputMethodManager] getNavigationBarColor() -855310
[InputMethodManager] prepareNavigationBarInfo() DecorView@2535808[MainActivity]
[InputMethodManager] getNavigationBarColor() -855310
[InputMethodManager] Starting input: tba=com.companyname.bugmaui_swapmainpage ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[InputMethodManager] startInputInner - Id : 0
[InputMethodManager] startInputInner - mService.startInputOrWindowGainedFocus
[ViewRootImpl@744079c[MainActivity]] MSG_RESIZED: frame=(0,0,2220,1080) ci=(0,72,144,0) vi=(0,72,144,0) or=2
[InputMethodManager] prepareNavigationBarInfo() DecorView@2535808[MainActivity]
[InputMethodManager] getNavigationBarColor() -855310
[InputMethodManager] Starting input: tba=com.companyname.bugmaui_swapmainpage ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[InputMethodManager] startInputInner - Id : 0
Thread started: <Thread Pool> #6
Thread started: .NET ThreadPool Gate #7
Thread started: <Thread Pool> #8
[monodroid-assembly] open_from_bundles: failed to load assembly System.Runtime.Intrinsics.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Runtime.Intrinsics.dll [External]
[ui_swapmainpag] Explicit concurrent copying GC freed 5965(601KB) AllocSpace objects, 0(0B) LOS objects, 70% free, 2542KB/8686KB, paused 39us total 10.234ms
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[monodroid-assembly] open_from_bundles: failed to load assembly System.Xml.XmlSerializer.dll
Loaded assembly: /data/data/com.companyname.bugmaui_swapmainpage/files/.__override__/System.Xml.XmlSerializer.dll [External]
Thread started: <Thread Pool> #9
Thread started: <Thread Pool> #10
Thread started: <Thread Pool> #11
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
Thread started: <Thread Pool> #12
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
[ui_swapmainpag] Explicit concurrent copying GC freed 24669(985KB) AllocSpace objects, 0(0B) LOS objects, 68% free, 2776KB/8920KB, paused 687us total 38.208ms
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@744079c[MainActivity]] ViewPostIme pointer 1
ghost commented 2 years ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

ghost commented 1 year ago

Hi @bcaceiro. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

jinxinjuan commented 1 year ago

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Not repro on Android platform with sample project. /MAUIMainPageBug