Lightroom: Disallow improper plugin folder selection when Adding a plugin using the Plugin Manager.

  • 9
  • Idea
  • Updated 5 years ago
  • (Edited)
Although the prompt clearly states:

"Please select a folder whose name ends with ".lrplugin".

Many people make the mistake of selecting the containing folder instead (or think they have to add sibling folders too...). And the error given by Lightroom when this happens is:

"An error occurred while attempting to load this plugin" - and then the plugin add dialog box is aborted - very misleading.

I suggest:
- Do not allow users to select folders that do not end in ".lrdevplugin" or ".lrplugin", or at least
change the error message to read:

"The folder you have selected is not a plugin - only plugin folders ending in ".lrplugin" or ".lrdevplugin" may be added". And offer the plugin add dialog box again after error - user can always cancel to give up...

Rob
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes

Posted 7 years ago

  • 9
Photo of Photographe

Photographe

  • 243 Posts
  • 31 Reply Likes
Anything that helps plugins operate better is a plus.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Also, consider checking for Info.lua in the .lr(dev)plugin folder, in case user has something like:


PhotoshopDotCom.lrplugin
PhotoshopDotCom_lrplugin
PhotoshopDotCom.lrplugin
Info.lua
...


If no Info.lua, then just open the folder (instead of trying to add) so user continues inward...
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
To forum admin: this is a Lightroom issue, *not* a Lightroom SDK issue - please amend title.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Adobe - please, please, please fix this. It happens all the time: clue-less users select the wrong folder, get an error message, then assume the plugin is broken, or Lightroom is flaky, or figure plugins are just too hard to use...
Photo of John R. Ellis

John R. Ellis, Champion

  • 3697 Posts
  • 968 Reply Likes
On Mac OS, one confusing factor is that .lrplugin folders show in the Finder and standard dialogs as Mac packages, not as folders. So the prompt "Please select a folder whose name ends with .lrplugin" is confusing, since a package doesn't look like a folder in the Mac user interface.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Another idea: drag n' drop plugin installation.

Again - preferrably with enough intelligence to keep looking in folders until a proper one with a Info.lua file is found - so even if user drops a parent folder it still works.

Also, an intelligible message upon failure would be a nice touch, e.g. in case user tries to drop an unzipped file.. (same goes for non drag-n-drop installation).
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Here's an excerpt from an email I received recently - this happens a lot:

"when I tried to add the plugin in LR, LR simply said there was an error while trying to add the plugin."

Problem was either:
* user attempted to install without unzipping (the least likely case)
* user selected the wrong folder (happens all the time).

Again, some simple checking would remedy (see previous post(s)).

Rob