Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Camera Preview not aligning correctly

Đang mở
#12 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
android, kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Kotlin
Star
473
Fork
56
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FossifyOrg/Camera

Tất cả issue của FossifyOrg/Camera

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.