Front Camera Unusable
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 22/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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!
- Dominant language
- Kotlin
- Stars
- 473
- Forks
- 56
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FossifyOrg/Camera
-
feature request needs triage
Difficulty 4/5 3-5 days Newbie friendliness 45/100
FossifyOrg/Camera#347 ·
-
feature request needs triage
Difficulty 5/5 Over a week Newbie friendliness 35/100
FossifyOrg/Camera#346 · 1 comment ·
-
bug needs triage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
FossifyOrg/Camera#339 · 1 comment ·
-
bug needs triage
Difficulty 4/5 3-5 days Newbie friendliness 25/100
FossifyOrg/Camera#338 ·
-
feature request needs triage
Difficulty 5/5 Over a week Newbie friendliness 30/100
FossifyOrg/Camera#335 ·
All issues in FossifyOrg/Camera
Similar issues
-
Default book icon displayed while loadingPossibly taken @Bhaskar-Guthula-137 claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
kiwix/kiwix-android#5194 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jellyfin/jellyfin-androidtv#5885 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 73/100
tortuvshin/open-apps#377 ·
Maintainers usually reply within 1 day
-
contributor: external needs review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
supabase-community/supabase-kt#1413 ·
Maintainers usually reply within 5 days