Open Bug 1941574 Opened 1 month ago Updated 1 month ago

Opening a file from a page in Thunderbird's integrated browser stores the temporary file on the desktop and this file is never deleted once the application is closed

Categories

(Thunderbird :: OS Integration, defect)

Thunderbird 135
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: adrien.rybarczyk, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Steps to reproduce:

  1. First of all, you need to have certain file types whose opening action is “Always Ask”
  2. You'll then need to open a website with Thunderbird's built-in browser and download a file of one of the types where the action is “Always ask”.

To open the web browser easily, replace the url with the url you would use to download the file
Services.wm.getMostRecentWindow("mail:3pane").document.getElementById("tabmail").openTab("contentTab",{url: "https://www.google.com/" });

  1. Download the file and select Open (do not select download)

Actual results:

The temporary file created by Thunderbird will appear on the desktop.

The internal browser doesn't seem to know where to save the temporary file, so it doesn't use any Windows settings or Thunderbird preferences.

The problem is an old one - I tested it in TB102, too.
However, in TB56 he was not present

Expected results:

The temporary file is located in %TEMP% and is automatically deleted once unused

See browser.download.useDownloadDir - and https://support.mozilla.org/en-US/questions/1370939

Hello Magnus

I'd seen those preferences but that's not the target.
These preferences are for downloading a file. It standardizes globally (open and download).

Opening a file certainly downloads the file, but then it's purged. The file is just temporary. And the problem, with this bugzilla, is with temporary files in the scope of files downloaded from Thunderbird's internal web browser.

You need to log in before you can comment on or make changes to this bug.