Skip to content

Deleting a virgin duplicate with XMP creation 'after edit' triggers trashing error #22160

Description

@Thanatomanic

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

If XMP's are only created after an edit (set in preference), deleting a virgin duplicate of an image triggers a trashing error instead.

Steps to reproduce

  1. Set preference to create an XMP after edit
  2. Create a virgin duplicate of a file
  3. Delete the duplicate
  4. A dialog pops up to confirm deletion, press Yes
  5. A second dialog pops up with a trashing error (leaving the user confused)

Expected behavior

If there is no XMP yet, the duplicate deletion should not try to delete it

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

current master

What OS are you using?

Windows

What is the version of your OS?

Windows 11 Pro

Describe your system

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions