You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Premise:
Around Dec1st I had reset my pc. Consequently reinstalled visual studio and resumed working on my Xamarin Forms project. Out of no where my application deployed on android device/emulator showing unusual behavior such as elements disappearing and layouts like stack layout not resizing properly and eventually crashing. This started happening after reinstallation of visual studio. Before to that everything was fine. This is something related to UI libraries or rendering I assume. Sometimes debug is giving some global object was missing thus terminating the thread kind of debug log and some times just runtime aborting.
Note : No code changes were made. from my side during this period.
Steps to Reproduce
Install maui option along with xamarin and intellisense in the visual studio community edition
Open project by clicking on project .sln file.
Deploy to android in debug mode.
Go to a page and play with it by updating a value etc.
Expected Behavior
UI responds properly and smoothly without any crashes.
Actual Behavior
UI like stack layout and frame not resizing properly, on navigating to previous page that holds list view, empty space at top and bottom of the page and crashing suddenly.
Affected Devices:
All android versions from API 25 - API 33
Environment
Show/Hide Visual Studio info
Build Logs
Below two are two separate situations where application crashed when a ui element like a label wrapped in a frame was updated with new data. Build log.txt Build Log 2.txt
Screenshots
When working normal
Parent page to the above page - A list view page
Issue mentioned causing this, which didn't happen previously(Note no changes to my code were made during this period)
parent page has empty space at top and bottom, when navigated from the child page(above one) to the parent list view page.
on clicking an item in the above list, below page appears with empty view. It was supposed to be like the first screen shot
From above empty page navigated to the parent page
Now turned off screen and turned on again. Parent page appears normal again. Of course, before crash happens, which can happen at any time.
When navigated to child page and perform some actions again ui showing same issues and crashing.
Reproduction Link
Workaround
The text was updated successfully, but these errors were encountered:
Description
Premise:
Around Dec1st I had reset my pc. Consequently reinstalled visual studio and resumed working on my Xamarin Forms project. Out of no where my application deployed on android device/emulator showing unusual behavior such as elements disappearing and layouts like stack layout not resizing properly and eventually crashing. This started happening after reinstallation of visual studio. Before to that everything was fine. This is something related to UI libraries or rendering I assume. Sometimes debug is giving some global object was missing thus terminating the thread kind of debug log and some times just runtime aborting.
Note : No code changes were made. from my side during this period.
Steps to Reproduce
Expected Behavior
UI responds properly and smoothly without any crashes.
Actual Behavior
UI like stack layout and frame not resizing properly, on navigating to previous page that holds list view, empty space at top and bottom of the page and crashing suddenly.
Basic Information
Version with issue: Xamarin 5.0.0.2545
Last known good version: Xamarin 5.0.0.2545
Platform Target Frameworks: Android 13, 12, 11, 10, 9, 8, 7
Android: API 25 - API 33
NuGet Packages: Microsoft.AspNetCore.SignalR.Client Version="7.0.0" />
Newtonsoft.Json Version="13.0.2" />
PCLStorage Version="1.0.2" />
Plugin.Badge Version="2.3.1" />
Polly Version="7.2.3" />
Refractored.MvvmHelpers Version="1.6.2" />
Sharpnado.Shadows Version="1.2.1" />
sqlite-net-pcl Version="1.8.116" />
System.Runtime Version="4.3.1" />
TouchView Version="4.1.100" />
Xamarin.CommunityToolkit Version="2.0.5" />
Xamarin.FFImageLoading.Forms Version="2.4.11.982" />
Xamarin.Forms Version="5.0.0.2545" />
Xamarin.Essentials Version="1.7.4"
Affected Devices:
All android versions from API 25 - API 33
Environment
Show/Hide Visual Studio info
Build Logs
Below two are two separate situations where application crashed when a ui element like a label wrapped in a frame was updated with new data.
Build log.txt
Build Log 2.txt
Screenshots
When working normal
Parent page to the above page - A list view page
Issue mentioned causing this, which didn't happen previously(Note no changes to my code were made during this period)
parent page has empty space at top and bottom, when navigated from the child page(above one) to the parent list view page.
on clicking an item in the above list, below page appears with empty view. It was supposed to be like the first screen shot
From above empty page navigated to the parent page
Now turned off screen and turned on again. Parent page appears normal again. Of course, before crash happens, which can happen at any time.
When navigated to child page and perform some actions again ui showing same issues and crashing.
Reproduction Link
Workaround
The text was updated successfully, but these errors were encountered: