Skip to content

Thumbnail selection should not resize the Viewer window #76

Description

@chammoru

Problem

When selecting an image from the thumbnail browser, the Viewer window changes size according to the selected image. This feels disruptive because simply clicking a thumbnail unexpectedly changes the whole application window layout.

This is related to #69, but this issue tracks the thumbnail-browser-specific flow.

Why this matters

  • Thumbnail navigation should feel like browsing within a stable workspace.
  • The user's focus is disrupted when the window jumps larger or smaller after each thumbnail click.
  • It becomes harder to quickly inspect a folder containing mixed-resolution images.
  • The thumbnail drawer itself may feel unstable if the main window keeps resizing around it.

Expected behavior

Clicking a thumbnail should load the selected image into the current Viewer viewport without changing the outer window size.

Recommended behavior:

  1. Preserve the current Viewer window size when a thumbnail is selected.
  2. Fit the selected image into the existing image area by adjusting zoom / pan.
  3. Keep the thumbnail drawer position and width stable.
  4. Only resize the window when the user explicitly chooses a fit-to-image / auto-resize command or setting.

Reproduction idea

  1. Open Viewer with the thumbnail browser enabled.
  2. Navigate to a folder with images of different resolutions.
  3. Click thumbnails for images with different sizes.
  4. Observe that the Viewer window grows or shrinks depending on the clicked image.

Acceptance criteria

  • Selecting thumbnails no longer changes the outer Viewer window size.
  • Image content is fit into the existing viewport instead.
  • Thumbnail drawer layout remains stable.
  • Any existing auto-resize behavior is either removed from thumbnail navigation or controlled by an explicit user setting.

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