MicrosoftEdge / MicrosoftEdge/WebView2Feedback

WebView2 PDF Menu doesn't display if your control is small on load; ever

Open
#3,656 7 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug priority-low tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

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.

image
image

Now that it is larger and I've run webview.reload it will show the toolbar
image

AB#45691041

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.