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 hiding toolbars Print, save, save as, full screen, rotate with HiddenPdfToolbarItems, 3 dots appear even though they are not active #4718

Open
thanhbao1996 opened this issue Aug 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@thanhbao1996
Copy link

thanhbao1996 commented Aug 1, 2024

What happened?

CoreWebView2.Settings.HiddenPdfToolbarItems = CoreWebView2PdfToolbarItems.Print | CoreWebView2PdfToolbarItems.Save | CoreWebView2PdfToolbarItems.SaveAs | CoreWebView2PdfToolbarItems.FullScreen | CoreWebView2PdfToolbarItems.MoreSettings | CoreWebView2PdfToolbarItems.Rotate;

// On winform, when applying the above setting, if you minimize the form, the 3 dots appear even though it does not work. I think it is a problem because if there is no activity, it should be hidden to avoid misunderstandings

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. In webview2 form, hide some item on toolbars
    CoreWebView2.Settings.HiddenPdfToolbarItems = CoreWebView2PdfToolbarItems.Print | CoreWebView2PdfToolbarItems.Save | CoreWebView2PdfToolbarItems.SaveAs | CoreWebView2PdfToolbarItems.FullScreen | CoreWebView2PdfToolbarItems.MoreSettings | CoreWebView2PdfToolbarItems.Rotate;
  2. Open form with size default of form (512x512) -> No 3 dots appear.
  3. Click maximized -> Restore
    Result: The 3 dots appear even though there is no activity when clicked
    The phenomenon also occurs when I resize from large to small without maximizing

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

AB#53949898

@thanhbao1996 thanhbao1996 added the bug Something isn't working label Aug 1, 2024
@monica-ch monica-ch added the tracked We are tracking this work internally. label Sep 16, 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 tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

2 participants