Remember part URL to delete the tempfile even if the user used save as.
ClosedPublic

Authored by dfaure on Jan 14 2019, 10:14 PM.

Details

Summary

Using the part URL at closing time is really dangerous: if the user used
"save as" (e.g. for an embedded PDF), we'll be deleting the file that
the user just saved!!

BUG: 402529

Test Plan

launch ARK and open a ZIP file containing a PDF, click on the PDF,
an embedded viewer appears. From there, use "Save As..." to save the PDF
somewhere on your local disk. Close the embedded viewer, close ark.
It doesn't delete the saved file anymore.

Diff Detail

Repository
R36 Ark
Branch
Applications/18.12
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7109
Build 7127: arc lint + arc unit
dfaure created this revision.Jan 14 2019, 10:14 PM
Restricted Application added a project: Ark. · View Herald TranscriptJan 14 2019, 10:14 PM
Restricted Application added a subscriber: kde-utils-devel. · View Herald Transcript
dfaure requested review of this revision.Jan 14 2019, 10:14 PM
This revision is now accepted and ready to land.Jan 15 2019, 4:06 PM
dfaure closed this revision.Jan 15 2019, 6:00 PM