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

GridView seems completely broken in Android #12342

Open
cmonto opened this issue May 17, 2023 · 6 comments
Open

GridView seems completely broken in Android #12342

cmonto opened this issue May 17, 2023 · 6 comments
Labels
area/listview 📃 Categorizes an issue or PR as relevant to the ListView control difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform

Comments

@cmonto
Copy link

cmonto commented May 17, 2023

Current behavior

On Android, GridView is showing items with fixed size that does not change based on the controls in the item template or the Width./Height assigned to the item template's root. Windows head renders as intended.

Expected behavior

Supposed to render same across all platforms

How to reproduce it (as minimally and precisely as possible)

UnoApp1.zip

Run on Windows and then Android

Workaround

No response

Works on UWP/WinUI

Yes

Environment

No response

NuGet package version(s)

No response

Affected platforms

Android

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@cmonto cmonto added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels May 17, 2023
@jeromelaban
Copy link
Member

Thanks for the report. Could you provide screenshots of what you see, and what you expect?

@cmonto
Copy link
Author

cmonto commented May 21, 2023

Pls find below the desired and actual appearance. Android is applying a fixed item width and cropping everything on the right:
desired_windows
actual_android

@jeromelaban
Copy link
Member

jeromelaban commented May 23, 2023

Thanks for the update. This indeed seems to be an android-specific issue as webassembly seems to be working fine https://playground.platform.uno/#e35d7914.

Note for contributors

@cmonto
Copy link
Author

cmonto commented Jun 19, 2023

Hi @jeromelaban - Is there any update or workaround on this?

@jeromelaban
Copy link
Member

We do not have an update at this time. If you need faster support, can you contact info@platform.uno? Thanks!

@cmonto
Copy link
Author

cmonto commented Jun 30, 2023

This seem to be working fine in release mode, but not in debug mode.. Now at least we have a workaround, @jeromelaban not sure how difficult it is to get a fix soon.

@MartinZikmund MartinZikmund changed the title GridView seems completely broken in Android GridView seems completely broken in Android Oct 25, 2023
@MartinZikmund MartinZikmund added platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform area/listview 📃 Categorizes an issue or PR as relevant to the ListView control difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/listview 📃 Categorizes an issue or PR as relevant to the ListView control difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform
Projects
None yet
Development

No branches or pull requests

3 participants