Camera preview vertical even if the phone is held horizonally
还没有人认领这个 Issue。
评估
调研方向
The payload names no source file, so start by searching the Kotlin code for where the camera preview's orientation or rotation is set, and check how it differs between photo and video modes. The bug depends on a specific Samsung Galaxy S5 and a custom ROM, so an emulator may not reproduce it, and the maintainers may need a device to verify a fix. Done means the preview stays aligned with the device orientation in both modes after the tilt sequence in the steps.
由索引模型根据 Issue 内容生成。
描述
Checklist
- I can reproduce the bug with the latest version given here.
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected app version
1.0.1
Affected Android/Custom ROM version
Divestos 18.1
Affected device model
Samsung Galaxy S5
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
On my Samsung S5, the camera preview does strange things: When you flip the phone to horizontal, the preview suddenly switches to vertical, so you'd have to bend your head sideways to see the motive in its correct alignment.
If you click on "video" the preview switches to landscape, as it should be. But tilt the phone to vertical and back, and the problem reappears.
Now switch to photo mode: Problem is fixed, preview is as it should be. Tilt the phone to vertical and back to horizontal, and the problem is there again.
Repeat.
Expected behavior
Obvioulsy, when you hold the phone horizontally, you expect the phone to show a horizontal preview.
Actual behavior
The photos made when holding the phone horizontally are actually landscape, so that's how it should be. It's just the preview that's broken. Tried to play with the available option but found nothing that fixed it.
Screenshots/Screen recordings
No response
Additional information
No response
- 主要语言
- Kotlin
- 星标
- 473
- 派生
- 56
- 平均合并
- 2 天 7 小时
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FossifyOrg/Camera 的其他 Issue
-
feature request needs triage
难度 4/5 3-5 天 新手友好度 45/100
FossifyOrg/Camera#347 ·
-
feature request needs triage
难度 5/5 一周以上 新手友好度 35/100
FossifyOrg/Camera#346 · 1 条评论 ·
-
bug needs triage
难度 4/5 3-5 天 新手友好度 48/100
FossifyOrg/Camera#339 · 1 条评论 ·
-
bug needs triage
难度 4/5 3-5 天 新手友好度 25/100
FossifyOrg/Camera#338 ·
-
feature request needs triage
难度 5/5 一周以上 新手友好度 30/100
FossifyOrg/Camera#335 ·
查看 FossifyOrg/Camera 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
damontecres/Wholphin#2069 ·
维护者通常 1 天内回复
-
Android (vision-camera-location): HybridLocationManager never quits its HandlerThread on dispose未关闭
难度 2/5 1-3 小时 新手友好度 74/100
margelo/react-native-vision-camera#4217 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
saisaharsh3/Leftovers#13 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 67/100
navikt/esyfo-narmesteleder#700 ·
维护者通常 1 天内回复
-
backend maintenance
难度 2/5 1-3 小时 新手友好度 68/100
digitalfabrik/entitlementcard#3183 ·
维护者通常 7 天内回复