
Champion
•
5.5K Messages
•
97.4K Points
Thu, Feb 22, 2018 1:44 AM
Solved
Lightroom Classic: Ctrl + Return in Metadata panel enters a Unicode line separator rather than newline
On Mac, typing Ctrl + Return in a field in the Metadata panel enters the Unicode Line Separator character (U+2028, decimal bytes 226 128 168), rather than a newline character (decimal byte 10 in non-IPTC fields, decimal byte 13 in IPTC fields). This creates obvious problems for people wishing to share photos with apps and Web services that don't understand the Unicode Line Separator character.
Update: Paul below points out that on Mac Alt + Return enters a newline character. (None of this appears to be documented.)
On Windows, typing Ctrl + Enter works correctly, entering a newline character.
Tested on LR 7.2 / Macos 10.13.3 and Windows 10.
For Caption, the workaround is to use the metadata tagset Large Caption and type Return to enter a newline.
For other fields, two workarounds:
- Copy a newline character from a document in TextEdit or some other text editor, and paste it into the metadata field.
- Create a custom metadata tagset similar to the built-in Large Caption that displays the desired metadata fields with the "allow_newlines = true" attribute. Then you can enter newlines by typing the Return key. See the section "Adding custom metadata tagsets" in the Lightroom Classic CC Programmer's Guide. This doesn't require programming per se, just editing some text files, but you it involves a number of steps and lots of reading.
Update: Paul below points out that on Mac Alt + Return enters a newline character. (None of this appears to be documented.)
On Windows, typing Ctrl + Enter works correctly, entering a newline character.
Tested on LR 7.2 / Macos 10.13.3 and Windows 10.
For Caption, the workaround is to use the metadata tagset Large Caption and type Return to enter a newline.
For other fields, two workarounds:
- Copy a newline character from a document in TextEdit or some other text editor, and paste it into the metadata field.
- Create a custom metadata tagset similar to the built-in Large Caption that displays the desired metadata fields with the "allow_newlines = true" attribute. Then you can enter newlines by typing the Return key. See the section "Adding custom metadata tagsets" in the Lightroom Classic CC Programmer's Guide. This doesn't require programming per se, just editing some text files, but you it involves a number of steps and lots of reading.
Problems
•
Updated
3 years ago
3
3
Helpful Widget
How can we improve?
Tags
No tags available
Responses
paul_5245115
27 Messages
•
588 Points
3 years ago
0
dave_baxter_j96s9kye7edtv
1 Message
•
62 Points
3 years ago
EDIT: Thanks for the solution using the long caption, going to give it a try.
Thanks,
Dave
0
0
John_R_Ellis
Champion
•
5.5K Messages
•
97.4K Points
3 years ago
0