Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Camera preview vertical even if the phone is held horizonally

オープン
#62 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, kotlin
領域
mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Kotlin
スター
473
フォーク
56
平均マージ
2日 7時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FossifyOrg/Camera のほかの issue

FossifyOrg/Camera の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。