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

Printing window cannot see all #3798

Closed
laoniu2020 opened this issue Sep 20, 2023 · 4 comments
Closed

Printing window cannot see all #3798

laoniu2020 opened this issue Sep 20, 2023 · 4 comments
Assignees
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@laoniu2020
Copy link

laoniu2020 commented Sep 20, 2023

Description
I am using WebView2 control to display webpages in my WinForms application. The content is normal, but when call
webView.CoreWebView2.ShowPrintUI();
or
webView.CoreWebView2.ExecuteScriptAsync("window.print();");
Can't see all the content.

Version
SDK: 1.0.2045.28
Runtime: 118.0.2088.9
Framework: 4.6
image
after click print button
image

edge dev browser open the url and print:
image

AB#46740922

@laoniu2020 laoniu2020 added the bug Something isn't working label Sep 20, 2023
@fvanheeswijk
Copy link

We are experiencing the same issue, the print dialog is not correctly in view so the print button for example cannot be used.
It reproduces in our Windows Forms application when running Beta build 118.0.2088.17 of the WebView2 browser. It also reproduces with Dev build 119.0.2116.0. When running the Edge browser standalone it does seem to work correctly.

Can you confirm that you can reproduce this issue within a Windows Forms application and that it will be fixed in this beta version?

@laoniu2020
Copy link
Author

We encountered this problem on two machines and sidestepped it by installing the historical version. Which version will fixe this issue?

@johna-ms
Copy link
Contributor

Hello sorry for the delay in responding. I'm able to reproduce this and it looks legit. This may be related to a different dialog bug we've had. I will look into it and get back.

And thank you for testing on prerelease channels! This helps us catch issues before they get to stable.

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

Confirmed this is a dupe of #3763. I'm closing this issue, you can follow for updates there

@johna-ms johna-ms closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 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 tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

3 participants