Open orthorhombic opened 1 week ago
If we're intent on maintaining the LR import process, we should alter it to use non-deprecated modules.
Regardless of whether the LR import process is deprecated or not, is there a pathway to batch move photos from this deprecated module to the new modules?
no there isn't
Describe the bug
When viewing files that were imported using Lightroom-format XMP files in the darkroom tab, this causes the
module 'crop and rotate
has insane data so it is bypassed for now" error to come up and in some cases switches to an incorrect crop after initially displaying the correct crop. While I see this error in 4.8.1, this seems to be resolved on reverting to 4.8.0. Specifically, it doesn't seem to matter whether the files were imported in either version.Understanding that this module is deprecated and probably expected to be a bit buggy, is there a better way to programmatically go from the crop parameters in an old XMP file to the new modules that replaced it so this error doesn't pop up? Manually switching modules is not feasible since I have many thousands of files.
Specifically I found reference to this error in the following two files: https://github.com/darktable-org/darktable/blob/8395386b5bb0fcb06aa24e6500d7a19619b56d48/src/iop/ashift.c#L1217-L1222 https://github.com/darktable-org/darktable/blob/8395386b5bb0fcb06aa24e6500d7a19619b56d48/src/iop/clipping.c#L922-L926
Steps to reproduce
Expected behavior
darktable should have sane crop/rotate parameters or at least provide more information on what the cause is.
Logfile | Screenshot | Screencast
No obvious errors in the logs (run with
flatpak run org.darktable.Darktable -d common
)Commit
No response
Where did you obtain darktable from?
flatpak
darktable version
4.8.1
What OS are you using?
Linux
What is the version of your OS?
Ubuntu 22.04
Describe your system?
Darktable installed via flatpak Kernel: 6.8.0-40-generic RAM: 96gb Graphics NVidia A2000 8gb
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
A2000 Driver Version: 550.107.02 CUDA Version: 12.4
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
Below is an example of a full XMP sidecar that I used with CR3 files from a Canon R5 I was importing and received errors with: