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

[Problem/Bug]: ContainsFullScreenElementChanged is not raised when fullscreen toolbar button is clicked in PDF reader #4096

Open
q71114 opened this issue Oct 24, 2023 · 2 comments
Assignees
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@q71114
Copy link

q71114 commented Oct 24, 2023

What happened?

CoreWebView2.ContainsFullScreenElementChanged is not raised when Enter PDF full screen toolbar button is clicked in PDF reader which makes it impossible to display the PDF content in fullscreen.

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

118.0.2088.61

SDK Version

1.0.2164-prerelease

Framework

WPF

Operating System

Windows 10, Windows 11

OS Version

22621.2428

Repro steps

  1. Add an event handler to CoreWebView2.ContainsFullScreenElementChanged
  2. Open this sample PDF file with WebView2: https://s1.q4cdn.com/806093406/files/doc_downloads/test.pdf
  3. Click on the Enter PDF full screen button in the toolbar of PDF reader opened in WebView2

Expected: CoreWebView2.ContainsFullScreenElementChanged is raised so the app can go to full screen.
Actual:

  • CoreWebView2.ContainsFullScreenElementChanged is not raised
  • PDF reader goes to full screen mode without any way to exit it - e.g. pressing Esc or F11 doesn't work

Regression

No, this never worked

Last working version (if regression)

No response

AB#47289526

@q71114 q71114 added the bug Something isn't working label Oct 24, 2023
@victorhuangwq
Copy link
Collaborator

Thanks for reporting this bug. @johna-ms could you take a look at this?

@johna-ms johna-ms added the tracked We are tracking this work internally. label Oct 28, 2023
@johna-ms
Copy link
Contributor

Sorry I never updated here explicitly: thanks for reporting this! I was able to repro this and this is a bug on us. We're tracking it in our backlog

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

3 participants