Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Camera Preview not aligning correctly

未关闭
#12 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

这个 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 小时
30 天内合并 PR
5

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FossifyOrg/Camera 的其他 Issue

查看 FossifyOrg/Camera 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。