Closed BrianAndersonMozenda closed 1 month ago
This can be turned off in chrome://settings/downloads by toggling off "Show downloads when they're done".
Chrome settings are also available in CEF, and can be configured programmatically.
Thank you - Can you point us to an example of how this is done in CEF?
Looks like I was able to change this behavior with the following preference:
CfxValue downloadsValue = CfxValue.Create();
downloadsValue.SetBool(false);
bool success = CfxRequestContext.GetGlobalContext().SetPreference("download_bubble.partial_view_enabled", downloadsValue, out string error);
This, however, didn't change the focus problem; After the download completes the focus is still pulled from the browser.
Describe the bug Using Chrome bootstrap + Alloy style and in the OnBeforeDownload with Continue(downloadFilePath, false) to not show the "Save As" after the download is completed a "Show downloads when they're done" popup bubble appears. This seems inconsistent with the Alloy style which consistently reduces the noise of these types of bubbles.
To Reproduce Steps to reproduce the behavior:
Expected behavior Expecting that the "Show downloads when they're done" popup bubble doesn't appear when using Alloy style.
Screenshots Popup Bubble:![image](https://github.com/user-attachments/assets/8b1b5f85-b8eb-49cc-8303-c1d1d059232f)
Versions (please complete the following information):
OS: Edition Windows 10 Pro Version 22H2 Installed on 2020-07-01 OS build 19045.4651 Experience Windows Feature Experience Pack 1000.19060.1000.0
CEF Version: Tested with varies versions with 126 and 127
Additional context Does the problem reproduce with Google Chrome at the same version? This can be turned off in chrome://settings/downloads by toggling off "Show downloads when they're done".
Add any other context about the problem here. This bubble also pulls focus from the browser which is causing the injected JavaScript on the page to not be able to run properly. We are allowing our users to download multiple files from a page and this is blocking this from happening. After the first download completes the focus is pulled from the browser and the JS cannot initiate the subsequent downloads until the user manually "clicks" back into the browser area which allows it to regain focus.