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

Camera preview vertical even if the phone is held horizonally

Abierto
#62 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/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 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.

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

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

Lenguaje dominante
Kotlin
Estrellas
473
Forks
56
Merge medio
1 d 12 h
PR fusionados (30 d)
8

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.