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

When switching Light/Dark theme TextBox does not update context menu foreground until the app is restarted #7701

Closed
1 of 2 tasks
gmgallo opened this issue Sep 8, 2022 · 1 comment
Labels
bug Something isn't working no-issue-activity team-Controls Issue for the Controls team

Comments

@gmgallo
Copy link

gmgallo commented Sep 8, 2022

Describe the bug

Working on an packaged app I noticed that after switching the Theme to Light or Dark the TextBox popup context menu only updates the background but not the foreground of the popup menu, resulting in a very dark text on a dark background or almost invisible text in a light background.
Restarting the app it works correctly in either starting theme, until you switch the theme.

Steps to reproduce the bug

Create a new app with Template Studio for WinUI including one blank page and Theme selection page.
Add a textbox on the blank page:
<TextBox Header="Inuput text" PlaceholderText="Type some text here and right click on it" Height="60" Width="300"/>
Swicth the theme and test again.
Close the app with the oposit theme and repeat the test.

Expected behavior

No response

Screenshots

image
image

NuGet package version

No response

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows 10 (20H2): Build 19042

Additional context

No response

@gmgallo gmgallo added the bug Something isn't working label Sep 8, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Sep 8, 2022
@bpulliam bpulliam added the team-Controls Issue for the Controls team label Oct 30, 2022
@bpulliam bpulliam removed the needs-triage Issue needs to be triaged by the area owners label Dec 7, 2022
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants