OpenCamera messes up portrait/landscape orientation in specific conditions
- /e/ version: 0.23 and before
- Device model(s): OP7, FP3, S10
- Device rooted: no
Summary
OpenCamera messes up with portrait/landscape mode in specific conditions
The problem
Typical scenario case is: I want to take a picture of another smartphone that lies down a table.
- start Camera with the device in full horizontal position (screen must be approximately perpendicular to the gravity force), with the intention to take in portrait mode. Check that the orientation screen/layout indicates that it's actually portrait mode (with some significant angle it can switch to lanscape mode)
- take a picture
- in Gallery, the picture shows up in landscape mode, which is unexpected
Note: if the camera is started before the device is positioned in full horizontal position, this problem doesn't happen.
This doesn't happen if the device is not positioned in full horizontal position.
What is the current behavior?
Wrong picture orientation.
What is the expected correct behavior?
Correct picture orientation.
Technical informations
Relevant logs (adb logcat
)
Relevant screenshots
Solutions
Workaround
Possible fixes
Checklist
-
License -
Translations -
Documentation -
Test plan
Edited by Gaël Duval