darktable icon indicating copy to clipboard operation
darktable copied to clipboard

Don't block UI when saving XMP sidecar files.

Open rbuchberger opened this issue 3 years ago • 19 comments

Is your feature request related to a problem? Please describe.

When set to save sidecar files on edit, and working with photos saved to a slow location such as a network drive, the UI can become unresponsive for several seconds when applying changes to many photos at once. An example would be applying tags to all photos in a directory.

Setting darktable to never save sidecar files fixes this issue, though then the user must remember to save them manually when finished.

Describe the solution you'd like Perform these operations asynchronously. The UI should always be responsive.

Alternatives

  • Additional option to save XMP sidecars on exit
  • Option to manually save only out-of-date sidecar files
  • (Might already exist, I haven't searched carefully) - CLI method to update XMP sidecar files, which I can run via a nightly cron job.

Additional context

My personal setup has the RAW files saved to an HDD based NAS, but the darktable database is on a local SSD. Not sure how common that is. This is mostly an issue for me when organizing my library - adding & deleting tags, titles, etc. Freezes of a few seconds don't sound bad, but when it happens repeatedly it's easy to get frustrated.

Anyway, thanks a ton for the software! Y'all are doing amazing work :)

rbuchberger avatar Sep 27 '22 12:09 rbuchberger

Duplicate of #5722. I had this on my to-do list, but life has been keeping me from putting in time to work on dt.

ralfbrown avatar Sep 27 '22 14:09 ralfbrown

Ahh, sorry about that. I searched the existing issues pretty carefully but not carefully enough it appears.

rbuchberger avatar Sep 27 '22 14:09 rbuchberger

@ralfbrown: as #5722 is closed, do we keep this one opened or not?

Nilvus avatar Sep 27 '22 17:09 Nilvus

@Nilvus: We should keep this one open. @rbuchberger: You may well have missed the older issue since it was auto-closed. I knew about it because I commented on it.

ralfbrown avatar Sep 28 '22 14:09 ralfbrown

Heh, I missed that I had in fact raised the same thing as a feature request: #8909.

ralfbrown avatar Sep 30 '22 12:09 ralfbrown

This issue did not get any activity in the past 60 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Nov 30 '22 00:11 github-actions[bot]

This issue did not get any activity in the past 60 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

Still an issue, should stay open.

rbuchberger avatar Nov 30 '22 04:11 rbuchberger

This issue did not get any activity in the past 60 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Jan 31 '23 00:01 github-actions[bot]

Still on my to-do list but probably won't get to it for a few more months.

ralfbrown avatar Jan 31 '23 01:01 ralfbrown

I think this is related: When I am editing with a local copy, the UI sometimes hangs for several seconds. This happens frequently. Using Windows Process Explorer, it seems to get hung up when attempting to write the XMP file at the original unavailable location.

craig2112 avatar Mar 01 '23 12:03 craig2112

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar May 01 '23 00:05 github-actions[bot]

Still on my to-do list. Hopefully some time this month.

ralfbrown avatar Aug 04 '23 14:08 ralfbrown

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Oct 05 '23 00:10 github-actions[bot]

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Dec 05 '23 00:12 github-actions[bot]

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Feb 04 '24 00:02 github-actions[bot]

Not stale, still useful

rbuchberger avatar Feb 05 '24 10:02 rbuchberger

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Apr 07 '24 00:04 github-actions[bot]

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Jun 07 '24 00:06 github-actions[bot]

Not stale

rbuchberger avatar Jun 11 '24 15:06 rbuchberger