cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.84k stars 2.92k forks source link

OnBeforeDownload,showDialog:true :Exit immediately after confirming the download and save dialog box #4857

Closed QQ-X5zj closed 2 months ago

QQ-X5zj commented 3 months ago

Is there an existing issue for this?

CefSharp Version

126.2.70

Operating System

Windows 10

Architecture

x86

.Net Version

.net 4.6.2

Implementation

WinForms

Reproduction Steps

OnBeforeDownload,showDialog:true if set OnBeforeDownload,showDialog:false。is ok Exit immediately after confirming the download and save dialog box

Expected behavior

v126.2.70 Exit immediately after confirming the download and save dialog box

Actual behavior

Exit immediately after confirming the download and save dialog box

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

No response

amaitland commented 3 months ago

This is an upstream bug and should be fixed in the next release.

https://github.com/chromiumembedded/cef/issues/3720

See https://github.com/chromiumembedded/cef/issues/3720#issuecomment-2186780967 for a short term workaround.

amaitland commented 2 months ago

Another similar upstream issue https://github.com/chromiumembedded/cef/issues/3722

EugeneSunrise commented 2 months ago

Another similar upstream issue https://github.com/chromiumembedded/cef/issues/3722

Will there be an update soon?

--disable-features=PartitionAllocDanglingPtr,PartitionAllocUnretainedDanglingPtr - doesn’t fix

amaitland commented 2 months ago

Another potentially related issue https://github.com/chromiumembedded/cef/issues/3750

--disable-features=PartitionAllocDanglingPtr,PartitionAllocUnretainedDanglingPtr - doesn’t fix

If your are having trouble with the suggested workaround then you should ask for help on the upstream issue.

Please don't delete comments and repost the exact same content