Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Camera Preview not aligning correctly

Abierto
#12 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
android, kotlin
Área
mobile

Línea de trabajo

The payload names no source files, so start by finding where the app sets the camera preview size and aspect ratio. Reproduce on a 16:9 Android device or emulator, switch the preview between 4:3, 1:1, 16:9 and full, and compare how each one fits the screen borders. Done means 4:3 and 1:1 previews fill the screen as 16:9 and full already do, and the fix is confirmed on a device with the reporter's screen ratio.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug device/software specific needs reproduction
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

5.7.2

Affected Android/Custom ROM version

LineageOS 20

Affected device model

Nokia 6.1 2018 PL2 TA-1043

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. have a Nokia 6.1 2018 with LineageOS 20 (1920:1080 screen ratio, so 16:9)
  2. install Simple Camera 5.7.2 from F-Droid repo
  3. open the app and see the bug on 4:3 and 1:1 settings
Expected behavior
  1. Camera preview aligning to screen borders
  2. Camera preview form ratio matching the configured value
Actual behavior
  1. Preview of 4:3 and 1:1 ratio are incorrectly displayed, something seems to prevent the preview from aligning to the border and using the space correctly
  2. 16:9 and full work as expected (though they logically are the same on my 16:9 screen)
Screenshots/Screen recordings
Screenshot_20240218-205454_Camera Screenshot_20240218-205502_Camera
Additional information
  • taking pictures works fine
  • device is rooted via Magisk
Lenguaje dominante
Kotlin
Estrellas
473
Forks
56
Merge medio
2 d 7 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FossifyOrg/Camera

Todos los issues de FossifyOrg/Camera

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.