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

Camera Preview not aligning correctly

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

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

評価

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

調査の方向性

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.

索引モデルが 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

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
主要言語
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 を短くまとめたダイジェスト。