Photo viewer crops images instead of fitting them to the screen #54

Closed
opened 2026-07-24 19:36:19 +02:00 by cloudbot · 0 comments
Collaborator

What happened

In the entry detail/photo viewer, images are cropped to fill the view rather than being shown in full.

Expected behavior

Images should scale to fit entirely within the screen/container (letterboxed if the aspect ratio doesn't match), so the full image is always visible — no cropping.

Steps to reproduce

  1. Open a logbook entry that has an attached photo
  2. Open the photo in the detail/photo viewer
  3. Observe that parts of the image are cropped off instead of the whole image being visible

Severity

Always — blocking, since parts of the image content are not visible to the user.

Additional context

Likely a ContentScale.Crop (or equivalent) being used where ContentScale.Fit is needed.

## What happened In the entry detail/photo viewer, images are cropped to fill the view rather than being shown in full. ## Expected behavior Images should scale to fit entirely within the screen/container (letterboxed if the aspect ratio doesn't match), so the full image is always visible — no cropping. ## Steps to reproduce 1. Open a logbook entry that has an attached photo 2. Open the photo in the detail/photo viewer 3. Observe that parts of the image are cropped off instead of the whole image being visible ## Severity Always — blocking, since parts of the image content are not visible to the user. ## Additional context Likely a `ContentScale.Crop` (or equivalent) being used where `ContentScale.Fit` is needed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
utilities/Logbook#54
No description provided.