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

[Bug] WPF null BoundingRectangle property #4118

Open
Daniellled opened this issue Nov 1, 2023 · 1 comment
Open

[Bug] WPF null BoundingRectangle property #4118

Daniellled opened this issue Nov 1, 2023 · 1 comment
Assignees
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@Daniellled
Copy link

Daniellled commented Nov 1, 2023

What happened?

We have a WPF application that contains a WebView2 control hosting web content. When our automation team runs the Accessibility Insights tool against our app the WPF View hosting the WebView2 control displays 6 errors stating "An on-screen element must not have a null BoundingRectangle property". When I looked at the Visual Tree I noticed the errors were coming from within the WebView2 control itself.

So to test the problem in isolation I downloaded the Main branch of the WebView2 Samples and loaded up the WPF sample. When I run the Accessibility Insights tool against the sample app I receive the same 6 null BoundingRectangle property errors.

I have included the Accessibility Insights test results.
TestResults 11-01-23.zip

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

118.0.2088.76

SDK Version

1.0.2164-prerelease

Framework

WPF

Operating System

Windows 10

OS Version

19045.3570

Repro steps

  1. Downloaded the Main branch of the WebView2 Samples and load the WebView2WpfBrowser solution.
  2. Compile the sample
  3. Run the application
  4. Download the Accessibility Insights tool
  5. Within the Accessibility Insights tool select the "Inspect" menu item.
  6. Change the "What to select" drop down to "Entire app"
  7. Switch to the WPF sample app
  8. Select the "Test" icon in the top right portion of the app
  9. Notice the errors within the Accessibility Insights tool

Regression

Don't know

Last working version (if regression)

No response

AB#48487699

@Daniellled Daniellled added the bug Something isn't working label Nov 1, 2023
@jennifer-jacobs
Copy link

Hi @Daniellled,

Thanks for logging this! It's been added to our backlog.

@jennifer-jacobs jennifer-jacobs added the tracked We are tracking this work internally. label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

2 participants