Bug: Notification badge count persists after all notifications cleared (Windows)
オープン
まだ誰も着手していません。
triage
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイル、テスト、エントリーポイントは特定されていません。Windows で古い badge を再現し、通知と保留中の項目の状態がトレイまたはタスクバーのカウントをどのように更新するかを追跡してください。通知と保留中の項目をクリアしたときに badge がゼロになれば完了です。再インストール後やキャッシュクリアのシナリオも含みます。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 50/100