Copy link to clipboard
Copied
I am working on a metadata display plugin for Lightroom. The dialog uses a scrolled view with dynamic filtering capability to display the data or a filtered portion of it (see attachment p1.jpg).
When the users scrolls down the list and then decides to enter a filter string, the display may appear empty despite of results found during filtering. Reason is that the results are not visible because they are far above the scrolled position which remains intact (see p2.jpg). Dragging the vertical scroll bar to the top makes the filtered items visible (p3.jpg).
Any thoughts how would I need to modify the filtering process in order to "reset" the scrolled view, eg. the scrollbar positions? I haven't been able to find anything in the SDK doc.
Also, I'm wondering if there is a way to control the scrolling behaviour also by keyboard?
For my implementation you need to drag the scrollbars with the mouse, or use the mouse wheel. No keys.
Many thanks for your suggestions.
Copy link to clipboard
Copied
Unfortunately, the SDK doesn't provide much plugins with much control over scrolled_view() or simple_list(). Those two controls were added late in the evolution of the SDK, right before it appeared that Adobe stopped dedicating a developer to it and significantly ramping back SDK support. In general, the SDK isn't very good with dynamic display of controls.
Copy link to clipboard
Copied
That's too bad. Anyway, thank you for your answer, John!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now