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

ListViewItem selected state looks broken #5304

Closed
FrayxRulez opened this issue Jun 28, 2021 · 6 comments
Closed

ListViewItem selected state looks broken #5304

FrayxRulez opened this issue Jun 28, 2021 · 6 comments
Assignees
Labels
area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team
Milestone

Comments

@FrayxRulez
Copy link

Describe the bug

ListViewItem selected pointer over state looks quite broken on WinUI 2.6, on 21H1.

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Select a ListViewItem.
  2. Move the mouse in and out of it.

Screenshots

1INtaSb2f6.mp4

Version Info

NuGet package version:

Microsoft.UI.Xaml 2.6.0

Windows 10 version Saw the problem?
Insider Build (xxxxx)
May 2021 Update (19043) Yes
May 2020 Update (19041)
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Jun 28, 2021
@StephenLPeters StephenLPeters added area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team labels Jun 28, 2021
@StephenLPeters StephenLPeters added this to the WinUI 2.7 milestone Jun 28, 2021
@StephenLPeters
Copy link
Contributor

@ranjeshj this is close to maybe wanting to cherry pick into 2.6 thoughts?

@marksfoster do you know the intended behavior? is the selected rest state supposed to be accent color or the selected pointer over state supposed to be a grey?

@StephenLPeters StephenLPeters removed the needs-triage Issue needs to be triaged by the area owners label Jun 28, 2021
@ranjeshj ranjeshj added the needs-cherrypicktorelease PR tagged for cherry-pick to the current release branch (but not yet picked) label Jun 29, 2021
@lhak
Copy link

lhak commented Jul 1, 2021

Please also change the way selected items (without pointer over) are presented. The selected state is barely visible (low contrast).

@roxk
Copy link

roxk commented Jul 1, 2021

Any chance the new list view selected style with selected indicator (pill) can be ported from WUXC to MUXC so it works on windows 10 as well? While porting WinUI 2.6 styles to WinUI 3, I found that the new list view selected style isn't in MUXC so I couldn't port it on my own.

Since navigation view's selected indicator works similarly and is already working on windows 10 (as seen in control gallery), this should be feasible. If that selected indicator expanding animation is not possible, IMO MUXC should at least make it work like tree view's selected state, whose selected indicator is static.

WinUI 2.6 in general looks great on both windows 10 and 11, and right now this is the only show-stopper that makes the migration to the new visual style incomplete. For what it's worth, in list view's multiple selection mode in WinUI 2.6, the checkbox is outright just WinUI 2.5 style and looks very visually inconsistent with all other beautiful controls:
image

There are some evidence which makes me think this selected state is incomplete/not working as intended, as outdated resources, such as checkbox theme resources, are used:

Fill="{ThemeResource CheckBoxBackgroundThemeBrush}"

Fill="{ThemeResource CheckBoxBackgroundThemeBrush}"

@ranjeshj
Copy link
Contributor

@beervoley closing this since the change is merged.

@lmadhavan
Copy link

Will this be hotfixed to 2.6?

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Jul 19, 2021
@StephenLPeters
Copy link
Contributor

Yes.

@ghost ghost removed the needs-triage Issue needs to be triaged by the area owners label Jul 28, 2021
@ranjeshj ranjeshj removed the needs-cherrypicktorelease PR tagged for cherry-pick to the current release branch (but not yet picked) label Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants