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

Fix the selected color scheme list item container background being blue in Windows 10 #14706

Merged
2 commits merged into from
Jan 19, 2023

Conversation

PankajBhojwani
Copy link
Contributor

@PankajBhojwani PankajBhojwani commented Jan 19, 2023

Specify the resource to use for the list view item background when selected.

References #14693

Validation Steps Performed

Background is no longer blue, it is light gray (like in Windows 11). Screenshots below.

@PankajBhojwani
Copy link
Contributor Author

Win 11:
image

@@ -70,6 +70,9 @@
PreviewKeyDown="ListView_PreviewKeyDown"
SelectedItem="{x:Bind ViewModel.CurrentScheme, Mode=TwoWay}"
SelectionMode="Single">
<ListView.Resources>
<SolidColorBrush x:Key="ListViewItemBackgroundSelected" Color="{ThemeResource SystemListLowColor}" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I would mention that we need to do this because of Win10

Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it look like on Windows 10?

@ghost ghost added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jan 19, 2023
@PankajBhojwani
Copy link
Contributor Author

Win 10:
image

@ghost ghost removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jan 19, 2023
@DHowett
Copy link
Member

DHowett commented Jan 19, 2023

@msftbot merge this in 5 minutes

@ghost ghost added the AutoMerge Marked for automatic merge by the bot when requirements are met label Jan 19, 2023
@ghost
Copy link

ghost commented Jan 19, 2023

Hello @DHowett!

Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:

  • I won't merge this pull request until after the UTC date Thu, 19 Jan 2023 21:53:19 GMT, which is in 5 minutes

If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you".

@ghost ghost merged commit 6278a2d into main Jan 19, 2023
@ghost ghost deleted the dev/pabhoj/win10_schemes_page branch January 19, 2023 22:04
@ghost
Copy link

ghost commented Jan 24, 2023

🎉Windows Terminal Preview v1.17.1023 has been released which incorporates this pull request.:tada:

Handy links:

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoMerge Marked for automatic merge by the bot when requirements are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants