Lightroom Classic: Ctrl + Return in Metadata panel enters a Unicode line separator rather than newline

  • 4
  • Problem
  • Updated 9 months ago
  • Solved
  • (Edited)
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.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3871 Posts
  • 1023 Reply Likes

Posted 9 months ago

  • 4
Photo of Paul

Paul

  • 27 Posts
  • 12 Reply Likes
Just a thought.  Does Alt+RTturn work?  It does in some apps
Photo of Dave Baxter

Dave Baxter

  • 1 Post
  • 0 Reply Likes
I also have this same problem, sites like IDS convert the Unicode Line Separator into a space, which then makes your caption look terrible.

EDIT: Thanks for the solution using the long caption, going to give it a try.

Thanks,

Dave
(Edited)
Photo of John R. Ellis

John R. Ellis, Champion

  • 3871 Posts
  • 1023 Reply Likes
Paul points out that Alt + Return enters a newline character, just like Ctrl + Return does on Windows.  I'm marking this as Solved. I'll drop a note to Victoria Bampton (Lightroom Queen) suggesting she add this to her comprehensive list of LR shortcuts.