Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
Qt Creator 12.0.0-rc1, Qt Creator 14.0.2
-
None
-
-
8a249c93e (master)
Description
Saving files creates <name>~XXXXX.TMP files next to the saved file that are in some system configurations not deleted. (Closing Qt Creator deletes the files.)
Debugging results:
SaveFile creates a temporary file (not the files that this bug report is about), and then uses the Windows API "ReplaceFile" to move the temporary file to the actual file, to achieve atomic write. The "ReplaceFile" API itself creates the offending temporary file, and on some system configurations they do not get deleted.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-29884 Can't remove a folder in Qt Creators File System Panel after changing a file in it
-
- Closed
-
-
QTCREATORBUG-30088 Qt Creator places temporary editor files next to my source files
-
- Closed
-
-
QTCREATORBUG-31193 Automatically generate ~RF files
-
- Closed
-