• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

P: URLHandler of plugins do net get called if lightroom classic is not yet running

Explorer ,
Jan 31, 2024 Jan 31, 2024

Copy link to clipboard

Copied

When clicking on a lightroom://plugin.identifier/link when lightroom classic is running, it will call the registered url handler of plugin.identifier. But when lightroom classic is not running and one clicks on the link, lightroom will start up, but not call the url handler.

 

How to reproduce:

 

Create a simple plugin:
Info.lua:

 

-- lightroom://com.example.urlhandler/test
return {
    LrPluginName = "URL Handler",
    VERSION = {
        major = 1,
        minor = 0,
        revision = 0,
        build = "1"
    },
    LrSdkVersion = 11.0,
    platforms = {"Windows", "Mac"},
    LrToolkitIdentifier = "com.example.urlhandler",
    LrForceInitPlugin = true,
    URLHandler = "URLHandler.lua"
}

 

 

URLHandler.lua:

 

local LrDialogs = import "LrDialogs"

return {
    URLHandler = function(url)
        LrDialogs.message("URL Handler", tostring(url), "info")
    end
}

 

 

Make a simple index.html with

 

 

<a href="lightroom://com.example.urlhandler/test">test</a>

 

 

Open in a browser and click the link.

 

Results:

 

  1.  if lightroom classic is currently running, it will call the plugin handler and correctly show 
    sbx_0-1706692431236.png
  2.  if lightroom classic is not currently running, it will start lightroom classic correctly, but not call the url handler.

 

Tested on Windows and MacOS with lightroom versions from 11 - 13.

 

Bug Investigating
TOPICS
SDK

Views

112

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Pinned Reply

Adobe Employee , Feb 20, 2024 Feb 20, 2024

The team has opened a ticket to review this behavior. 

Status Investigating

Votes

Translate

Translate
2 Comments
LEGEND ,
Jan 31, 2024 Jan 31, 2024

Copy link to clipboard

Copied

@Rikk Flohr: Photography, I observe the same problem with my plugins, e.g. the spreadsheets exported by Any Filter > Sort containing lightroom: hyperlinks.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Feb 20, 2024 Feb 20, 2024

Copy link to clipboard

Copied

LATEST

The team has opened a ticket to review this behavior. 

Rikk Flohr - Customer Advocacy: Adobe Photography Products
Status Investigating

Votes

Translate

Translate

Report

Report