Bug report #20402

Temporary files not deleted upon closing

Added by Andrea Giudiceandrea almost 2 years ago. Updated over 1 year ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
Affected QGIS version:3.7(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:28222

Description

On Windows 7 64 bit a temporary folder (name like QGIS3-pIVhju) and a temporary file (name like QGIS3.FVdPpz) are created in the user temp directory (usually C:\Users\...\AppData\Local\Temp) upon every start of QGIS.
When QGIS is closed, the temporary folder and file are not deleted from the temp directory.

The same happens when crrsync.exe is executed after the install of a new QGIS version (crssync-vYfrXP - crssync.pVouJf)

[ https://trac.osgeo.org/osgeo4w/ticket/583 ]


Related issues

Duplicated by QGIS Application - Bug report #21292: Qgis 3 temporary data stay in /tmp even if Qgis is closed Closed 2019-02-16

Associated revisions

Revision b141349c
Added by Jürgen Fischer over 1 year ago

fix removal of temporary directories

Revision 9820e6b2
Added by Nyall Dawson over 1 year ago

Revert "fix removal of temporary directories"

This reverts commit b141349c90be91f191f612b7e2a349adde3c6349, which
causes crashes in almost every unit test.

Revision 88513284
Added by Jürgen Fischer over 1 year ago

fix removal of temporary directories (fixes #21292)

History

#1 Updated by Andrea Giudiceandrea almost 2 years ago

  • Operating System set to Windows

#2 Updated by Giovanni Manghi almost 2 years ago

  • Category changed from Unknown to Windows Package

#3 Updated by Jürgen Fischer almost 2 years ago

  • Category changed from Windows Package to Unknown
  • Operating System deleted (Windows)

On Linux the temporary files are in /tmp - otherwise the same issue.

#4 Updated by Andrea Giudiceandrea over 1 year ago

  • Duplicated by Bug report #21292: Qgis 3 temporary data stay in /tmp even if Qgis is closed added

#5 Updated by Andrea Giudiceandrea over 1 year ago

  • Affected QGIS version changed from 3.4.1 to 3.4.4

Confirmed in QGIS 3.4.4 and QGIS master (3.5 407adc761e)

#6 Updated by Andrea Giudiceandrea over 1 year ago

  • Description updated (diff)

#7 Updated by Giovanni Manghi over 1 year ago

  • Affected QGIS version changed from 3.4.4 to 3.5(master)

#8 Updated by Andrea Giudiceandrea over 1 year ago

  • Affected QGIS version changed from 3.5(master) to 3.7(master)

#9 Updated by Jürgen Fischer over 1 year ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Also available in: Atom PDF