Bug: Notification badge count persists after all notifications cleared (Windows)
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
Description
The Copilot desktop app (Windows) shows a notification badge count on the system tray/taskbar icon even when there are no outstanding notifications, pending plan approvals, or inbox entries.
Steps to Reproduce
- Use the Copilot desktop app normally
- Clear/read all notifications and pending items
- Observe the app icon still shows a numeric badge (e.g. '1' or '2')
Expected Behavior
The badge count should be 0 (no badge shown) when there are no unread notifications or pending items.
Actual Behavior
The badge persists with a stale count. It does not decrement to zero even after:
- Viewing all notifications
- Confirming inbox is empty (0 entries in session database)
- Reinstalling the app
- Clearing all caches
- App self-updating the database
Environment
- OS: Windows
- Copilot App Version: 1.0.78-2
- The issue persists across reinstalls and cache clears
Additional Context
This appears to be a state management issue where the badge count is not properly synced with the actual notification state.
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.
Hướng nghiên cứu
Chưa xác định được tệp, bài kiểm thử hoặc entry point nào. Hãy tái hiện badge cũ trên Windows, sau đó theo dõi cách trạng thái thông báo và mục đang chờ cập nhật số lượng trên khay hệ thống hoặc thanh tác vụ; hoàn tất khi badge về 0 sau khi xóa thông báo và các mục đang chờ, kể cả sau khi cài đặt lại và trong các tình huống xóa cache.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- desktop
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 50/100