Skip to main content
Inspiring
May 11, 2018 8:06 AM UTC
Open for Voting

P: LrView edit_field placeholder_string broken in Lightroom Classic CC

Lightroom 7.x broke the ability to show placeholder_string in text input fields created by LrView.osFactory():edit_field and password_field.

This is visible e.g. in Hard drive publish service description fields, first Lightroom Classic CC 7.3.1 and then Lightroom 5.7.1 (sadly I couldnt run 6.14 concurrently with latest release, all I got was error 1 on startup) 

LR 7.3.1:

LR 5.7.1


As you can see, the placeholder string "Untitled export" is not visible in Classic CC, and so are not any other placeholder_strings.  I think this used to work fine in 6.x, and I've used for example login/password fields in my plugins.  Now the users are pretty confused because all they see is empty text field.

Tested on Lightroom 7.3.1, macOS 10.13.4.  Sorry, didn't try it on Windows.

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Inspiring
Oct 16, 2018 6:46 PM UTC
Lightroom 8, still no placeholders. I'm giving up and adding static_text.
Translate
Inspiring
Aug 23, 2018 5:02 PM UTC
LR 7.5 on Mac, placeholder still doesn't work.
Translate
Legend
May 11, 2018 7:26 PM UTC
Thanks. I've asked engineering to investigate
Translate
johnrellis
Legend
May 11, 2018 3:09 PM UTC
Here's a small script that shows the problem:
local LrDialogs = import 'LrDialogs'
local LrView = import 'LrView'
local f = LrView.osFactory()
local result = LrDialogs.presentModalDialog {title = "Placeholder", 
    contents = f:edit_field {placeholder_string = "My placeholder"}}
This script works on Macos 10.13.4 / LR 2015.14 (6.14).  

This script doesn't work on Macos 10.13.4 / LR 7.2, LR 7.3.1;  Windows 10 / LR 7.3.1.
Translate