Skip to content

Explicitly support or reject multiple selected photos #14

Description

@LostOne1000

Priority

Low

Summary

The menu item is enabled when photos are selected, and the code retrieves all target photos, but only the first selected photo is processed.

Relevant code

local selectedPhotos =
    catalog:getTargetPhotos()

local selectedPhoto =
    selectedPhotos[1]

The remaining selected photos are silently ignored.

Problem

A user selecting multiple photos may reasonably expect batch behavior. Silent first-photo-only behavior can cause confusion because no warning or selection count is shown.

Expected behavior

The plug-in should explicitly choose one supported behavior.

Option A — Single-photo workflow

  • Detect multiple selected photos.
  • Clearly state that only the active or first photo will be processed.
  • Prefer Lightroom’s active target photo when appropriate.

Option B — Batch workflow

  • Generate metadata for every selected photo.
  • Provide progress reporting.
  • Define cancellation behavior.
  • Avoid opening a separate modal workflow for every image.
  • Handle partial failures without losing successful results.

Recommendation

Implement explicit single-photo behavior first. Track full batch processing as a later feature unless batch processing is already part of the intended roadmap.

Acceptance criteria

For single-photo implementation:

  • Multiple selection is detected.
  • The user is clearly informed which photo will be processed.
  • No selected photos are silently ignored.
  • Single-photo behavior remains unchanged.

Or, for batch implementation:

  • Every selected photo is processed.
  • Progress and failures are reported.
  • Successful metadata is preserved when another image fails.
  • The user can safely cancel remaining work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions