Skip to content

[Bug]: Incorrect rotation shown in "Edit Image" #5711

@mnalis

Description

@mnalis

Summary

After clicking "Edit Image", picture (always?) seems to be in incorrect orientation (rotated 90 degrees counter-clockwise).

There is related issue #5502, but I'm not sure if that applies?

Steps to reproduce

  1. share picture to Commons app (or in Commons app choose to add picture from gallery)
  2. notice the picture is correctly oriented on main view (in Step 1 of 4: Media Details page)
  3. click Edit Image

Expected behaviour

expect that after clicking Edit Image, image will be shown in the same (correct) orientation that is was shown in step 2. above

Actual behaviour

image is shown rotated 90 degrees CCW.

Device name

Samsung Galaxy S23+

Android version

Android 14 (OneUI 6.1)

Commons app version

5.0.1~af028cbdd (latest F-droid)

Device logs

2024-05-04 21:34:51,674     [DEBUG] [file-logging-thread-1] [UploadMediaDetailAdapter$ViewHolder] : Description language code is: hr
2024-05-04 21:38:13,568     [DEBUG] [file-logging-thread-1] [EditActivity] : Rotation 0
2024-05-04 21:38:13,569     [DEBUG] [file-logging-thread-1] [EditActivity] : new Rotation 90
2024-05-04 21:39:26,319     [DEBUG] [file-logging-thread-1] [LocationServiceManager] : on location changed
2024-05-04 21:39:28,315     [DEBUG] [file-logging-thread-1] [LocationServiceManager] : on location changed
2024-05-04 21:39:29,322     [DEBUG] [file-logging-thread-1] [LocationServiceManager] : on location changed
2024-05-04 21:39:30,316     [DEBUG] [file-logging-thread-1] [LocationServiceManager] : on location changed
2024-05-04 21:39:32,313     [DEBUG] [file-logging-thread-1] [LocationServiceManager] : on location changed
2024-05-04 21:40:24,317     [DEBUG] [file-logging-thread-1] [LocationServiceManager] : on location changed

Screen-shots

small_Screen_Recording_20240504_213904_Commons.mp4

Would you like to work on the issue?

None

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions