WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

[Problem/Bug]: When attaching the ContextMenuRequest event to the PDF viewer, the Back, Forward, and Refresh items disappear.

Open thanhbao1996 opened this issue 1 year ago • 0 comments

What happened?

Winform .NET 4.7 Webview2 version 1.0.259251 For PDF file When attaching the ContextMenuRequest event without doing anything, some items disappear (Back, Forward, Refresh).

When removing one item, for example, "Print," all remaining items no longer work except for Copy.

This event is also not handled when I right-click on the search box (I want to remove some items from the search box).

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime), Prerelease (Edge Canary/Dev/Beta)

Runtime Version

126.0.25.92.102

SDK Version

No response

Framework

Winforms

Operating System

Windows 10

OS Version

Enterprise LTSC 1809

Repro steps

  1. Use sample of Winforms_GettingStarted
  2. Add event ContextMenuRequest and remove item Print
  3. Open PDF file
  4. Right click on Page PDF
  5. Right click on search box

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

thanhbao1996 avatar Jul 31 '24 02:07 thanhbao1996