MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: When hiding toolbars Print, save, save as, full screen, rotate with HiddenPdfToolbarItems, 3 dots appear even though they are not active
@monica-ch is already working on this.
Since Aug 1, 2024.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
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
- In webview2 form, hide some item on toolbars
CoreWebView2.Settings.HiddenPdfToolbarItems = CoreWebView2PdfToolbarItems.Print | CoreWebView2PdfToolbarItems.Save | CoreWebView2PdfToolbarItems.SaveAs | CoreWebView2PdfToolbarItems.FullScreen | CoreWebView2PdfToolbarItems.MoreSettings | CoreWebView2PdfToolbarItems.Rotate; - Open form with size default of form (512x512) -> No 3 dots appear.
- 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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.