microsoft / microsoft/WindowsAppSDK

After waking up from sleep mode, there is no response when clicking toast for the first time

Open
#5,876 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Notifications needs-triage
Dominant language
C++
Stars
4.7k
Forks
471
Avg merge
3d 13h
Merged PRs (30d)
28

Description

### Describe the bug

When the toast pop-up window is clicked for the first time wake up from sleep mode, there is no callback for the ‘ToastNotificationManagerCompat.OnActivated’ event.

### Steps to reproduce the bug

1. Sleep or hibernation
2. wake-up
3. Click on the toast pop-up to view.

### Expected behavior

_No response_

### Screenshots

_No response_

### NuGet package version

None

### Packaging type

_No response_

### Windows version

_No response_

### IDE

_No response_

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a Windows App SDK desktop app: sleep or hibernate, wake the device, and click the toast for the first time. Trace the toast activation path and determine why ToastNotificationManagerCompat.OnActivated does not fire; done means the first post-wake click invokes the callback.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.