Project

General

Profile

Bug #11735

Trashing image file cannot trash the sidecar file on Windows

Added by Peter Budai over 1 year ago. Updated over 1 year ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Lighttable
Target version:
Start date:
09/10/2017
Due date:
% Done:

100%

Affected Version:
git master branch
System:
Windows
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Repro:
1. Select an image which aas been imported earlier
2. Try to trash it
3. The image file itself is properly trashed, however an error message appears that the sidecard file cannot be trashed. Checking the recycle bin the image file is indeed successfully trashed, but the XMP file remains in place.

Error_Message_1.PNG (6.59 KB) Michel PETTE, 09/11/2017 10:50 AM

Associated revisions

Revision 17dce0d1
Added by Tobias Ellinghaus over 1 year ago

Fix #11735: Properly delete XMP files on Windows

Globbing on Windows returns filenames without a path so we have to put
that back on.

History

#1 Updated by Michel PETTE over 1 year ago

I confirm, the sidecar file is not trashed, see attach the message

#2 Updated by Tobias Ellinghaus over 1 year ago

  • % Done changed from 0 to 20
  • Status changed from New to Triaged

#3 Updated by Tobias Ellinghaus over 1 year ago

  • % Done changed from 20 to 100
  • Status changed from Triaged to Fixed

#4 Updated by Roman Lebedev over 1 year ago

  • Target version set to 2.4.0

Also available in: Atom PDF