Skip to content

[Problem/Bug]: Downloaded file not getting renamed to original name after downloading is complete. #5211

Closed
@tocbang-milkbox

Description

@tocbang-milkbox

What happened?

Recently, when saving an attachment from a web view, it only gets saved as a .tmp file. It seems like the process is failing to rename the .tmp file back to its original extension after the download is complete.

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

No response

Framework

WPF

Operating System

Windows 11

OS Version

No response

Repro steps

Recently, when saving an attachment from a web view, it only gets saved as a .tmp file. It seems like the process is failing to rename the .tmp file back to its original extension after the download is complete.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingregressionSomething used to work but doesn't anymore

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions