Created attachment 9269858 [details]
the folder path shown in the external programm once the attachment has been opened
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
Steps to reproduce:
Opened an email with an attachment, right clicked on the attachment, chose "detach", saved in a local folder (C:\Users\xxx\Documents\docs\Divers); clicked OK for detach warning; clicked again right on the attachment, chose "Open", the Open File window shows the correct folder path in which the file has been saved; then opened the file, here in LibreOffice; checked file properties : the file path is "C:\Users\xxx\AppData\Local\Temp\pid-13948"
The file has been saved in the destination folder (I have checked that), but when opened from within TB in an external programm, it will be opened from a TB temporary folder. The user is normally not aware of this, so when he will save changes, they will be saved in a file created in the temporary folder. If the user then closes the file and then reopen the file using the external programm from the destination folder, the changes will have disappeared (as he did not open the file from the temporary folder). I have checked this with different external programs and file formats, always the same.
When a file is detached to a destination folder, and then opened from within TB, it should open in the external program from the destination folder.
This is really a dangerous bug for users, who might easily loose data and hours of work. In older versions of TB this did work correctly.