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
21.83k stars 1.67k forks source link

Adding elements through code behind doesn't work. #16393

Open J0nathan550 opened 11 months ago

J0nathan550 commented 11 months ago

Description

Hi. I have a problem. When I try to create elements through the code, they are simply not created. Although there are no errors, and also when I just tried to create code in an empty project, everything worked. But now when I use the TabBar menu it doesn't work much, I had to rewrite the code on the ListView and it works, but it's difficult to understand how I can generate the rest of the ListView when the back code is almost not working. Also there is an oddity I don't understand, the code I mentioned works on the first page but doesn't work on the following pages. It just doesn't want to load. Can someone tell me what to do? Or do I have the option to create only ListView?

By the way, for no reason it does work on different platforms (Windows), except the Android.

https://github.com/dotnet/maui/assets/88881607/bd19854f-1fb5-4850-98dc-9b53153685e0

Here is YouTube link to better video quality (Compression is pain).

https://www.youtube.com/watch?v=i3kYFsh2Tuk

Steps to Reproduce

  1. Make TabBar in Shell
  2. Load Two same pages. with same code.
  3. Have a code that will create a visual (no matter the amount of visual (one is enough to produce bug)

Link to public reproduction project repository

https://github.com/J0nathan550/Weather-App

Version with bug

7.0.86

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android Pixel 5 API level 33

Did you find any workaround?

Creating ListView binding. (But this is painful todo when you want to create a multiple visuals that would better be done with simple loop.)

Relevant log output

'Weather App.exe' (CoreCLR: DefaultDomain): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Weather App.dll'. Symbols loaded.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\WinRT.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Collections.Concurrent.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.WinUI.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.CompilerServices.Unsafe.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Private.Uri.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Windows.SDK.NET.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Security.Cryptography.Algorithms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Security.Cryptography.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Security.Cryptography.Csp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Security.Cryptography.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.InteractiveExperiences.Projection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Maui.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Maui.Controls.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.DependencyInjection.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Maui.Essentials.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Maui.Controls.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\CommunityToolkit.Maui.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.Logging.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.Logging.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.Configuration.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Xml.ReaderWriter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Private.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Maui.Graphics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Net.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.Logging.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.TypeConverter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\CommunityToolkit.Maui.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.Options.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.DependencyInjection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Diagnostics.Tracing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Threading.ThreadPool.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Memory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Linq.Expressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Reflection.Emit.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'Snippets'. 
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Maui.Controls.Compatibility.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Reflection.Emit.Lightweight.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Reflection.Emit.ILGeneration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Reflection.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.Loader.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Newtonsoft.Json.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Net.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Diagnostics.DiagnosticSource.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Net.Security.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.Serialization.Formatters.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Diagnostics.TraceSource.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.Serialization.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Data.Common.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'Anonymously Hosted DynamicMethods Assembly'. 
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Net.Quic.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Win32.Registry.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Net.Sockets.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Threading.Overlapped.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Net.NameResolution.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Collections.NonGeneric.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Security.Principal.Windows.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Security.Claims.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Graphics.Canvas.Interop.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\EXTENSIONS\XAMARIN\HOTRELOAD\Xamarin.HotReload.VSAgentAdapter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\netstandard.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\EXTENSIONS\XAMARIN\HOTRELOAD\Microsoft.VisualStudio.DesignTools.TapContract.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\EXTENSIONS\XAMARIN\HOTRELOAD\Xamarin.HotReload.Contracts.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\EXTENSIONS\XAMARIN\HOTRELOAD\Microsoft.Maui.Controls.HotReload.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.IO.Pipes.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Threading.Thread.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Text.RegularExpressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.Serialization.Json.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Private.DataContractSerialization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.Serialization.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Weather App.exe' (CoreCLR: clrhost): Loaded 'D:\Projects\Weather App\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Text.Encoding.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[19320] Weather App.exe' has exited with code 0 (0x0).
J0nathan550 commented 11 months ago

UPDATE:

I dig it up a bit, and seems that the ScrollView is making trouble, it cuts the visual. For no reason.

Here is the video:

https://github.com/dotnet/maui/assets/88881607/3abf1191-cf80-49fb-a2c4-b823a3691f80

ghost commented 11 months ago

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.

jaosnz-rep commented 5 months ago

Verified this issue with Visual Studio Enterprise 17.9.0 Preview 5. Can repro on Android platform with sample project. https://github.com/J0nathan550/Weather-App

J0nathan550 commented 5 months ago

Wow, that was so long time ago, and everyone notice now. But okay, hope it will be fixed.

SmartSquareAZ commented 4 months ago

Is there a fix to this problem?

J0nathan550 commented 4 months ago

Is there a fix to this problem?

No clue, it was long time ago. And I hoped it was fixed but as I see it's still a problem.