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

Question(s) on SDK - LRView, viewFactory:scrolled_view( args )

Participant ,
Aug 27, 2023 Aug 27, 2023

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.

TOPICS
SDK
536
Translate
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
LEGEND ,
Aug 27, 2023 Aug 27, 2023

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.

Translate
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
Participant ,
Aug 27, 2023 Aug 27, 2023
LATEST

That's too bad. Anyway, thank you for your answer, John!

Translate
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