WebView2 PDF Menu doesn't display if your control is small on load; ever
Description When the webview2 control is below a certain size on load, the PDF tool bar will NEVER load. However, when the control is larger and a refresh is run, the tool bar will show and disappear as expected.
Version SDK: 1.0.1823.32 Runtime: Version 114.0.1823.82 (Official build) (64-bit) Framework: WinForms OS: Win10, 22H2 19045.3086
Repro Steps Create form with small webview2 control, auto set the source to load a PDF from a webpage (https://visualstudio.microsoft.com/keyboard-shortcuts.pdf) Expectations are that the toolbar would pop in when the control gets large enough, instead it never shows.
Now that it is larger and I've run webview.reload it will show the toolbar
@bnunAG what size did you make it to reproduce this bug, I'm interested to see if it does it on wpf
@bnunAG what size did you make it to reproduce this bug, I'm interested to see if it does it on wpf
In my bug test form I created, I sized the control to a randomly small size (234, 127).
Thanks for the bug report. I added it to our backlog for us to investigate.
Any updates?
Hi @texagkyle, this issue is tagged as priority-low. As stated in the readme:
priority-lowWe have considered this issue and decided that we will not be able to address it in the near future. Developers are welcomed to provide justifications on this issue for us to revisit the prioritization
@victorhuangwq anyway you guys could provide a minimum size necessary for the toolbar to work properly?
minimum size necessary for the toolbar to work properly
Please set Height >250px and Width > 350px