Open setniessesed opened 1 month ago
I can confirm the repo with hiding the bookmarks. Others (like hiding search) works fine, tool bar shows, and the search icon hides. Can you recheck if the problem as I described?
If I uncomment any of the commented lines below the pdf toolbar disappears.
viewer.CoreWebView2.Settings.HiddenPdfToolbarItems = //Microsoft.Web.WebView2.Core.CoreWebView2PdfToolbarItems.Bookmarks | //Microsoft.Web.WebView2.Core.CoreWebView2PdfToolbarItems.Search | Microsoft.Web.WebView2.Core.CoreWebView2PdfToolbarItems.FullScreen | Microsoft.Web.WebView2.Core.CoreWebView2PdfToolbarItems.MoreSettings | Microsoft.Web.WebView2.Core.CoreWebView2PdfToolbarItems.PageSelector | Microsoft.Web.WebView2.Core.CoreWebView2PdfToolbarItems.PageLayout | Microsoft.Web.WebView2.Core.CoreWebView2PdfToolbarItems.Save | Microsoft.Web.WebView2.Core.CoreWebView2PdfToolbarItems.SaveAs | Microsoft.Web.WebView2.Core.CoreWebView2PdfToolbarItems.Print;
So this is about hiding Bookmarks and/or Search
Thanks for providing the details. It's confirmed and we'll track this issue. But now, I see the problem should be - Toolbar disappears either hiding all left side (bookmarks) or right side (Search, FullScreen, MoreSettings, PageSelector, PageLayout, Save, SaveAs, Print) icons.
Do you agree this is the correct description? And please edit the title and main content. @setniessesed @victorhuangwq
Done. As you suggested.
What happened?
Following report #2866 : Toolbar disappears either hiding all left side (bookmarks) or right side (Search, FullScreen, MoreSettings, PageSelector, PageLayout, Save, SaveAs, Print) icons.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
127.0.2651.98
SDK Version
1.0.2592.51
Framework
Winforms
Operating System
Windows 11
OS Version
No response
Repro steps
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#53496551