Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Camera preview vertical even if the phone is held horizonally

Ouverte
#62 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
android, kotlin
Domaine
mobile

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Kotlin
Étoiles
473
Forks
56
Merge moyen
20 h 48 min
PR mergées (30 j)
9

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de FossifyOrg/Camera

Toutes les issues de FossifyOrg/Camera

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.