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

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

Open
thanhbao1996 opened this issue Jul 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@thanhbao1996
Copy link

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 thanhbao1996 added the bug Something isn't working label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants