Front Camera Unusable
还没有人认领这个 Issue。
评估
调研方向
The payload names no source files, so start by finding the camera-switching code path in the Kotlin sources and reproducing the NullPointerException on a device or emulator with a front camera. The report's logcat lines and the 'Switching camera failed' message are the search terms. Done means switching to the front camera no longer throws, or the failure is handled with a clear message. Expect device-specific Camera2 behaviour, so confirm the fix on a Samsung Galaxy A22 or a similar device.
由索引模型根据 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.5.0
Affected Android/Custom ROM version
Android 13
Affected device model
Samsung Galaxy A22 (SM-A225F)
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
Hello!
- Launch the app.
- Flip de camera to watch with the main camera.
- Flip another time to try to watch with the front camera.
Expected behavior
I would like to use my front camera with Fossify Camera.
Actual behavior
At step 1. A first error message occurres multipe times "Error: java.lang.NullPointerException" and the camera shows only a black screen, then another error message comes up "An error occurred accessing the camera".
At step 3. A little freeze comes up and the main camera still here but with this error "Switching camera failed".
Screenshots/Screen recordings
https://github.com/user-attachments/assets/8b978389-1400-44a5-8c8c-645c4c34eb73
Additional information
Thank you for everything you make!
- 主要语言
- 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 小时 新手友好度 83/100
Kotlin/kotlin-lsp#288 ·
-
needs-triage
难度 2/5 1-3 小时 新手友好度 76/100
chrisbanes/haze#1536 ·
维护者通常 1 天内回复
-
Cassiopeia drops the `präsentiert von` credit printed in the event body可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭afk-ok area:data-quality importer size:S
难度 2/5 1-3 小时 新手友好度 77/100
enorm-labs/event-junkie#3166 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 84/100
rajpreetcodes/Skills_MCP_Server#25 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
com-lihaoyi/mill#7776 ·
维护者通常 1 天内回复