Calculator: The C (Clear) button in the unit converter only deletes one character instead of clearing the input
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 58/100
Hướng nghiên cứu
Start by reading the unit converter FAQ and locating the C button label and its accessibility or explanatory text; the issue does not name source files or tests. The reported behavior is intentional: C deletes one character and a long press resets all fields. Done means the label or wording no longer implies that a tap clears the whole input.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.4.0 (version code 10)
Affected Android/Custom ROM version
Android 14 (API 34)
Affected device model
Android emulator, Pixel 6 profile (1080 x 2400)
How did you install the app?
GitHub releases
Steps to reproduce the bug
- Open the app and go to
Unit converter. - Select
Speedand keep the defaultKilometer per hour -> Mile per hour. - Type
6then0on the number pad. The input shows60and the result shows37.282271534240038. - Tap the
Cbutton (resource idorg.fossify.math:id/btn_clear). - Look at the input field and the result field again, both immediately and after the page settles.
Expected behavior
After tapping C, both the input and the converted result should return to the neutral zero state (0 / 0). If the intended behaviour really is to delete a single character, the button should be a backspace (⌫) rather than being labelled C (Clear) - the label and the behaviour should match, or the wording should be updated so it does not conflict with what users expect from a Clear key.
Actual behavior
With 60 in the input, the result field shows 37.282271534240038. After tapping C, the input only becomes 6 and the result becomes 3.728227153424004 - the key removed the last digit instead of clearing the input. Keeping 60 without tapping C on the same Speed route shows the input and result refreshing normally, so the problem is limited to the clear action.
Screenshots/Screen recordings
https://github.com/user-attachments/assets/691e2f82-5c8c-4078-89ae-3bc30ff16014
Additional information
Package: org.fossify.math
Version: 1.4.0.
The FAQ says the C button removes one character at a time and that long pressing resets all fields, so the button already does what it is meant to. My problem is the label: C reads as Clear, so I expected it to empty the input and was surprised when it only removed the last digit.
- Ngôn ngữ chính
- Kotlin
- Star
- 450
- Fork
- 57
- Merge trung bình
- 14 giờ 59 phút
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FossifyOrg/Calculator
-
Unit converter: Foot vs FeetĐang mởfeature request needs triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
FossifyOrg/Calculator#320 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature request needs triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
FossifyOrg/Calculator#360 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature request needs triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
FossifyOrg/Calculator#325 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature request needs triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
FossifyOrg/Calculator#313 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Rounding errorsĐang mởbug needs triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
FossifyOrg/Calculator#308 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của FossifyOrg/Calculator
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
e2e-failure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
home-assistant/android#7809 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
index-request triaged
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
JetBrains/klibs-io#611 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
移动端下载页实时吞吐与筛选栏滚动层级不一致Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 3 ngày