-
Notifications
You must be signed in to change notification settings - Fork 55
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
Why webview2 print dialoag reset the scale to fit to printable everytime and zoom also reset on navigating to another or page reload #2523
Comments
@BKSoftCraft This is by edge browser design. Please validate in browser and let us know if you notice any differences in webview2 |
what about zoom scale ?, it not reset on edge to 100% on navigation to another page but in webview2 it reset to 100% |
other browser have feature to remember last print dialog setting, so i recommended to implement printer dialog setting remeber feature in future to match the other compatitors |
@BKSoftCraft In WebView2, applied zoom is only for the current page and is reset on a navigation. |
Thanks, is there any solution for printer window to remeber last settings |
@BKSoftCraft Edge/WebView2 remembers last used print settings. Are you seeing any issues here? If yes, can you please mention the fields where you are seeing the issue in print dialog. |
(In More Settings) Scale(%) in print dialog always set to fit to printable, if i set it to actual size then on next time it reset to fit to printable |
I don't see this behavior with scale(%) in webview2 and edge (tested in two different machines against stable and canary channels) |
i tested in edge browser and my webview app it always reset to fit to printable are dummy.pdf.-.Profile.1.-.Microsoft.Edge.2022-06-21.12-25-25.mp4 |
Did you see the issue, is there any fixes for this |
@BKSoftCraft Observing the behavior with PDF files, I'll look into it and get back to you. |
is there any solution available now regarding this issue |
@BKSoftCraft Per WebView2 and Edge browser design, for HTML documents, after selecting an initial scale percentage, the next time print preview dialog is triggered, the selection defaults to 'Actual Size'. For PDF documents, the next time print preview dialog is triggered, the selection defaults to 'Fit to Printable Area'. However, there is a bug where scaling percentage is lost and doesn't stick on the UI for pdf documents which is fixed recently. For both the HTML/PDF printing, the last used percentage is now made sticky, and the printing happens as per the default scenario selected on every instance. You can test this fix against runtime 106.0.1363.0+ |
Will it be possible to set the default print-scale to 100%? To not choose every time? |
On Microsoft Edge Beta Version 106.0.1370.26 scale percentage is sticky but what about scale option (e.g Fit to printable area , Actual size, and customer percentage), Option always reset to Fit to printable area every time. Why ? |
@BKSoftCraft This is by design. For HTML documents, it defaults to 'Actual Size'. For PDF documents, the selection defaults to 'Fit to Printable Area'. Please open a feature request with us if you want a different behavior in WebView2. |
Why webview2 print dialoag reset the scale to fit to printable everytime and zoom also reset on navigating to another page or on reload
AB#40884473
The text was updated successfully, but these errors were encountered: