Skip to content

Second photo changes orientation after saving when sketches are added #4149

@IvaKuklica

Description

@IvaKuklica

Description
When adding the first and second photo from the gallery and applying sketches to both, the second photo changes its orientation after saving. The first photo retains its correct orientation, but the second one appears rotated.

Environment
staging

Application (+ app version, build, operating system)
App: Mergin Maps Mobile (Android)
App version: 2025.6.0 (build 714011)
Device/OS: Samsung Galaxy A53 5G, Android 15
Test project: tester-ws-1/test_photo-sketches

Steps to reproduce

  1. In the mobile app open project tester-ws-1/test_photo-sketches.
  2. Create a new feature in layer point_photo_layer;
  3. Add Photo A and Photo B from the gallery.
  4. Enter sketch mode; add a sketch; save sketch.
  5. Observe that the orientation of photos changed.

Actual results
Second photo changes orientation after saving when sketches are added

Expected results
Both photos should maintain their original orientation after saving when sketches are added.

Screen_Recording_20251013_151833.mp4

Metadata

Metadata

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions