rename-images: Always append extension - #712
Conversation
|
I tested and...
The change forces our definition of correct on the user whether they want it or not. darktable is about giving the user choices, not enforcing our (darktable's) definition of correct on the user. I could live with adding a preference to let users turn this on if they want it. EDIT: #713 will also help since the user can preview and see the mistake before they make it. |
|
thanks for testing @wpferguson ! To explain my thinking for the choice of always making sure the original extension is appended: If you want I can change it to a checkbox below the pattern-textbox "append original extension"? That'd offer more user choice. But as long as the filename-parsing isn`t more robust and we know of at least one instance where it lead to crashes on startup (darktable-org/darktable#21684) this also offers the freedom to unknowingly make darktable un-startable. Just say the word and I'll get to work :-). |
Partially addresses darktable-org/darktable#21684
This change ensures the file extension (if one is present in the original image) is always appened if the file-extension-variable isn't used.
Also removes an erraneous gps-information-reset comment probably left over from copy-pasting the initial block.