-
Notifications
You must be signed in to change notification settings - Fork 742
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
[droid]Frame content is not displayed on android after upgrading to version 5.5.32 #18728
Comments
@Xiaoy312 There are other problems(probably related to this) with frame in this version, I am not sure how to reproduce them yet. For example even after setting Frame Style to |
So a bit of context first, for other that may join in, the sample repro that OP submitted contains two
The toolkit library was also used here.
^edit: 5.4.10 still doesnt either |
@DavidM29
If you intention of "navigation" is purely just loading/rendering the content, and not perform a navigation with (forward/backward navigation capability), I would suggest you to just use a plain ContentControl as a host, instead of Frame. Does this help you? |
@Xiaoy312 Thanks for the explanation. |
The problem you describe here, should happen only with native navigation, and not XamlDefaultFrame. You can confirm which mode is used by printing a tree-graph of the frame, and looking at the immediate child of said Frame, it should be either ContentPresenter (xaml) or NativeFramePresenter (native): var tree = myNestedFrame.TreeGraph(); // using Uno.UI.Extensions; Or, you can add another repro, with the exact setup for me to look at. While I don't think "the visual states, a button, and the NavigationView" problem are related to the frame issue. But also, I can't really help here without a repro to investigate. |
I did not really have time to dive deeper about the "the visual states, a button, and the NavigationView" problem, so that could be unrelated, however those problems also got fixed by rollbacking to previous version. |
Hello @Xiaoy312, I also tested the navigation I use( I will upgrade |
After checking with more detail, quite a few packages have not been upgraded to new version, is there a way to upgrade them all or do I have to do it manually? Also to note, most of the packages that have not been upgraded are transitive packages. |
@DavidM29 if the packages have not been updated automatically, it would mean that there's a version override set somewhere. You can find the default versions of uno.sdk in its readme. |
@jeromelaban I have not set an override, to be honest I do not even know how to set one, where should I look for it? |
@jeromelaban
Is this overriding the versions? |
Hello again, so, I have not been able to reproduce the issue yet, and I think a small video will better explain the situation I have. I will keep trying to reproduce the issue though. p.s. I did fix the problem with nuget versions, removed the implicit packages and everything got updated, those were not the problem though, because the issue still persists even after updating to |
this part pin the package versions to the specified ones: <PropertyGroup>
<UnoExtensionsVersion>4.1.24</UnoExtensionsVersion>
<UnoToolkitVersion>6.0.24</UnoToolkitVersion>
<UnoThemesVersion>5.0.13</UnoThemesVersion>
<UnoCSharpMarkupVersion>5.2.14</UnoCSharpMarkupVersion>
</PropertyGroup> you want to comment these lines out, if you dont want what is in |
Yes I did, every package got updated, but the issue remains, I commented a small video of the issue here:
I am working on creating a repro with no success so far... |
I had the exact same issue, but I managed to get it working. Here’s what I did: I had to remove the following section: <PropertyGroup>
<UnoExtensionsVersion>4.1.14</UnoExtensionsVersion>
<UnoToolkitVersion>6.0.18</UnoToolkitVersion>
<UnoThemesVersion>5.0.13</UnoThemesVersion>
<UnoCSharpMarkupVersion>5.2.13</UnoCSharpMarkupVersion>
</PropertyGroup> Additionally, deleting the |
Upgraded to |
@Xiaoy312 After more testing I have discovered that the |
@Xiaoy312 I might be annoying you at this point, but I actually found the problem😅. I was calling navigation on second
I moved the second line to the constructor of the Nonetheless, my issue is fixed. |
Current behavior
The frame content does not get displayed on android in the latest(5.5.32) version.
Expected behavior
Content should be displayed as it was displayed in the previous versions.
How to reproduce it (as minimally and precisely as possible)
Just add a frame on the page and put something in it, nothing gets displayed on android.
The repro:
UnoApp1.zip
Workaround
Have not found any workarounds.
Works on UWP/WinUI
Yes
Environment
No response
NuGet package version(s)
Affected platforms
Android
IDE
Visual Studio 2022
IDE version
17.11.4
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: