Lightroom SDK: selecting ftp preset in any plugin changes it in all the others.

  • 2
  • Problem
  • Updated 6 years ago
When I select an ftp preset in one plugin, that ftp preset becomes selected in the other plugins.

For example: I have a plugin named "Plugin Generator", and when I select an ftp preset there, it becomes the selected ftp preset in my "Tree Sync Publishing Service".

Don't know why there would be any cross-over - doesn't seem right at all...

Its like they are sharing the same view factory, and the selection index is being kept in the view factory, or something, instead of being kept with the plugin properties.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes

Posted 7 years ago

  • 2
Photo of jdv

jdv, Champion

  • 728 Posts
  • 55 Reply Likes
Presets are catalogue global. I'm pretty sure just creating one with the SDK functions doesn't make it plugin specific.

Having the selection catalogue-wide is probably the wrong thing to do.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 371 Reply Likes
The problem is only with ftp settings (preset list selection). All other properties and preferences are being maintained on a per plugin basis, as expected.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes
I understand that the FTP preset values themselves should be shared amongst plugins - since the proper settings are governed by the server/user-account, not the plugin using the preset. However, which preset is selected should definitely *NOT* be shared, since the correct preset selection very much depends on the plugin. As it stands, I have to double-check/change the FTP preset selection before every use of every plugin that makes use of FTP settings - back and forth and back and forth every time I use them - not good, not right...
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes
This is driving me batty! - can anybody help?
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes
Is this how it's supposed to work? I mean, is this how it works for you too? Do you understand what I mean? (I change ftp preset selected (ftp settings dropdown selection) in one place and it changes everywhere, even if I don't save the settings for the export/publish/whatever...) It's like there is only one global value storing the ftp-preset selected which is shared throughout all Lightroom plugins. That can't be right, can it?

???????????
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes
Here's an example:

Right now, there are two plugins, both having the same ftp settings selected (asdf):

RC Tree Sync Publisher:


RC Photooey Publisher:


Now, I'll change the selection in Tree Sync Publisher to qwerty:


And, here is what RC Photooey Publisher looks like, without me doing anything else:


As you can see, the settings selected in Photooey Publisher changed when I selected different settings in Tree Sync Publisher. This happens whether I save the settings in Tree Sync Publisher or not.

This phenomenon occurs with other vendors plugins too, not just mine.

!!!!!!!!!????????FFFFFF

R
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes
So, I tried deleting my preferences and opening Lightroom with a new catalog. The previously created FTP settings are still there, and the same phenomenon occurs.

So, I guess the ftp settings for each preset are being stored in the catalog. But, they are also replicated in the preferences. However, the replicated ftp preset values in the preferences, seem to be inaccessible - only the ones in the catalog are available anywhere in the UI. Hmmm.......

And, which ftp preset is selected seems to be stored in catalog too and reused for every plugin (but is *not* stored in preferences).

Will someone please confirm they do or don't see the same behavior as I've described in this thread (see post above)?
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes
UPDATE @2012-05-02:

After living without my previous ftp presets (over the course of several Lightroom restarts), since I deleted them and recreated others to replace them, my previous presets have magically reappeared, and the recently created replacements have disappeared.