Windowscommunitytoolkit: Oddness with Theming and Selection in InfiniteCanvas Control?

Created on 24 Mar 2020  路  6Comments  路  Source: windows-toolkit/WindowsCommunityToolkit

Describe the bug

It appears in certain cases with certain app themes (light vs. dark) the selection highlight on the InfiniteCanvas Toolbar isn't appearing correctly. This makes it difficult to understand the current state of a textbox within the canvas. See screenshots below.

  • [ ] Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to InfiniteCanvas sample in Sample App
  2. Add a TextBox
  3. Make it Bold
  4. Change Themes

Expected behavior

Should see blue selection for button in all scenarios/themes.

Screenshots

If applicable, add screenshots to help explain your problem.

From Dev:
image

image

From Store:
image

image

(Note ignore if you see Italic selected as well, that was fixed as part of #3118.)

Environment

NuGet Package(s): 

Package Version(s): 

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] Insider Build (build number: 19592)

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] Insider Build (xxxxx)

Device form factor:
- [ ] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [ ] 2019 (version: ) 
- [ ] 2019 Preview (version: )

Additional context

Not sure if this is an Insider or Release build type issue? Is anyone else seeing this?

bug controls for-review good first issue help wanted

Most helpful comment

I have submitted a PR (first one ever, so I hope its ok)

All 6 comments

Hello michael-hawker, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 馃檶

I would like to start contributing to this project, can this one be assigned to me .? I can see what the issue is, happy to create a pull request

Welcome aboard @deanchalk! Thanks for offering to pick this issue up. I was on an Insider build with other oddness going on, so it may just be something with that. Do let us know any findings you have, in the meantime I'll leave it in your great hands!

Also, do let us know if you run into any other problems with the InfiniteCanvas while investigating more such as #3178.

I have submitted a PR (first one ever, so I hope its ok)

@deanchalk Thanks for the PR. I will check it out.

Also @michael-hawker I was able to reproduce this in OS Build 18363.720. Good find!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deltakosh picture deltakosh  路  3Comments

Joebeazelman picture Joebeazelman  路  3Comments

HardySoftware picture HardySoftware  路  3Comments

kusanagi2k2 picture kusanagi2k2  路  4Comments

nolanblew picture nolanblew  路  3Comments