Bugs found while taking v0.14.2 screenshots on an emulator (incl. data lost after first restart)
Maintainer thường phản hồi trong vòng 2 ngày
Một pull request liên quan đã được merge.
Đá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
- 45/100
Hướng nghiên cứu
This is a bundle of eight items; some already have PRs (#325 open, #326 merged) and item 1 is assigned, so check the thread first and pick a self-contained sub-item (5 dark mode, 6 back-swipe, or 4 /week/<date> snapping). For item 1, reproduce with fresh install → onboarding → POST bucket/events → force-stop → reopen and inspect /api/0/buckets/, focusing on where the DB is first opened/committed relative to first launch and WAL checkpointing. For item 2, start at the blocking thread start inside MainActivity.onResume and move it off the main thread. Done per item means its stated checkbox condition passes on a fresh emulator run.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Found while scripting marketing screenshots of v0.14.2 (release APK, universal) on an Android 16 emulator (AVD on CT 102, fresh install each run, demo data imported through the app's REST API at localhost:5600 with the API key from the app's config.toml).
@TimeToBuildBob this one is yours (assigned by Erik). Item 1 first; it may affect real users.
- 1. Data written right after a fresh install is lost on the next app restart. Events and settings imported via the API vanished after the first app restart in the first 1–2 attempts of all 3 fresh runs; once the device had settled, imports survived restarts. Log buffer had rotated, so no root cause yet. Suspects: DB opened/committed before WAL checkpoint and the process killed, or the DB being recreated on first real start. Repro: fresh install → finish onboarding → POST a bucket + events → force-stop app → reopen → check
/api/0/buckets/. Done when imported data survives a force-stop immediately after first launch. - 2. ANR on a fresh boot: "ActivityWatch isn't responding", main thread stuck in
MainActivity.onResumewhile starting a thread. Move the blocking work off the main thread. - 3. Desktop-only tabs on Android: the bundled web UI shows the Window/Browser/Editor tabs, which only say "missing data from a required watcher" on a phone. Default Android to the Android views.
- 4. Week view starts on the given date, not on Monday (
/week/<date>), probably the same root cause as ActivityWatch/aw-webui#1058 item 1 (period not snapped to its start). - 5. Native sync settings screen ignores dark mode.
- 6. With gesture navigation, back-swipe finishes MainActivity instead of opening the drawer or going back in the WebView.
- 7. Fresh install shows "The saved aw-notify setting has an unsupported format" in Settings: already fixed upstream in ActivityWatch/aw-webui#1043, needs the web UI bump.
- 8. Multi-device (
@all, or several hosts) returns 0 s in the v0.14.2 web UI even with synced desktop buckets present; check after the web UI bump.
Screenshot script (re-runnable, ~8 min): CT 102 /root/aw-screenshots/android_screenshots.py --wipe.
- Ngôn ngữ chính
- Kotlin
- Star
- 279
- Fork
- 63
- Merge trung bình
- 4 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 57
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 ActivityWatch/aw-android
-
Web watcher: add support for Brave (`com.brave.browser` missing from KNOWN_BROWSER_PACKAGES)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ActivityWatch/aw-android#306 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
AuthSettingsActivity crashes on launch (InflateException: Material attributes under AppCompat theme)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
ActivityWatch/aw-android#210 · 11 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 54/100
ActivityWatch/aw-android#378 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Incorrect hostname in `/api/0/info` breaks "this device" badge in Web UICó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
ActivityWatch/aw-android#368 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Correctness and performance issues in watchers, sync and workersCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
ActivityWatch/aw-android#333 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của ActivityWatch/aw-android
Issue tương tự
-
afk-ok area:data-quality importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
enorm-labs/event-junkie#3767 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Resource]: CrewforthĐang mởresource-submission validation-passed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
hesreallyhim/awesome-claude-code#3201 · 1 bình luận ·
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 66/100
software-mansion/starknet-jvm#641 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
leboncoin/spark-android#2342 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The Voraton URL has been changedCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởBug Domain changed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
keiyoushi/extensions-source#20257 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày