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

ListView rows not visible on Windows when using CommandParameter #14065

Open
papafe opened this issue Mar 20, 2023 · 3 comments
Open

ListView rows not visible on Windows when using CommandParameter #14065

papafe opened this issue Mar 20, 2023 · 3 comments
Labels
area-controls-listview ListView and TableView platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@papafe
Copy link

papafe commented Mar 20, 2023

Description

I was investigating a strange behaviour on Windows where the rows of a ListView are not shown properly, even though it's possible to hover over them and see that they are there:

Screenshot 2023-03-20 at 12 34 28

This happens when binding the CommandParameter of a Button. I managed to create a small example app in which this happens (mostly using the example at https://github.com/dotnet/maui-samples/tree/main/6.0/Beginners-Series).
If you run the app on windows you will have the same effect as shown in the previous screenshot.
If you remove CommandParameter from the Button (https://github.com/papafe/maui-list-issue/blob/9f4979fce19467ac104d2e9e48b12588d35a1072/MauiApp2/MainPage.xaml#L21), it will start to work.

This does not happen on iOS.

Steps to Reproduce

  1. Clone the repo
  2. Run the project on Windows
  3. Observe that the ListView looks empty even though the rows are there (can be seen by hovering with the mouse)
  4. Remove the CommandParameter from the Button in the xaml file and observe that the rows appear.

Link to public reproduction project repository

https://github.com/papafe/maui-list-issue

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows

Did you find any workaround?

No response

Relevant log output

No response

@papafe papafe added the t/bug Something isn't working label Mar 20, 2023
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Mar 20, 2023
@ghost
Copy link

ghost commented Mar 20, 2023

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.

@jinxinjuan jinxinjuan added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Jun 15, 2023
@jinxinjuan
Copy link
Collaborator

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on windows platform with sample project. maui-list-issue

@AkramAlQaifi
Copy link

AkramAlQaifi commented Oct 25, 2023

Just to let you know, This issue does not occur with the Android system.
We hope that this problem will be resolved as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-listview ListView and TableView platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants